diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-16 13:37:59 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-16 13:37:59 +0000 |
commit | 7b72fc12000c878e11d5f0b245f83c0d71b29f58 (patch) | |
tree | ae60975a107756cb3b7b6dd17e8f0d41427daed6 /include | |
parent | 53a0e971960a520bd859b8aac6dbebec2045115f (diff) | |
download | busybox-w32-7b72fc12000c878e11d5f0b245f83c0d71b29f58.tar.gz busybox-w32-7b72fc12000c878e11d5f0b245f83c0d71b29f58.tar.bz2 busybox-w32-7b72fc12000c878e11d5f0b245f83c0d71b29f58.zip |
pscan: new applet (portscanner). ~1350 bytes. By Tito <farmatito@tiscali.it>
wget: lift 256 chars limitation on terminal width
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 1 | ||||
-rw-r--r-- | include/usage.h | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index e4dff119a..0f378bbeb 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -257,6 +257,7 @@ USE_HALT(APPLET_ODDNAME(poweroff, halt, _BB_DIR_SBIN, _BB_SUID_NEVER, poweroff)) | |||
257 | USE_PRINTENV(APPLET(printenv, _BB_DIR_BIN, _BB_SUID_NEVER)) | 257 | USE_PRINTENV(APPLET(printenv, _BB_DIR_BIN, _BB_SUID_NEVER)) |
258 | USE_PRINTF(APPLET(printf, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 258 | USE_PRINTF(APPLET(printf, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
259 | USE_PS(APPLET(ps, _BB_DIR_BIN, _BB_SUID_NEVER)) | 259 | USE_PS(APPLET(ps, _BB_DIR_BIN, _BB_SUID_NEVER)) |
260 | USE_PSCAN(APPLET(pscan, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | ||
260 | USE_PWD(APPLET_NOFORK(pwd, pwd, _BB_DIR_BIN, _BB_SUID_NEVER, pwd)) | 261 | USE_PWD(APPLET_NOFORK(pwd, pwd, _BB_DIR_BIN, _BB_SUID_NEVER, pwd)) |
261 | USE_RAIDAUTORUN(APPLET(raidautorun, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 262 | USE_RAIDAUTORUN(APPLET(raidautorun, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
262 | USE_RDATE(APPLET(rdate, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) | 263 | USE_RDATE(APPLET(rdate, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) |
diff --git a/include/usage.h b/include/usage.h index 1c4442e33..7e23de92d 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -2676,6 +2676,16 @@ | |||
2676 | " 2990 andersen andersen R ps\n" | 2676 | " 2990 andersen andersen R ps\n" |
2677 | 2677 | ||
2678 | 2678 | ||
2679 | #define pscan_trivial_usage \ | ||
2680 | "[-p MIN_PORT] [-P MAX_PORT] [-t TIMEOUT] [-T MIN_RTT] HOST" | ||
2681 | #define pscan_full_usage \ | ||
2682 | "Scan a host, print all open ports" \ | ||
2683 | "\n\nOptions:" \ | ||
2684 | "\n -p Scan from this port (default 1)" \ | ||
2685 | "\n -P Scan up to this port (default 1024)" \ | ||
2686 | "\n -t Timeout (default 5000 ms)" \ | ||
2687 | "\n -T Minimum rtt (default 5 ms, increase for congested hosts)" \ | ||
2688 | |||
2679 | #define pwd_trivial_usage \ | 2689 | #define pwd_trivial_usage \ |
2680 | "" | 2690 | "" |
2681 | #define pwd_full_usage \ | 2691 | #define pwd_full_usage \ |