Skip to content
Snippets Groups Projects
Commit 0687e58f authored by Zitnik, Anze's avatar Zitnik, Anze
Browse files

Fixing a stupid mistake in configure.py

parent 894947f5
No related branches found
No related tags found
No related merge requests found
......@@ -62,9 +62,9 @@ def configure():
cscan_config["NMAP"] = {"CS_NMAP": "nmap"}
if profile == "basic_discovery":
cscan_config["NMAP"]["CS_NMAP_ARGS"] = "-sV"
if profile == "basic_discovery_ports":
elif profile == "basic_discovery_ports":
cscan_config["NMAP"]["CS_NMAP_ARGS"] = "-sV -p " + config["config"][scanner]["parameters"]["ports"]
if profile == "custom_parameters":
elif profile == "custom_parameters":
cscan_config["NMAP"]["CS_NMAP_ARGS"] = config["config"][scanner]["parameters"]["parameters"]
else:
raise UnsupportedProfileException()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment