Skip to content

portscan

Ulrich Berntien edited this page Mar 26, 2019 · 1 revision

portscan

Name

portscan - run a port scan against common TCP ports

Synopsis

portscan HOST

Description

portscan run a port scan against common TCP ports. The common used TCP ports 21, 22, 23, 80, 443, 8080, 8443, 129, 445, 3389 and 3306 are scanned. The scanner tries to open a TCP connection to the given host at each port. If a TCP connection could be opened than the port is listed.

portscan writes to stdout.

The argument is:

  • HOST: Name or IP address of the target. TCP connections are opened of this HOST.

Examples

Scan the common TCP ports of a named host.

$ portscan localhost

Scan the common TCP ports of a host given by the IP address.

$ portscan 140.82.118.4
Clone this wiki locally