Thread: maya recipe
View Single Post
Old 10-27-2010, 04:36 PM   #53
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by marbs View Post
hint?
I didn't have much time, but briefly, what's happening is you have some java running when you enter a next page number at the bottom of your page. That number is added to a POST which goes to your url. You saw the POST in TamperData. You need to simulate it, or at least simulate the important parts, like rsSearchRes_PgNo.

It's done as follows:

Code:
        data = urllib.urlencode({ 'rsSearchRes_PgNo':'2'})
        url = 'http:// whatever'
        br.open(url, data)
That just sets one value. I don't know how much testing you did with TamperData, but you can empty the values, or delete them entirely. You may need to test with the various parameters actually deleted in tampered TamperDAta POST commands to make sure that's the only item needed. If you need more, you can add as many parameters in the data = line as you want to be sent by the POST.

The data that you send in the POST can be seen with:
Code:
        # Print HTTP headers.
        br.set_debug_http(True)
Starson17 is offline   Reply With Quote