Zeratulsdomain
Aug 20th, 2009, 04:27 AM
Here is an image link:
http://img124.cocoimage.com/img.php?id=1394402495&q=
If you dont have JS enabled you will notice a blank page were you are supposed to click a link (same links with some GET vars?). Once you click that link it will bring you to the image page.
My problem is, my script gets these links out of the blank page, then sends a HTTP request to the page (with the current page set as the ref)... Problem is, the reply is sometimes the same page with a longer link (long GET vars).
My script it setup to loop 8 times before giving up. Ive had it work on the first attempt, and ive had it work on the 8th attempt (were the link is over 5000 chars) and ive had it fail sometimes...
Whats going on?
Ive tried spoofing some of the HTTP headers with no luck. Ive even tried to spoof both the cookie vars (one changes every few minutes). Ive also tried loading them up in firefox then my program and looking at the packet difference in wireshark.
edit: It does seem to be the VC cookie. Even if I send the correct one, coco keeps sending me a longer and longer link till it sends me a NEW vc cookie (+1), and at that point it also gives me the proper HTML. In firefox I always get a "set-cookie" and the proper page when I click the link, even if cookies were disabled.
http://img124.cocoimage.com/img.php?id=1394402495&q=
If you dont have JS enabled you will notice a blank page were you are supposed to click a link (same links with some GET vars?). Once you click that link it will bring you to the image page.
My problem is, my script gets these links out of the blank page, then sends a HTTP request to the page (with the current page set as the ref)... Problem is, the reply is sometimes the same page with a longer link (long GET vars).
My script it setup to loop 8 times before giving up. Ive had it work on the first attempt, and ive had it work on the 8th attempt (were the link is over 5000 chars) and ive had it fail sometimes...
Whats going on?
Ive tried spoofing some of the HTTP headers with no luck. Ive even tried to spoof both the cookie vars (one changes every few minutes). Ive also tried loading them up in firefox then my program and looking at the packet difference in wireshark.
edit: It does seem to be the VC cookie. Even if I send the correct one, coco keeps sending me a longer and longer link till it sends me a NEW vc cookie (+1), and at that point it also gives me the proper HTML. In firefox I always get a "set-cookie" and the proper page when I click the link, even if cookies were disabled.