Reverse shell (attacker listener)

Wait for an incoming reverse shell connection

nc -lvp 4444

tool
netcat10 commands
tags
netcatncshelldebug

More netcat commands

  • nc -v 192.168.1.1 22

    Connect to port and read service banner

  • nc -w 3 192.168.1.1 80

    Set connection timeout to 3 seconds

  • nc -lvp 4444

    Start a netcat listener on port 4444

  • nc 192.168.1.1 80

    Open a TCP connection to host on port 80

  • nc -zv 192.168.1.1 20-80

    Scan ports 20-80 on a host (zero I/O mode)

all 10 netcat commands