Closed crazybrker closed 6 years ago
Hi! Thanks for the feedback.
Our ultimate goal is to move away from manually editing the config file and using a settings menu instead where you will be able to create different profiles (eg: internal, external, stealth). In the background, this will create different config files.
Also, we are using a built-in feature of the technology we are using for the GUI and I'm afraid that's how their config files are. They don't allow comments.
I would like to to be able to comment out lines in the config file.
Before I had
[HostActions]
#nmap-script-all=Intense all NSE Scan, "nmap -Pn -n -sV --script default,exploit,malware,vuln -vv [IP] -oA [OUTPUT]"
But it still shows up on the list, except the key name is now
#nmap-script-all
. Of course, because it is expecting tool=label, command, services . So my workaround is give it all those parameters followed by a final comma. Then start my Comment.[HostActions]
#=,,#, Custom Web HTTP blah blah blah
#=,,#, nmap-script-all=Intense all NSE Scan, "nmap -Pn -n -sV --script default,exploit,malware,vuln -vv [IP] -oA [OUTPUT]"
A more elegant solution would be nice.