Skip to content

Commit

Permalink
The target list can now have comments starting with #.
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Lundberg committed Mar 25, 2013
1 parent 3b725c1 commit 0b389e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion producers/nmap_services_py/nmap_services_py.py
Expand Up @@ -171,7 +171,7 @@ def main():
elif args.list:
for target in args.list:
target = target.strip()
if target:
if target and not target.startwidth('#'):
scanners.append(scan(target, nmap_arguments, output_arguments))
# Wait for the scanners to finish
while scanners:
Expand Down

0 comments on commit 0b389e3

Please sign in to comment.