I think that some "script dependencies" should be checked.
Although I am not sure there is a real problem, this might be really
important when you run Nessus with "optimize" on.
IIRC, the script_dependencie function performs a logical OR: as soon as
one of the plugin has been run, it is OK.
So scripts that depend on port scanners should declare:
script_dependencie( "nmap_wrapper.nes",
"nmap_tcp_connect.nes",
"snmp_portscan.nes" );
(See port_shell_execution.nasl, netbus2.nasl, lion.nasl,
subseven.nasl, backorifice1.nasl. Oddly, no other scripts declares
dependencies on port scanners)
But:
- "snmp_portscan" will fail most of the time.
- nmap... or TCP... might scan different port range (this is a lesser
problem, as port scanners are launched before other plugins)
Although I am not sure there is a real problem, this might be really
important when you run Nessus with "optimize" on.
IIRC, the script_dependencie function performs a logical OR: as soon as
one of the plugin has been run, it is OK.
So scripts that depend on port scanners should declare:
script_dependencie( "nmap_wrapper.nes",
"nmap_tcp_connect.nes",
"snmp_portscan.nes" );
(See port_shell_execution.nasl, netbus2.nasl, lion.nasl,
subseven.nasl, backorifice1.nasl. Oddly, no other scripts declares
dependencies on port scanners)
But:
- "snmp_portscan" will fail most of the time.
- nmap... or TCP... might scan different port range (this is a lesser
problem, as port scanners are launched before other plugins)