carta
knocker(1)

knocker1

An easy to use network security port scanner

Usage

knocker --host <host> [OPTION]

Overview

knocker is a simple and easy to use TCP security port scanner written in C using pthreads which is able to analyze hosts and all of the different services started on them.

Options

-H, --host

host name or numeric Internet address to scan

-P, --port

port number to scan (single port scan only)

-SP, --start-port

port number to begin the scan from

-EP, --end-port

port number to end the scan at

--last-host

uses the last scanned host as target

--last-scan

performs again the last port scan

-q, --quiet

disable console output and logs to file.

-lf, --logfile <logfile>

log the results to a specified file.

-nf, --no-fency

disable fency output

-nc, --no-colors

disable colored output

--configure

let the user configure knocker

-h, --help

display this help and exit

-v, --version

output version information and exit

Examples

To run this program the standard way type:

knocker --host 192.168.0.1

If you want to specify a port range to scan:

knocker --host thehost --start-port 1 --end-port 2600

or

knocker -H thehost -SP 1 -EP 2600

To scan a single port:

knocker -H thehost --port 21

To run this program not using colors (if your terminal does not support colors):

knocker --host 192.168.0.1 --no-colors

To run this program run in background and have the results written in a log file:

knocker --host 192.168.0.1 --quiet &

History

  • Debian 10 (Buster): the text shown here
  • Debian 9 (Stretch) to Debian 3.1 (Sarge)
  • Debian 3.0 (Woody)

--configure since Debian 3.1 (Sarge); --last-host since Debian 3.1 (Sarge); --last-scan since Debian 3.1 (Sarge); --logfile since Debian 3.1 (Sarge); --no-fency since Debian 3.1 (Sarge); --quiet since Debian 3.1 (Sarge); -nf since Debian 3.1 (Sarge); -q since Debian 3.1 (Sarge).

--enable-logfile until Debian 3.0 (Woody); --quiet-mode until Debian 3.0 (Woody); -qm until Debian 3.0 (Woody).

Availability

The latest version of this program can be found at http://knocker.sourceforge.net

Bugs

See the BUGS file in the knocker source package for a list of known bugs. Report bugs to <[email protected]>

Author

knocker is written by Gabriele Giorgetti <[email protected]>

From knocker 0.7.1-6 in Debian 10 (Buster). Parsed by carta from the page's man source.