I was trying some sort of timed programming challenges which require getting the value from url and auto-posting.<div>Here is what I was doing - <a href="http://securityoverride.com/challenges/programming/10/index.php">http://securityoverride.com/challenges/programming/10/index.php</a></div>

<div><br></div><div>Here is the content :</div><div><meta http-equiv="content-type" content="text/html; charset=utf-8">In order to complete Programming Challenge 10, you must code a script 
that will search the moo directory, and all subdirectories for the three
 passwords below. Once complete, you must submit the folder number that 
goes with each password (the folder that the password was found in).<br>
Example: 1:e92nb0s4; 50:un2r9nw7; 100:48bn20b6</div><div><br></div><div>Then three _random_ passwords are generated.  So far so good.  I did wrote a code using mechanize to do this.</div><div>Here is the Code : <a href="http://codepad.org/nHJtTTmL">http://codepad.org/nHJtTTmL</a></div>

<div><br></div><div>The issue is br (i.e. mechanize.Browser instance) opens the page, fetches data, crawl gets the solution, but when it comes back, sort of refresh behavior is emulated.  Refresh changes the original strings.  Can't I simply 'submit'.  When I simply try to submit, since it is on targeturl/foo/ , it doesn't get any form as the form is on target url.</div>

<div><br></div><div>Any ideas/suggestions/hints.</div><div><br>-- <br>~l0nwlf<br>
</div>