• POST研究


    1,打开登录界面,未输入用户名密码
    POST /c/s/pv HTTP/1.1
    charset: UTF-8
    content-type: application/x-www-form-urlencoded
    accept-encoding: gzip
    User-Agent: Dalvik/1.2.0 (Linux; U; Android 2.2; sdk Build/FRF91)
    Host: c.tieba.baidu.com
    Connection: Keep-Alive
    Content-Length: 344
    、、包内容:
    _client_id=wappc_1380464320942_284&_client_type=2&_client_version=4.2.7&_is_mini=1&_phone_imei=000000000000000&cuid=48D1D740363500A8E87DA28421B6F7F9%7C000000000000000&from=tieba&model=sdk&net_type=1&stErrorNums=0&stMethod=2&stMode=3&stSize=7362&stTime=401&stTimesNum=1&st_type=login&timestamp=1380464348723&sign=FE8B312C8852039886AB539357C4634B

    2:输入名密码后点击登录

    POST /c/s/login HTTP/1.1
    charset: UTF-8
    content-type: application/x-www-form-urlencoded
    accept-encoding: gzip
    User-Agent: Dalvik/1.2.0 (Linux; U; Android 2.2; sdk Build/FRF91)
    Host: c.tieba.baidu.com
    Connection: Keep-Alive
    Content-Length: 374
    包内容:

    _client_id=wappc_1380464320942_284&_client_type=2&_client_version=4.2.7&_is_mini=1&_phone_imei=000000000000000&cuid=48D1D740363500A8E87DA28421B6F7F9%7C000000000000000&from=tieba&isphone=0&model=sdk&net_type=1&passwd=密码&stErrorNums=0&stMethod=1&stMode=3&stSize=78&stTime=246&stTimesNum=1&timestamp=1380464712298&un=用户名&sign=A4BB412F09089C8B6EEA506E390EA9AD

    3:登录成功后发包

    POST /c/f/forum/forumrecommend HTTP/1.1
    charset: UTF-8
    content-type: application/x-www-form-urlencoded
    accept-encoding: gzip
    User-Agent: Dalvik/1.2.0 (Linux; U; Android 2.2; sdk Build/FRF91)
    Host: c.tieba.baidu.com
    Connection: Keep-Alive
    Content-Length: 563
    包内容:
    BDUSS=dqRjZYR0VjUnFsR1lLWnpTbE9GRUc1cU9QZFdwVi16elUybG02QlAyWkl4VzlTQVFBQUFBJCQAAAAAAAAAAAEAAAAcOMwAeHRweWVpaGMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAX------此处隐去一部分-----&_client_id=wappc_1380464320942_284&_client_type=2&_client_version=4.2.7&_is_mini=1&_phone_imei=000000000000000&cuid=48D1D740363500A8E87DA28421B6F7F9%7C000000000000000&from=tieba&model=sdk&net_type=1&stErrorNums=0&stMethod=1&stMode=3&stSize=526&stTime=666&stTimesNum=1&timestamp=1380464713479&sign=4335E7680525DEB64C3D103432A3C902

    服务器返回信息包含用户信息及个人最爱贴吧信息。

    POST /c/s/recentmsg HTTP/1.1 //发送消息

    charset: UTF-8

    content-type: application/x-www-form-urlencoded

    accept-encoding: gzip

    User-Agent: Dalvik/1.2.0 (Linux; U; Android 2.2; sdk Build/FRF91)

    Host: c.tieba.baidu.com

    Connection: Keep-Alive

    Content-Length: 607

    BDUSS=dqRjZYR0VjUnFsR1lLWnpTbE9GQVFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEg4SFJIOEhSOX%7Cc2a3f44e560385b55c058eb2c96ac5ae&_client_id=wappc_1380464320942_284&_client_type=2&_client_version=4.2.7&_is_mini=1&_phone_imei=000000000000000&com_id=951206720&content=%E4%BD%A0%E5%A5%BD%EF%BC%8C%E5%BE%88%E9%AB%98%E5%85%B4%E8%AE%A4%E8%AF%86%E4%BD%A0&cuid=48D1D740363500A8E87DA28421B6F7F9%7C000000000000000&from=tieba&last_msg_id=0&model=sdk&net_type=1&stErrorNums=0&stMethod=1&stMode=3&stSize=171&stTime=527&stTimesNum=1×tamp=1380465587690&user_id=13384342&sign=4D1C9803D54501F8CEF4B1509BB4E259

    POST /c/s/recentmsg HTTP/1.1 //检测消息

    charset: UTF-8

    content-type: application/x-www-form-urlencoded

    accept-encoding: gzip

    User-Agent: Dalvik/1.2.0 (Linux; U; Android 2.2; sdk Build/FRF91)

    Host: c.tieba.baidu.com

    Connection: Keep-Alive

    Content-Length: 613

    BDUSS=dqRjZYR0VjUnFsR1lLWnpTbE9GRUc1cU9QZFdwVi1AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEg4SFJIOEhSOX%7Cc2a3f44e560385b55c058eb2c96ac5ae&_client_id=wappc_1380464320942_284&_client_type=2&_client_version=4.2.7&_is_mini=1&_phone_imei=000000000000000&com_id=951206720&cuid=48D1D740363500A8E87DA28421B6F7F9%7C000000000000000&from=tieba&model=sdk&msg_id=86776479&net_type=1&stErrorNums=0&stMethod=1&stMode=3&stSize=171&stTime=622&stTimesNum=1×tamp=1380465659986&user_id=13384342&sign=B2B53EEF96CC2D69810D38C3651F550A

    签到

    POST /c/c/forum/sign HTTP/1.1

    charset: UTF-8

    content-type: application/x-www-form-urlencoded

    accept-encoding: gzip

    User-Agent: Dalvik/1.2.0 (Linux; U; Android 2.2; sdk Build/FRF91)

    Host: c.tieba.baidu.com

    Connection: Keep-Alive

    Content-Length: 629

    BDUSS=dqRjZYR0VjUnFsR1lAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEg4SFJIOEhSOX%7Cc2a3f44e560385b55c058eb2c96ac5ae&_client_id=wappc_1380464320942_284&_client_type=2&_client_version=4.2.7&_is_mini=1&_phone_imei=000000000000000&cuid=48D1D740363500A8E87DA28421B6F7F9%7C000000000000000&fid=366368&from=tieba&kw=%E5%B0%8F%E7%B1%B3&model=sdk&net_type=1&stErrorNums=0&stMethod=1&stMode=3&stSize=16439&stTime=739&stTimesNum=1&tbs=aefe888bdda6efc51380465949×tamp=1380465961660&sign=BD747814D36D23E3F997D8C2D6149569

  • 相关阅读:
    20160421
    20160420笔记
    第一个随笔
    搬家
    OO第十五次作业
    OO第三次博客作业
    OO5-7次作业总结
    从入门到不放弃——OO第一次作业总结
    第八次团队作业——系统设计和任务分配
    第七次作业-团队选题报告和需求规格说明书
  • 原文地址:https://www.cnblogs.com/plug/p/4557227.html
Copyright © 2020-2023  润新知