Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
Build 166 - Fix for issue #82. Changed hardcoded nmap -N to -A for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
sethsec committed May 2, 2019
1 parent 4beb845 commit dfd4588
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/nmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ def nmap_scan_subdomain_host(vhost,workspace,simulation,output_base_dir,config_f
cmd_name = "nmap_tcp_scan"
try:
if not simulation:
populated_command = "nmap " + vhost + config_nmap_options + " -oN " + output_file
populated_command = "nmap " + vhost + config_nmap_options + " -oA " + output_file
else:
populated_command = "#nmap " + vhost + config_nmap_options + " -oN " + output_file
populated_command = "#nmap " + vhost + config_nmap_options + " -oA " + output_file
except TypeError:
print("[!] Error: In the config file, there needs to be one, and only one, enabled tcp_scan command in the nmap_commands section.")
print("[!] This determines what ports to scan.")
Expand Down

0 comments on commit dfd4588

Please sign in to comment.