Brute Force Automating Data Input Form
Given an input dialog webpage, how would I automate input?
Say I've got a page with several checkboxes and input dialogs and I have the
source. I need to use this thing to input data many times from a set of
known data. How would I do this?
Could I take the source and run a shellscript to extract the input
statements, somehow convert them all into a whole bunch of assignment
statements and the somehow execute it?
Could I somehow access the global variable over and over again, setting a
value and "submitting" the data in a loop?
Or would I have to actually take the thing apart and find out what SQL
tables are used and put an SQL script together?
Or am I banging my head against the wall without having direct access to the
SQL, security, passwords, etc.?
I don't have any problem with it being a brute force or clumsy approach,
since it'll just help me learn more, but at the moment, I'm completely at a loss.
The term brute here isn't exactly the best one, batch would be more appropriate. To batch submit, you simply establish direct connection to the submission form using sockets or curl, and submit your post data headers which you construct from the batch via looping (assumed post). Ignore the HTML completely as its of no relevance.
Although if you have control, I would program it to handle the batch input via files and either upload them or simply open a specific file.
I think that your looking for cURL PHP Post .. then run a loop to input the other batch of data
Check this out : http://www.electrictoolbox.com/php-curl-form-post/
And google more of 'cURL PHP Post'.
|All times are GMT +1. The time now is 04:54 PM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.