forked from ptrrkssn/pnscan
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpnscan.1
100 lines (96 loc) · 2.88 KB
/
pnscan.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng <[email protected]>.
.TH "PNSCAN" "1" "27 March 2002" "" ""
.SH NAME
pnscan \- multi threaded port scanning tool
.SH SYNOPSIS
\fBpnscan\fR [ \fBoptions\fR] [ \fB<CIDR | host-range> <port-range>\fR]
\fBpnscan\fR [ \fBoptions\fR] [ \fB<port>\fR]
.SH "DESCRIPTION"
.PP
This manual page documents briefly the
\fBpnscan\fR command.
.PP
\fBpnscan\fR is a tool that can be used to survey
TCP network services.
.PP
When used with two command line arguments it will scan the indicated
network/hosts and ports. When used without arguments or just one then
it will read hostname/IP addresses from stdin and probe those. The single
port/service argument is used as a default if no port is indicated on stdin
.PP
For example, it can be used to survey the installed versions of
SSH, FTP, SMTP, Web, IDENT and possibly other services.
.PP
This program implements a multithreaded TCP port scanner.
More information and new relaseses may be found at:
http://www.lysator.liu.se/~pen/pnscan
.SH "OPTIONS"
.TP
\fB-h\fR
Show summary of options.
.TP
\fB-v\fR
Be verbose.
.TP
\fB-V\fR
Print version.
.TP
\fB-d\fR
Print internal debugging info.
.TP
\fB-s \fR
Lookup and print hostnames. This will slow down the
scan considerably.
.TP
\fB-S\fR
Enable shutdown mode. With this enabled pnscan will
call shutdown(2) with an argument of 1 in order to half-close
the TCP connection after any -w/-W arguments has been transmitted.
The default is to wait for the remote party to close its end
first (or until enough bytes has been received).
.TP
\fB-l\fR
Line oriented output. This option will cause pnscan to
try to locate the beginning of a line when a match (-r/-R) has
been found, and only print up to the last byte/character on
that line.
.TP
\fB-w<string> \fR
Request string to send. Please note that you must
send any needed CR/LF characters as needed by the protocol
since the string specified is sent as is (after escape
characters has been decoded).
.TP
\fB-r<string> \fR
Response string to look for.
.TP
\fB-W<hex list> \fR
Hex coded request string to send.
.TP
\fB-R<hex list> \fR
Hex coded response string to look for.
.TP
\fB-L<length> \fR
Max bytes of response to print.
.TP
\fB-t<msecs> \fR
Connect/Write/Read timeout.
.TP
\fB-n<workers> \fR
Maximum concurrent worker threads to start.
.SH "SEE ALSO"
.PP
nmap (1) and ipsort (1).
.SH "AUTHOR"
.PP
pnscan was written by Peter Eriksson <[email protected]>.
.PP
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free
Documentation License, Version 1.1 or any later version
published by the Free Software Foundation; with no Invariant
Sections, no Front-Cover Texts and no Back-Cover Texts.