Netcat

Brief

The Swiss Army Knife of TCP/IP Connections

As the man page notes, the Netcat tool is known as the Swiss Army knife
for TCP/IP connections. It’s a versatile tool.

Usage

1
root@kali:~#nc -h

Check to see if a port is listening

1
2
3
4
root@kali:~#nc -v [target ip address] [port]

example:
nc -v 192.168.130.133 80

You can also use the following command:

1
2
root@kali:~#nc -lvp 1234
listening on [any] 1234....

You use the options l for listen, v for verbose,and p to spcify the port to listen on

文章目录
  1. 1. Brief
  • The Swiss Army Knife of TCP/IP Connections
    1. 1. Usage
    2. 2. Check to see if a port is listening
  • ,