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 ($this->blacklist->is_inlist($ip)) { $retval = False; $this->message = $ip . "\x20\1..

Decoded Output download

<?   { if ($this->blacklist->is_inlist($ip)) { $retval = False; $this->message = $ip . " is blacklisted by " . $this->blacklist->message() . "."; $this->status = $this->statusid["negative"]; } else { $retval = True; $this->message = $ip . " is unlisted."; $this->status = $this->statusid["neutral"]; } } return $retval; } public function message() { return $this->message; } public function status() { return $this->status; } public function append($type, $ip, $comment = '') { if ($type == "WHITELIST") { $retval = $this->whitelistfile->append($ip, $comment); } elseif ($type == "BLACKLIST") { $retval = $this->blacklistfile->append($ip, $comment); } else { $retval = false; } } public function filename($type, $ip, $comment = '') { if ($type == "WHITELIST") { $retval = $this->whitelistfile->filename($ip, $comment); } elseif ($type == "BLACKLIST") { $retval = $this->blacklistfile->filename($ip, $comment); } else { $retval = false; } } } goto n36LI; n36LI: ?>

Did this file decode correctly?

Original Code

 { if ($this->blacklist->is_inlist($ip)) { $retval = False; $this->message = $ip . "\x20\151\x73\x20\142\154\x61\x63\x6b\154\x69\x73\164\x65\x64\x20\142\171\40" . $this->blacklist->message() . "\x2e"; $this->status = $this->statusid["\x6e\x65\x67\141\x74\151\x76\x65"]; } else { $retval = True; $this->message = $ip . "\x20\151\x73\40\x75\x6e\x6c\151\163\164\x65\x64\56"; $this->status = $this->statusid["\156\145\x75\164\x72\141\x6c"]; } } return $retval; } public function message() { return $this->message; } public function status() { return $this->status; } public function append($type, $ip, $comment = '') { if ($type == "\127\x48\111\x54\x45\114\x49\123\124") { $retval = $this->whitelistfile->append($ip, $comment); } elseif ($type == "\x42\114\101\x43\x4b\x4c\111\x53\x54") { $retval = $this->blacklistfile->append($ip, $comment); } else { $retval = false; } } public function filename($type, $ip, $comment = '') { if ($type == "\127\x48\x49\124\105\x4c\x49\x53\124") { $retval = $this->whitelistfile->filename($ip, $comment); } elseif ($type == "\x42\x4c\101\103\x4b\x4c\111\x53\124") { $retval = $this->blacklistfile->filename($ip, $comment); } else { $retval = false; } } } goto n36LI; n36LI:

Function Calls

None

Variables

None

Stats

MD5 477de37ece6a7e9427b54b112542d0d2
Eval Count 0
Decode Time 38 ms