Skip to content

Commit d47766a

Browse files
authored
Cleanup DEBUG print statements
1 parent 6040b36 commit d47766a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

reconnoitre/file_helper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,19 @@ def load_targets(target_hosts, output_directory, quiet):
1919
else:
2020
return output_directory + "/targets.txt"
2121

22+
2223
def expand_targets(target_hosts, output_directory):
2324
parts = target_hosts.split(".")
2425
target_list= []
25-
print(parts)
26+
2627
for part in parts:
2728
if "-" in part:
2829
iprange = part.split("-")
2930
print(iprange)
31+
3032
for i in range(int(iprange[0]), int(iprange[1])):
3133
target_list.append(parts[0]+"."+parts[1]+"."+parts[2]+"."+str(i))
32-
print(target_list)
34+
3335
with open(output_directory + "/targets.txt", "w") as targets:
3436
for target in target_list:
3537
targets.write("%s\n" % target)

0 commit comments

Comments
 (0)