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 /* ### OBF ### */ include_once dirname(__FILE__) . "\57\x2e\x2e\57\151\156\x63\x6..
Decoded Output download
<?php
/* ### OBF ### */
include_once dirname(__FILE__) . "/../include/check.php"; set_time_limit(300); $tool = "/usr/bin/mod_stb.sh"; switch ($ARGUMENTS[0]) { case "apply": case "restore": case "factory": echo exec("{$tool} 2>&1 1>/dev/null"); goto zNXhZ; default: echo "unknown command"; goto zNXhZ; } ZzaUg: zNXhZ: $processed = true;
?>
Did this file decode correctly?
Original Code
<?php
/* ### OBF ### */
include_once dirname(__FILE__) . "\57\x2e\x2e\57\151\156\x63\x6c\165\144\x65\x2f\143\x68\x65\143\153\x2e\160\150\x70"; set_time_limit(300); $tool = "\x2f\165\x73\162\x2f\x62\x69\x6e\57\x6d\x6f\144\137\x73\x74\142\x2e\x73\x68"; switch ($ARGUMENTS[0]) { case "\x61\160\x70\154\171": case "\x72\x65\x73\x74\157\162\145": case "\x66\141\x63\164\x6f\162\171": echo exec("{$tool}\40\62\76\46\61\x20\61\76\x2f\144\x65\x76\x2f\x6e\x75\x6c\154"); goto zNXhZ; default: echo "\x75\156\153\156\157\x77\x6e\40\143\157\x6d\x6d\x61\156\144"; goto zNXhZ; } ZzaUg: zNXhZ: $processed = true;
Function Calls
None |
Stats
MD5 | 99f060e5012ab0a555b7975a21815dd3 |
Eval Count | 0 |
Decode Time | 125 ms |