火车采集器软件交流官方论坛

 找回密码
 加入会员
搜索
火车采集器V9版免费下载火车浏览器 - 可视采集,万能群发,全自动脚本工具
查看: 7721|回复: 10

英文phpbb、SMF 等论坛的登陆模块

[复制链接]
发表于 2007-12-31 10:52:13 | 显示全部楼层 |阅读模式
做英文phpbb、SMF 等论坛的登陆模块时,遇到困难。请高手帮忙!

截取的POST是:(注意红色部分,是个每次POST都不一样的值,都是7d7*******的形式)
POST /smf/index.php?action=post2;start=0;board=1 HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Referer: http://www.yy1y.com/smf/index.php?action=post;board=1.0
Accept-Language: zh-cn
Content-Type: multipart/form-data; boundary=---------------------------7d7f36704ea
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)


截取的文章发布POST:

-----------------------------7d7f36704ea
Content-Disposition: form-data; name="guestname"
nnnnn
-----------------------------7d7f36704ea
Content-Disposition: form-data; name="email"
ggg@ggg.com
-----------------------------7d7f36704ea
Content-Disposition: form-data; name="subject"
22222222222
-----------------------------7d7f36704ea
Content-Disposition: form-data; name="icon"
xx
-----------------------------7d7f36704ea
Content-Disposition: form-data; name="message"
33333333333
-----------------------------7d7f36704ea
Content-Disposition: form-data; name="attachment[]"; filename=""
Content-Type: application/octet-stream

-----------------------------7d7f36704ea
Content-Disposition: form-data; name="post"
鍙戝笘
-----------------------------7d7f36704ea
Content-Disposition: form-data; name="additional_options"
0
-----------------------------7d7f36704ea
Content-Disposition: form-data; name="sc"
c71ad73b7c3ab5bb88386022c50bf591
-----------------------------7d7f36704ea
Content-Disposition: form-data; name="seqnum"
151536
-----------------------------7d7f36704ea--


我仔细查过了,boundary=---------------------------7d7f36704ea  在所有网页源代码中是找不到的,所以不能像登陆随机值一样设置

请问,这个boundary=---------------------------7d7f36704ea  

应该怎么搞定??


给大家测试网址:www.yy1y.com/smf/    或   www.yy1y.com/phpbbe/     二个英文测试论坛,都设成“游客”也能发贴,不存在登陆问题。  

高手指点!!英文phpbb、SMF 等论坛的登陆模块

[ 本帖最后由 o51888 于 2007-12-31 11:00 编辑 ]
发表于 2007-12-31 12:12:32 | 显示全部楼层
7d7f36704ea 那个没用,不用管。
 楼主| 发表于 2007-12-31 12:58:12 | 显示全部楼层
原帖由 rq204 于 2007-12-31 12:12 发表
7d7f36704ea 那个没用,不用管。


那是不是简单去掉就可以了?
像这样:
Content-Disposition: form-data; name="guestname"
nnnnn
Content-Disposition: form-data; name="email"
ggg@ggg.com
Content-Disposition: form-data; name="subject"
22222222222
Content-Disposition: form-data; name="icon"
xx
Content-Disposition: form-data; name="message"
33333333333
Content-Disposition: form-data; name="attachment[]"; filename=""
Content-Type: application/octet-stream
Content-Disposition: form-data; name="post"
鍙戝笘
Content-Disposition: form-data; name="additional_options"
0
Content-Disposition: form-data; name="sc"
c71ad73b7c3ab5bb88386022c50bf591
Content-Disposition: form-data; name="seqnum"
151536


怎样写这段代码?
谢谢指点
 楼主| 发表于 2007-12-31 13:40:08 | 显示全部楼层
改成这样好像也不对:



Content-Disposition: form-data; name="guestname"
[标签:作者]
-----------------------------[标签:sj]
Content-Disposition: form-data; name="email"
ggg@ggg.com
Content-Disposition: form-data; name="subject"
[标签:标题]

Content-Disposition: form-data; name="icon"
xx

Content-Disposition: form-data; name="message"
[标签:内容]

Content-Disposition: form-data; name="attachment[]"; filename=""
Content-Type: application/octet-stream


Content-Disposition: form-data; name="post"
鍙戝笘

Content-Disposition: form-data; name="additional_options"
0

Content-Disposition: form-data; name="sc"
[登录随机值1]

Content-Disposition: form-data; name="seqnum"
[登录随机值2]


该怎么搞呢??恳求指点,急啊,谢谢

[ 本帖最后由 o51888 于 2007-12-31 13:42 编辑 ]
发表于 2007-12-31 14:13:46 | 显示全部楼层
guestname=nnnnn&email=ggg@ggg.com&subject=22222222222&icon=xx&message=33333333333&attachment[]=&post=鍙戝笘&additional_options=0&sc=c71ad73b7c3ab5bb88386022c50bf591&seqnum=151536
 楼主| 发表于 2007-12-31 15:21:34 | 显示全部楼层
问题已解决,非常感谢!!

发表于 2008-1-5 15:48:53 | 显示全部楼层
解决了就发出来看看
发表于 2008-1-13 21:11:29 | 显示全部楼层
共享一下吧
发表于 2008-1-14 20:09:28 | 显示全部楼层
5楼的正解
发表于 2008-1-27 22:15:07 | 显示全部楼层
共享一下吧
您需要登录后才可以回帖 登录 | 加入会员

本版积分规则

QQ|手机版|Archiver|火车采集器官方站 ( 皖ICP备06000549 )

GMT+8, 2024-11-16 18:00

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表