Hello! This isn't hacking, strictly speaking, but I am a neophyte trying to come up with a windows batch file to automate http post and I've run into a bit of a bump in the road.
What I am trying to do is, every X minutes, I would like the script to log in, fill out the form and post (not sure if it's relevant, but the submit button has no name). This is a two-stage post (both pages sharing the same url) and the first post will call either a failure page or a verification page. IF it is the verification page (tricky to distinguish due to url conflation, but I'm thinking maybe outputting the page and setting up an if statement to scan the result for a certain word that will exist only in the verification stage) => I would like it to fill out the resulting form (case sensitive) and post.
I have some vague ideas about using cURL to do this, but beyond that I seem to have gotten a bit turned around. Please see attached txt for comments. I started off in a windows batch file, but I could switch to iOS bash or terminal scripting if they are better suited for the task. Finally, I apologise for the ridiculously puny script I've commented on, but I have no prior experience in this and have had to learn as I went along in a couple of hours due to a certain urgency in the matter. If anyone could point me even vaguely in the right direction, I would be very much grateful. Thank you!