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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user