• 请不要在回答技术问题时复制粘贴 AI 生成的内容
d0a1ccec
V2EX  ›  程序员

关于一个投票的页面,想尽了办法,但是死活抓不到post投票的地址,大神们帮忙看看把

  •  
  •   d0a1ccec · Sep 5, 2012 · 5329 views
    This topic created in 5031 days ago, the information mentioned may be changed or developed.
    9 replies    1970-01-01 08:00:00 +08:00
    ong
        1
    ong  
       Sep 5, 2012
    function doSubmit
    DouO
        2
    DouO  
       Sep 5, 2012   ❤️ 1
    curl -X POST http://vh.jschina.com.cn/2012sjyy/vote.asp -d "txtID=0004&m=load"

    txtID 就是医院编号
    d0a1ccec
        3
    d0a1ccec  
    OP
       Sep 5, 2012   ❤️ 1
    @ong

    function doSubmit(id){
    document.frm.txtID.value = id;
    document.frm.action = "vote.asp?" + Math.random();
    document.frm.target = "w_hidden";
    //document.frm.encoding = "application/x-www-form-urlencoded";
    document.frm.submit();
    }

    看过了,"vote.asp?" + Math.random()

    不解啊。每次提交都是随机数
    d0a1ccec
        4
    d0a1ccec  
    OP
       Sep 5, 2012
    @DouO 囧,我乌龙了。原来txtid就是医院编号
    DouO
        5
    DouO  
       Sep 5, 2012
    @d0a1ccec 这个可以无视
    treo
        6
    treo  
       Sep 5, 2012   ❤️ 1
    这个不是吗

    POST http://vh.jschina.com.cn/2012sjyy/vote.asp?0.75825699427664 HTTP/1.1
    Accept: text/html, application/xhtml+xml, */*
    Referer: http://vh.jschina.com.cn/2012sjyy/
    Accept-Language: zh-CN,de-DE;q=0.5
    User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)
    Content-Type: application/x-www-form-urlencoded
    Accept-Encoding: gzip, deflate
    Host: vh.jschina.com.cn
    Content-Length: 17
    Connection: Keep-Alive
    Pragma: no-cache
    Cookie: ASPSESSIONIDCQSQTDCQ=NOLIEKDDPKLEPPBAHLOLBPAP

    txtID=0006&m=load
    treo
        7
    treo  
       Sep 5, 2012
    来晚了,刚刚还没人回复呢。。
    d0a1ccec
        8
    d0a1ccec  
    OP
       Sep 5, 2012
    @treo 哈,这个随机的可以无视掉了

    看一下2楼~你就明白了
    enj0y
        9
    enj0y  
       Sep 5, 2012
    楼主,使用chrome开发者功能你就可以轻松抓包了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5509 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 09:01 · PVG 17:01 · LAX 02:01 · JFK 05:01
    ♥ Do have faith in what you're doing.