<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cdut-boy&#039;s blog</title>
	<atom:link href="http://www.cdut-boy.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cdut-boy.com</link>
	<description>又拿程序换酒钱</description>
	<lastBuildDate>Sun, 19 Feb 2012 06:44:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>x64 findkernel32 shellcode 45byte</title>
		<link>http://www.cdut-boy.com/2012/02/19/x64-findkernel32-shellcode/</link>
		<comments>http://www.cdut-boy.com/2012/02/19/x64-findkernel32-shellcode/#comments</comments>
		<pubDate>Sun, 19 Feb 2012 06:39:10 +0000</pubDate>
		<dc:creator>cdut-boy</dc:creator>
				<category><![CDATA[程序设计]]></category>
		<category><![CDATA[shellcode]]></category>

		<guid isPermaLink="false">http://www.cdut-boy.com/?p=733</guid>
		<description><![CDATA[unsigned char x64_GetKernel32[45] = { 0&#215;56, 0&#215;57, 0&#215;53, 0&#215;48, 0&#215;33, 0xDB, 0x6A, 0&#215;30, 0&#215;58, 0&#215;65, 0&#215;48, 0x8B, 0&#215;30, 0&#215;48, 0x8B, 0&#215;46, 0&#215;60, 0&#215;48, 0x8B, 0&#215;40, 0&#215;18, 0&#215;48, 0x8B, 0&#215;70, 0&#215;10, 0&#215;48, 0x8B, 0x7E, 0&#215;60, 0&#215;48, 0x8B, 0&#215;46, 0&#215;30, 0&#215;48, 0x8B, 0&#215;36, 0&#215;38, 0x5F, 0&#215;18, 0&#215;75, 0xF0, 0x5B, 0x5F, 0x5E, 0xC3 }; 纯字符,无截断,执行后,rax就是kernel32基址. winxp ~7 x64通用]]></description>
		<wfw:commentRss>http://www.cdut-boy.com/2012/02/19/x64-findkernel32-shellcode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>x64 gs搜索kernel32</title>
		<link>http://www.cdut-boy.com/2012/01/15/x64-gs/</link>
		<comments>http://www.cdut-boy.com/2012/01/15/x64-gs/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 09:17:29 +0000</pubDate>
		<dc:creator>cdut-boy</dc:creator>
				<category><![CDATA[程序设计]]></category>
		<category><![CDATA[shellcode]]></category>
		<category><![CDATA[x64]]></category>

		<guid isPermaLink="false">http://www.cdut-boy.com/?p=707</guid>
		<description><![CDATA[编写shellcode很重要的一步就是搜索kernel32的基址,毕竟我们要获取API的地址 x86下总所周知的fs寄存器搜索kernel32基址的办法,在x64下已经失效了. 鉴于网上的资料太少,也许是我没搜索到.暂且写一段分享. x64下fs的角色已经换成了gs. 暂时发现存储的一些感兴趣的东西,如果有其他的,希望能告知我. gs:[0x30]                 TEB gs:[0x40]                 Pid gs:[0x48]                 Tid gs:[0x60]                PEB gs:[0x68]                 LastError 值得一提的是,虽然gs:[0x60] 直接存放的PEB,但是由于vista/7后的地址随机化机制,还是从TEB获取比较靠谱. 0:009&#62; dt 000007fffff98000 _TEB ntdll!_TEB +0&#215;000 NtTib            : _NT_TIB +0&#215;038 EnvironmentPointer : (null) +0&#215;040 ClientId         : _CLIENT_ID +0&#215;050 ActiveRpcHandle  : (null) +0&#215;058 ThreadLocalStoragePointer : (null) +0&#215;060 ProcessEnvironmentBlock : 0x000007ff`fffd5000 _PEB    //这里即是PEB //用c语言描述就是 #define x64_GetPeb()               [...]]]></description>
		<wfw:commentRss>http://www.cdut-boy.com/2012/01/15/x64-gs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>买个火车票跟买彩票一样</title>
		<link>http://www.cdut-boy.com/2012/01/07/%e4%b9%b0%e4%b8%aa%e7%81%ab%e8%bd%a6%e7%a5%a8%e8%b7%9f%e4%b9%b0%e5%bd%a9%e7%a5%a8%e4%b8%80%e6%a0%b7/</link>
		<comments>http://www.cdut-boy.com/2012/01/07/%e4%b9%b0%e4%b8%aa%e7%81%ab%e8%bd%a6%e7%a5%a8%e8%b7%9f%e4%b9%b0%e5%bd%a9%e7%a5%a8%e4%b8%80%e6%a0%b7/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 00:30:19 +0000</pubDate>
		<dc:creator>cdut-boy</dc:creator>
				<category><![CDATA[琐碎]]></category>

		<guid isPermaLink="false">http://www.cdut-boy.com/?p=701</guid>
		<description><![CDATA[先谢国家,感谢finback,我买到票了.,我还不能抑制住鸡冻的心情. 买个火车票跟买彩票一样. SB的铁道部网站,还是电话订票靠谱,手机根本打不进去,还是得座机]]></description>
		<wfw:commentRss>http://www.cdut-boy.com/2012/01/07/%e4%b9%b0%e4%b8%aa%e7%81%ab%e8%bd%a6%e7%a5%a8%e8%b7%9f%e4%b9%b0%e5%bd%a9%e7%a5%a8%e4%b8%80%e6%a0%b7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>写在2011最后一天</title>
		<link>http://www.cdut-boy.com/2011/12/31/%e5%86%99%e5%9c%a82011%e6%9c%80%e5%90%8e%e4%b8%80%e5%a4%a9/</link>
		<comments>http://www.cdut-boy.com/2011/12/31/%e5%86%99%e5%9c%a82011%e6%9c%80%e5%90%8e%e4%b8%80%e5%a4%a9/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 15:45:08 +0000</pubDate>
		<dc:creator>cdut-boy</dc:creator>
				<category><![CDATA[琐碎]]></category>

		<guid isPermaLink="false">http://www.cdut-boy.com/?p=689</guid>
		<description><![CDATA[和朋友吃饭回来,还有几分钟就2012年了. 这一年感觉过的好快,仿佛昨天还在成都,今天就到了北京. 一些同事来了又走了,悲欢离合. 年初第二次跳槽到现在的公司,到现在也快一年了,希望是一个好的转折点. 感谢一年的工作中,给予大量指点的AD-lab的同事,科技,村长等. 希望新的一年,自己的水平能有更多的提升. 希望薪水能涨点,哈哈哈.]]></description>
		<wfw:commentRss>http://www.cdut-boy.com/2011/12/31/%e5%86%99%e5%9c%a82011%e6%9c%80%e5%90%8e%e4%b8%80%e5%a4%a9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ferris</title>
		<link>http://www.cdut-boy.com/2011/12/25/ferris/</link>
		<comments>http://www.cdut-boy.com/2011/12/25/ferris/#comments</comments>
		<pubDate>Sun, 25 Dec 2011 15:42:46 +0000</pubDate>
		<dc:creator>cdut-boy</dc:creator>
				<category><![CDATA[原创作品]]></category>
		<category><![CDATA[joke]]></category>

		<guid isPermaLink="false">http://www.cdut-boy.com/?p=669</guid>
		<description><![CDATA[Ferris是什么? Ferris是一个小恶作剧,把屏幕模拟摩天轮旋转. 大约在大一~大二时(07年)看到这个创意,可惜当时没法去实现, 今天把它实现了. Ferris在运行时,你是没法关闭它的,所以我提供了一个快捷键F12 Ferris CRC32: 3061646D MD5: 7E9A561D78B7F70BD9FA3D6C622EE629 SHA-1: A0F88A433991F633E4C73B321A86FE095506EC88]]></description>
		<wfw:commentRss>http://www.cdut-boy.com/2011/12/25/ferris/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>全shellcode化完成了</title>
		<link>http://www.cdut-boy.com/2011/11/29/%e5%85%a8shellcode%e5%8c%96%e5%ae%8c%e6%88%90%e4%ba%86/</link>
		<comments>http://www.cdut-boy.com/2011/11/29/%e5%85%a8shellcode%e5%8c%96%e5%ae%8c%e6%88%90%e4%ba%86/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 13:14:59 +0000</pubDate>
		<dc:creator>cdut-boy</dc:creator>
				<category><![CDATA[琐碎]]></category>

		<guid isPermaLink="false">http://www.cdut-boy.com/?p=667</guid>
		<description><![CDATA[重大时刻,全shellcode化完成了,特发此文以记之.]]></description>
		<wfw:commentRss>http://www.cdut-boy.com/2011/11/29/%e5%85%a8shellcode%e5%8c%96%e5%ae%8c%e6%88%90%e4%ba%86/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>vc6的RTTI默认是关闭的</title>
		<link>http://www.cdut-boy.com/2011/11/11/vc6%e7%9a%84rtti%e9%bb%98%e8%ae%a4%e6%98%af%e5%85%b3%e9%97%ad%e7%9a%84/</link>
		<comments>http://www.cdut-boy.com/2011/11/11/vc6%e7%9a%84rtti%e9%bb%98%e8%ae%a4%e6%98%af%e5%85%b3%e9%97%ad%e7%9a%84/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 15:29:43 +0000</pubDate>
		<dc:creator>cdut-boy</dc:creator>
				<category><![CDATA[程序设计]]></category>

		<guid isPermaLink="false">http://www.cdut-boy.com/?p=662</guid>
		<description><![CDATA[c++里使用了dynamic_cast ,就必须把编译器的RTTI打开,不解释. 使用05建的工程,比较和谐,但是生成6.0的工程时,程序死的很难看. 百撕不得骑姐,搞了半天才注意到,VC6默认是关着的!!! 毕竟还是图样啊.调试到现在,还得提高自身知识水平.]]></description>
		<wfw:commentRss>http://www.cdut-boy.com/2011/11/11/vc6%e7%9a%84rtti%e9%bb%98%e8%ae%a4%e6%98%af%e5%85%b3%e9%97%ad%e7%9a%84/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mozilla简直就是胡闹</title>
		<link>http://www.cdut-boy.com/2011/11/09/mozilla%e7%ae%80%e7%9b%b4%e5%b0%b1%e6%98%af%e8%83%a1%e9%97%b9/</link>
		<comments>http://www.cdut-boy.com/2011/11/09/mozilla%e7%ae%80%e7%9b%b4%e5%b0%b1%e6%98%af%e8%83%a1%e9%97%b9/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 07:26:48 +0000</pubDate>
		<dc:creator>cdut-boy</dc:creator>
				<category><![CDATA[琐碎]]></category>
		<category><![CDATA[FireFox]]></category>

		<guid isPermaLink="false">http://www.cdut-boy.com/2011/11/09/mozilla%e7%ae%80%e7%9b%b4%e5%b0%b1%e6%98%af%e8%83%a1%e9%97%b9/</guid>
		<description><![CDATA[还记得FireFox 3.0发布的盛况. 现在不到一年的时间,都出8.0了,我日.]]></description>
		<wfw:commentRss>http://www.cdut-boy.com/2011/11/09/mozilla%e7%ae%80%e7%9b%b4%e5%b0%b1%e6%98%af%e8%83%a1%e9%97%b9/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>伟大的长城</title>
		<link>http://www.cdut-boy.com/2011/10/17/%e4%bc%9f%e5%a4%a7%e7%9a%84%e9%95%bf%e5%9f%8e/</link>
		<comments>http://www.cdut-boy.com/2011/10/17/%e4%bc%9f%e5%a4%a7%e7%9a%84%e9%95%bf%e5%9f%8e/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 06:53:06 +0000</pubDate>
		<dc:creator>cdut-boy</dc:creator>
				<category><![CDATA[琐碎]]></category>
		<category><![CDATA[dns]]></category>

		<guid isPermaLink="false">http://www.cdut-boy.com/2011/10/17/%e4%bc%9f%e5%a4%a7%e7%9a%84%e9%95%bf%e5%9f%8e/</guid>
		<description><![CDATA[伟大的长城逼我们不能使用DNS,再次回到直接使用IP上网的年代. 大中华局域网V5!]]></description>
		<wfw:commentRss>http://www.cdut-boy.com/2011/10/17/%e4%bc%9f%e5%a4%a7%e7%9a%84%e9%95%bf%e5%9f%8e/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>c++ 解析纯真IP数据库qqwry</title>
		<link>http://www.cdut-boy.com/2011/09/22/parseqqwry/</link>
		<comments>http://www.cdut-boy.com/2011/09/22/parseqqwry/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 09:38:05 +0000</pubDate>
		<dc:creator>cdut-boy</dc:creator>
				<category><![CDATA[程序设计]]></category>
		<category><![CDATA[cnss]]></category>
		<category><![CDATA[cpp]]></category>
		<category><![CDATA[QQWry]]></category>

		<guid isPermaLink="false">http://www.cdut-boy.com/2011/09/22/c-%e8%a7%a3%e6%9e%90%e7%ba%af%e7%9c%9fip%e6%95%b0%e6%8d%ae%e5%ba%93qqwry-dat/</guid>
		<description><![CDATA[网上流传的IP数据库等,如纯真,其实是cnss制定的格式. 在项目中有需求,网上找到的几份已有的实现,都不太满意. 索性自己写了一份,以前都只是用用,这次总算弄明白整个格式是怎么样的. 我写的IPInfo是C++ 类的方式,内存映射的方式操作数据,兼容Ansi /Unicode ,自动识别常用的IP数据库名(QQwry.dat 等). 关键的地方注释的比较详细,可以看注释.如果你的项目中复用到这份代码,请注明! 调用起来很简单 1 2 3 4 5 6 char szAddr&#91;100&#93;=&#123;0&#125;; CIPInfo NewIPInfo; &#160; NewIPInfo.OpenA&#40;&#34;D:\\qqwry.dat&#34;;&#41;; NewIPInfo.QueryIPA&#40;&#34;1.2.3.4&#34;,szAddr,sizeof&#40;szAddr&#41;&#41;; NewIPInfo.Close&#40;&#41;; cnss设计的这个IP数据库的格式,很简洁精妙,字符串复用的方式压缩了很大一部分空间. 其格式描述可以见cnss的blog 经过我的实际分析,有几个网上介绍格式的文章没提到,但是要注意的地方. 1.对于重定位模式1之后地区名也有可能也需要重定位. 2.混合模式1国家名二次重定位之后的地区名也有可能需要重定位. 3.IP存的是小尾字节序. 详细的看我的实现吧. 为什么贴到wordpress格式就乱了呢?? IPInfo.h 声明部分 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [...]]]></description>
		<wfw:commentRss>http://www.cdut-boy.com/2011/09/22/parseqqwry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

