mirror of
https://github.com/nmap/nmap.git
synced 2025-12-27 18:09:01 +00:00
Reinitialize scriptargs and chosenScripts in NmapOps::Initialize.
This commit is contained in:
@@ -302,9 +302,11 @@ void NmapOps::Initialize() {
|
||||
topportlevel = -1;
|
||||
#ifndef NOLUA
|
||||
script = 0;
|
||||
scriptargs = NULL;
|
||||
scriptversion = 0;
|
||||
scripttrace = 0;
|
||||
scriptupdatedb = 0;
|
||||
chosenScripts.clear();
|
||||
#endif
|
||||
memset(&sourcesock, 0, sizeof(sourcesock));
|
||||
sourcesocklen = 0;
|
||||
|
||||
Reference in New Issue
Block a user