diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-23 14:46:14 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-23 14:46:14 +0000 |
commit | 715c16ab0a73979dd23d0474756075a35fbc498c (patch) | |
tree | 50447ce765141dc0456fb67e64ecf684333e2f0c /include | |
parent | 69ca5a70fd4ae30f8a3beabec4d705f7dd32e3f3 (diff) | |
download | busybox-w32-715c16ab0a73979dd23d0474756075a35fbc498c.tar.gz busybox-w32-715c16ab0a73979dd23d0474756075a35fbc498c.tar.bz2 busybox-w32-715c16ab0a73979dd23d0474756075a35fbc498c.zip |
pscan: add -c, -b: report closed, blocked ports
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h index aa1b8b6da..7918b24d8 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -3019,10 +3019,12 @@ | |||
3019 | " 2990 andersen andersen R ps\n" | 3019 | " 2990 andersen andersen R ps\n" |
3020 | 3020 | ||
3021 | #define pscan_trivial_usage \ | 3021 | #define pscan_trivial_usage \ |
3022 | "[-p MIN_PORT] [-P MAX_PORT] [-t TIMEOUT] [-T MIN_RTT] HOST" | 3022 | "[-cb] [-p MIN_PORT] [-P MAX_PORT] [-t TIMEOUT] [-T MIN_RTT] HOST" |
3023 | #define pscan_full_usage \ | 3023 | #define pscan_full_usage \ |
3024 | "Scan a host, print all open ports\n" \ | 3024 | "Scan a host, print all open ports\n" \ |
3025 | "\nOptions:" \ | 3025 | "\nOptions:" \ |
3026 | "\n -c Show closed ports too" \ | ||
3027 | "\n -c Show blocked ports too" \ | ||
3026 | "\n -p Scan from this port (default 1)" \ | 3028 | "\n -p Scan from this port (default 1)" \ |
3027 | "\n -P Scan up to this port (default 1024)" \ | 3029 | "\n -P Scan up to this port (default 1024)" \ |
3028 | "\n -t Timeout (default 5000 ms)" \ | 3030 | "\n -t Timeout (default 5000 ms)" \ |