mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 11:22:05 +00:00
Enable UDP payloads for -PU, not only -sU
This commit is contained in:
parent
3c6c84b5f7
commit
d9422b6d05
1 changed files with 1 additions and 1 deletions
|
|
@ -2747,7 +2747,7 @@ void ultra_scan(std::vector<Target *> &Targets, const struct scan_lists *ports,
|
|||
UltraScanInfo USI(Targets, ports, scantype);
|
||||
|
||||
/* Load up _all_ payloads into a mapped table. Only needed for raw scans. */
|
||||
if (USI.udp_scan) {
|
||||
if (USI.udp_scan || (USI.ping_scan && USI.ptech.rawudpscan) ) {
|
||||
init_payloads();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue