diff --git a/nping/ArgParser.cc b/nping/ArgParser.cc index f269b81c8..d023adeed 100644 --- a/nping/ArgParser.cc +++ b/nping/ArgParser.cc @@ -1201,8 +1201,7 @@ void ArgParser::printUsage(void){ "\n" "TARGET SPECIFICATION:\n" " Targets may be specified as hostnames, IP addresses, networks, etc.\n" -" Ex: scanme.nmap.org, microsoft.com/24, 192.168.0.1; 10.0.0-255.1-254\n" -//" -iL : Read targets from list of hosts or networks\n" +" Ex: scanme.nmap.org, microsoft.com/24, 192.168.0.1; 10.0.*.1-24\n" "PROBE MODES:\n" " --tcp-connect : Unprivileged TCP connect probe mode.\n" " --tcp : TCP probe mode.\n" @@ -1222,10 +1221,6 @@ void ArgParser::printUsage(void){ " --ack : Set ACK number.\n" " --win : Set window size.\n" " --badsum : Use a random invalid checksum. \n" -//" --mss : Set maximum segment size.\n" -//" --ws : Set window scale.\n" -//" --sack [To be defined] : Selective ACK.\n" -//" --ts : Set timestamp (echo and reply fields).\n" "UDP PROBE MODE:\n" " -g, --source-port : Set source port.\n" " -p, --dest-port : Set destination port(s).\n" @@ -1242,7 +1237,6 @@ void ArgParser::printUsage(void){ " --icmp-orig-time : Set originate timestamp.\n" " --icmp-recv-time : Set receive timestamp.\n" " --icmp-trans-time : Set transmit timestamp.\n" -//" TODO: Add options for all fields required by those ICMP msg types.\n" "ARP/RARP PROBE MODE:\n" " --arp-type : Type: ARP, ARP-reply, RARP, RARP-reply.\n" " --arp-sender-mac : Set sender MAC address.\n" @@ -1251,7 +1245,6 @@ void ArgParser::printUsage(void){ " --arp-target-ip : Set target IP address.\n" "IPv4 OPTIONS:\n" " -S, --source-ip : Set source IP address.\n" -// Supported but undocumented:"" --spoof-ip: Set source IP address. (consistent with --spoof-mac format)\n" " --dest-ip : Set destination IP address (used as an \n" " alternative to {target specification} ). \n" " --tos : Set type of service field (8bits).\n" @@ -1264,7 +1257,6 @@ void ArgParser::printUsage(void){ " --ip-options : Set IP options\n" " --mtu : Set MTU. Packets get fragmented if MTU is\n" " small enough.\n" -//" -f : Fragment packets.\n" "IPv6 OPTIONS:\n" " -6, --IPv6 : Use IP version 6.\n" " --dest-ip : Set destination IP address (used as an\n" @@ -1276,12 +1268,10 @@ void ArgParser::printUsage(void){ " --dest-mac : Set destination mac address. (Disables\n" " ARP resolution)\n" " --source-mac : Set source MAC address.\n" -// Supported but undocumented:" --spoof-mac : Set source MAC address (provides same flag as nmap).\n" " --ether-type : Set EtherType value.\n" "PAYLOAD OPTIONS:\n" " --data : Include a custom payload.\n" " --data-string : Include a custom ASCII text.\n" -//" --data-file : Include payload from specified file.\n" " --data-length : Include len random bytes as payload.\n" "ECHO CLIENT/SERVER:\n" " --echo-client : Run Nping in client mode.\n" @@ -1295,7 +1285,6 @@ void ArgParser::printUsage(void){ " 's' (seconds), 'm' (minutes), or 'h' (hours) to the value (e.g. 30m, 0.25h).\n" " --delay