summaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorDenis Vlasenko2007-06-16 13:37:59 +0000
committerDenis Vlasenko2007-06-16 13:37:59 +0000
commit7b72fc12000c878e11d5f0b245f83c0d71b29f58 (patch)
treeae60975a107756cb3b7b6dd17e8f0d41427daed6 /include/usage.h
parent53a0e971960a520bd859b8aac6dbebec2045115f (diff)
downloadbusybox-7b72fc12000c878e11d5f0b245f83c0d71b29f58.zip
busybox-7b72fc12000c878e11d5f0b245f83c0d71b29f58.tar.gz
pscan: new applet (portscanner). ~1350 bytes. By Tito <farmatito@tiscali.it>
wget: lift 256 chars limitation on terminal width
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index 1c4442e..7e23de9 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2676,6 +2676,16 @@
" 2990 andersen andersen R ps\n"
+#define pscan_trivial_usage \
+ "[-p MIN_PORT] [-P MAX_PORT] [-t TIMEOUT] [-T MIN_RTT] HOST"
+#define pscan_full_usage \
+ "Scan a host, print all open ports" \
+ "\n\nOptions:" \
+ "\n -p Scan from this port (default 1)" \
+ "\n -P Scan up to this port (default 1024)" \
+ "\n -t Timeout (default 5000 ms)" \
+ "\n -T Minimum rtt (default 5 ms, increase for congested hosts)" \
+
#define pwd_trivial_usage \
""
#define pwd_full_usage \