1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 18:39:03 +00:00

Changed the default port for UDP probing. Also changed the ICMP id in ICMP

pinging to be a nonzero number.
This commit is contained in:
josh
2009-06-05 03:29:10 +00:00
parent d011afb07c
commit 881fc1777f
4 changed files with 17 additions and 4 deletions

2
nmap.h
View File

@@ -274,7 +274,7 @@ void *realloc();
#define DEFAULT_TCP_PROBE_PORT_SPEC "80" /* The ports TCP ping probes go to if
unspecified by user -- uber hackers
change this to 113 */
#define DEFAULT_UDP_PROBE_PORT_SPEC "31338" /* The port UDP ping probes go to
#define DEFAULT_UDP_PROBE_PORT_SPEC "40125" /* The port UDP ping probes go to
if unspecified by user */
#define DEFAULT_SCTP_PROBE_PORT_SPEC "80" /* The port SCTP probes go to
if unspecified by