免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3986 | 回复: 4

用wget下载phpwind的问题 [复制链接]

论坛徽章:
0
发表于 2008-12-23 22:36 |显示全部楼层
用图形界面的下载工具或者浏览器下载http://www.phpwind.com/download.php?action=do&did=327可以得到phpwind的ZIP包,但是用wget即使我加上--user-agent和--referer:
wget --referer="http://www.phpwind.com" -U 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; )' 'http://www.phpwind.com/download.php?action=do&did=327'
还是不行,下下来是一个网页。
大家想想还有什么地方没考虑到的?

论坛徽章:
3
戌狗
日期:2014-09-10 17:07:162015年辞旧岁徽章
日期:2015-03-03 16:54:15wusuopu
日期:2016-06-17 17:43:45
发表于 2008-12-24 02:45 |显示全部楼层
抓包看看吧。

论坛徽章:
0
发表于 2008-12-24 07:08 |显示全部楼层
没研究过,不会搞

论坛徽章:
1
2015年亚洲杯之韩国
日期:2015-04-24 09:07:02
发表于 2008-12-24 08:39 |显示全部楼层
恩 对啊 是有这样的问题 用浏览器下载就能支持跳转到文件 wget就下成页面了 也不知道是什么问题

论坛徽章:
0
发表于 2008-12-24 11:16 |显示全部楼层
其实我只是想知道一般wget下载会遇到什么问题,需要怎么解决。
失败的时候的包:
10:58:19.967184 IP www.59616 > 61.145.118.208.www: S 1584295335:1584295335(0) win 5840 <mss 1460,nop,nop,sackOK,nop,wscale 5>
10:58:19.992858 IP 61.145.118.208.www > www.59616: S 4091676888:4091676888(0) ack 1584295336 win 5840 <mss 1024,nop,nop,sackOK,nop,wscale 9>
10:58:19.992966 IP www.59616 > 61.145.118.208.www: . ack 1 win 183
10:58:19.993156 IP www.59616 > 61.145.118.208.www: P 1:134(133) ack 1 win 183
10:58:20.018622 IP 61.145.118.208.www > www.59616: . ack 134 win 14
10:58:20.022709 IP 61.145.118.208.www > www.59616: P 1:311(310) ack 134 win 14
10:58:20.022775 IP www.59616 > 61.145.118.208.www: . ack 311 win 216
10:58:20.022798 IP 61.145.118.208.www > www.59616: F 311:311(0) ack 134 win 14
10:58:20.032768 IP www.59616 > 61.145.118.208.www: F 134:134(0) ack 312 win 216
10:58:20.057448 IP 61.145.118.208.www > www.59616: . ack 135 win 14
成功下载的包(部分,附件里面有更详细的,不过也没下完):
10:54:26.994520 IP www.59586 > 61.145.118.208.www: S 2228595538:2228595538(0) win 5840 <mss 1460,nop,nop,sackOK,nop,wscale 5>
10:54:27.025592 IP 61.145.118.208.www > www.59586: S 3861277616:3861277616(0) ack 2228595539 win 5840 <mss 1024,nop,nop,sackOK,nop,wscale 9>
10:54:27.025670 IP www.59586 > 61.145.118.208.www: . ack 1 win 183
10:54:27.026125 IP www.59586 > 61.145.118.208.www: P 1:48(47) ack 1 win 183
10:54:27.056862 IP 61.145.118.208.www > www.59586: . ack 48 win 12
10:54:27.056920 IP www.59586 > 61.145.118.208.www: P 48:127(79) ack 1 win 183
10:54:27.087840 IP 61.145.118.208.www > www.59586: . ack 127 win 12
10:54:27.114369 IP 61.145.118.208.www > www.59586: P 1:331(330) ack 127 win 12
10:54:27.114435 IP www.59586 > 61.145.118.208.www: . ack 331 win 216
10:54:27.116088 IP www.59586 > 61.145.118.208.www: F 127:127(0) ack 331 win 216
10:54:27.150717 IP 61.145.118.208.www > www.59586: F 331:331(0) ack 128 win 12
10:54:27.150790 IP www.59586 > 61.145.118.208.www: . ack 332 win 216
10:54:28.011933 IP www.59587 > 61.145.118.208.www: S 2249958426:2249958426(0) win 5840 <mss 1460,nop,nop,sackOK,nop,wscale 5>
10:54:28.036969 IP 61.145.118.208.www > www.59587: S 3849923300:3849923300(0) ack 2249958427 win 5840 <mss 1024,nop,nop,sackOK,nop,wscale 9>
10:54:28.037057 IP www.59587 > 61.145.118.208.www: . ack 1 win 183
10:54:28.037577 IP www.59587 > 61.145.118.208.www: P 1:52(51) ack 1 win 183
10:54:28.061469 IP 61.145.118.208.www > www.59587: . ack 52 win 12
10:54:28.061555 IP www.59587 > 61.145.118.208.www: P 52:169(117) ack 1 win 183
10:54:28.086041 IP 61.145.118.208.www > www.59587: . ack 169 win 12
10:54:28.111168 IP 61.145.118.208.www > www.59587: . 1:1025(1024) ack 169 win 12
10:54:28.111249 IP www.59587 > 61.145.118.208.www: . ack 1025 win 274
10:54:28.111662 IP 61.145.118.208.www > www.59587: . 1025:2049(1024) ack 169 win 12
10:54:28.111703 IP www.59587 > 61.145.118.208.www: . ack 2049 win 365
10:54:28.137928 IP 61.145.118.208.www > www.59587: P 2049:3073(1024) ack 169 win 12
10:54:28.138004 IP www.59587 > 61.145.118.208.www: . ack 3073 win 457
10:54:28.138429 IP 61.145.118.208.www > www.59587: . 3073:4097(1024) ack 169 win 12
10:54:28.138473 IP www.59587 > 61.145.118.208.www: . ack 4097 win 548

tcpdump.tar

250 KB, 下载次数: 77

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP