You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The nmap commands used by a services scan are currently housed within ./reconnoitre/service_scan.py, at time of raising issue on lines 15 (quickscan) and 28/31 (long UDP/TCP scans with DNS servers found), 37,40 (UDP/TCP no DNS found).
Ideally, these should be moved into config.json and the hardcoding removed to allow users to more easily change the commands to something more fit for their purpose.
This shouldn't conflict with the code in write_recommendations() within the same file as this code is specifically referencing to the services object:
for entry in j["services"][service]["output"]:
f.write(" [*] " + entry["description"] + "\n")
for cmd in entry["commands"]:
f.write(
(" [=] " + cmd + "\n") % {"ip": ip_address, "port": port, "outputdir": outputdir})
The text was updated successfully, but these errors were encountered:
The nmap commands used by a services scan are currently housed within ./reconnoitre/service_scan.py, at time of raising issue on lines 15 (quickscan) and 28/31 (long UDP/TCP scans with DNS servers found), 37,40 (UDP/TCP no DNS found).
In long form:
Ideally, these should be moved into config.json and the hardcoding removed to allow users to more easily change the commands to something more fit for their purpose.
This shouldn't conflict with the code in write_recommendations() within the same file as this code is specifically referencing to the services object:
The text was updated successfully, but these errors were encountered: