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

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

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

    txtID 就是医院编号
    d0a1ccec
    d0a1ccec
    OP
    Sep 5, 2012❤️1
    3
    @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
    d0a1ccec
    OP
    Sep 5, 2012
    4
    @DouO 囧,我乌龙了。原来txtid就是医院编号
    DouO
    DouO
    Sep 5, 2012
    5
    @d0a1ccec 这个可以无视
    treo
    treo
    Sep 5, 2012❤️1
    6
    这个不是吗

    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
    treo
    Sep 5, 2012
    7
    来晚了,刚刚还没人回复呢。。
    d0a1ccec
    d0a1ccec
    OP
    Sep 5, 2012
    8
    @treo 哈,这个随机的可以无视掉了

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