Best way to track back calls made between server and user

Saulyx

Junior Member
Joined
Jan 10, 2010
Messages
107
Reaction score
5
Hi there, so I'm building yet another bot with CURL, I've mastered a lot of CURL as it stands however this one I need to control JS site, as CURL doesn't support JS, I need to find a way to track where and how the forms are submitted.

Heres the catch, firebug won't show anything, FORM submits to self without a refresh so it's handled via JS, but if it was, then firebug would show it right?

Doesn't do it tho.. Is there a different tool I could use to track it?

Or how do I track things such as what code was fired upon a click of a button?

Any tips would be useful,

Thanks
 
Download Iron (port of google chrome without google callbacks) and use Menu -> Tools -> Developer Tools. it will show you all the calls.

Load up the page, click the Wrench in the top right. Then goto tools->developer tools

Then click the "Network" tab and it should list requests.. you want to look for POST requests if the form uses POST, and GET requests if it uses GET.

If it's using javascript there's a chance you can find the function in the source code inside
Code:
<form onsubmit="return somejavascriptfunction();" method="post">


download iron from here, it's open source too:
Code:
http://www.srware.net/en/software_srware_iron_download.php
 
Use firebug, watch the console. AJAX requests will show up there with the URL and all the submitted variables.
 
Back
Top