We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aa1c32 commit adf8525Copy full SHA for adf8525
bugscanx/modules/scanners/host_scanner.py
@@ -9,11 +9,7 @@ def get_cidr_ranges_from_input(cidr_input):
9
10
11
def get_common_inputs(input_source):
12
- if isinstance(input_source, str) and '/' in input_source:
13
- first_cidr = input_source.split(',')[0].strip()
14
- default_filename = f"result_{first_cidr.replace('/', '-')}.txt"
15
- else:
16
- default_filename = f"result_{os.path.basename(str(input_source))}"
+ default_filename = "results.txt"
17
output = get_input(
18
"Enter output filename",
19
default=default_filename,
0 commit comments