1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-11 16:06:33 +00:00

Add --script-timeout option to limit the script's runtime. Closes #330 and Fixes #234.

This commit is contained in:
abhishek
2016-08-20 18:57:47 +00:00
parent b5656da197
commit cd0b373130
5 changed files with 31 additions and 3 deletions

View File

@@ -377,6 +377,7 @@ void NmapOps::Initialize() {
scripttrace = 0;
scriptupdatedb = 0;
scripthelp = false;
scripttimeout = 0;
chosenScripts.clear();
#endif
memset(&sourcesock, 0, sizeof(sourcesock));