1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00

Merge Jay Fink's patch that puts UDP payloads in an external data file

instead of being hard-coded in payloads.cc. This is the patch from
http://seclists.org/nmap-dev/2010/q2/497.
This commit is contained in:
david
2010-05-25 17:38:23 +00:00
parent 32e6b837cb
commit 994da96f9c
6 changed files with 445 additions and 217 deletions

View File

@@ -5094,6 +5094,8 @@ void ultra_scan(vector<Target *> &Targets, struct scan_lists *ports,
UltraScanInfo *USI = NULL;
o.current_scantype = scantype;
init_payloads(); /* Load up _all_ payloads into a mapped table */
if (Targets.size() == 0) {
return;
}