来源:自学PHP网 时间:2015-04-17 14:47 作者: 阅读:次
[导读] 标题: url shortener script 1.0 sql injection Vulnerabilities作者: M.Jock3R www.2cto.com开发官方: http://djpate.com/下载地址: http://www.phpkode.com/scripts/item/url-shortener-script/测试......
标题: url shortener script 1.0 sql injection Vulnerabilities 作者: M.Jock3R www.2cto.com 开发官方: http://djpate.com/ 下载地址: http://www.phpkode.com/scripts/item/url-shortener-script/ 测试平台: windows XP Sp2 FR
=================================================================================== 缺陷文件: show.php
缺陷代码分析:
if($_GET['id']){ require("mysql.php"); $id = addslashes($_GET['id']); $getUrl = mysql_query("select url from urls where id = $id");
示例:
http://www.2cto.com /url-shortener-script/show.php?id=[Inj3ct]
=================================================================================== 修复:过滤该页面输入
Greets To : adelsbm / attiadona / Wjunction forum --------------------------------- I Love you Mindy --------------------------------- Email : madrido.jocker@gmail.com
THANKS TO ALL ALGERIANS HACK3RS |
自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习
京ICP备14009008号-1@版权所有www.zixuephp.com
网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com