1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-07 05:56:34 +00:00

Allow unfiltered ports to be selected in NSE

This commit is contained in:
kris
2008-04-09 01:54:14 +00:00
parent f2ebfdecba
commit fa9bd6be6e
2 changed files with 6 additions and 0 deletions

View File

@@ -499,6 +499,10 @@ int process_preparehost(lua_State* l, Target* target, std::list<struct thread_re
SCRIPT_ENGINE_TRY(process_pickScriptsForPort(l, target, current, torun));
}
while((current = plist->nextPort(current, TCPANDUDP, PORT_UNFILTERED)) != NULL) {
SCRIPT_ENGINE_TRY(process_pickScriptsForPort(l, target, current, torun));
}
// pop the hostinfo, we don't need it anymore
lua_pop(l, 1);