Created
November 6, 2011 07:08
-
-
Save iwinux/1342582 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
for i in {1..9999} | |
do | |
curl http://www.sysulove.com/lovetree/myapp/index.php/Friend/friendPersonalPage/friend_id/$i --cookie "<Paste your browser cookies here>" > $i.html | |
sleep 0.5 | |
done |
whatisit
commented
Nov 7, 2011
via email
弄好了firebug,firecookie,cookie里面有PHPSESSID 等好几个,--cookie参数应该怎么填了?
这一组 cookie 值用分号隔开,然后用引号包起来,示例:
curl --cookie "rtime=1; ltime=xxxxxxx; cnzz_eid=xxxx; PHPSESSID=xxxxxx; cnzz_a3581173=xxx; sin3581173="
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment