mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 09:49:05 +00:00
Remove the artificial cap on the number of ping scan ports and protocols. Port
lists for ping scan now use the same syntax as the -p option except that T:, U:, and P: are not allowed.
This commit is contained in:
@@ -191,13 +191,13 @@ class NmapOps {
|
||||
unsigned short magic_port_set; /* Was this set by user? */
|
||||
int num_ping_synprobes;
|
||||
/* The "synprobes" are also used when doing a connect() ping */
|
||||
u16 ping_synprobes[MAX_PROBE_PORTS];
|
||||
u16 *ping_synprobes;
|
||||
int num_ping_ackprobes;
|
||||
u16 ping_ackprobes[MAX_PROBE_PORTS];
|
||||
u16 *ping_ackprobes;
|
||||
int num_ping_udpprobes;
|
||||
u16 ping_udpprobes[MAX_PROBE_PORTS];
|
||||
u16 *ping_udpprobes;
|
||||
int num_ping_protoprobes;
|
||||
u16 ping_protoprobes[MAX_PROBE_PORTS];
|
||||
u16 *ping_protoprobes;
|
||||
/* Scan timing/politeness issues */
|
||||
int timing_level; // 0-5, corresponding to Paranoid, Sneaky, Polite, Normal, Aggressive, Insane
|
||||
int max_parallelism; // 0 means it has not been set
|
||||
|
||||
Reference in New Issue
Block a user