Perl HTTP post script

Look at the source of the webpage.

HTML:
<form onsubmit="doSubmit()" id="login" action="/login.php" method="post">

Username:

<input type="text" id="f_user" name="f_user" value="" size="16" maxlength="30" />


Password:

<input type="password" id="clearpass" name="clearpass" size="16" maxlength="32" />

There's more, I cut most of it out and only showed the important ones. You might need to read the doSubmit() javascript too.
 
Hm, I fired up Wireshark and logged in manually. And this is what Wireshark spat out.

Code:
f_user=<username>$clearpass=$f_pass=<encrypted_password>&redir=&Login=Login

Is it just a matter of copying this string and pasting it in my POST request?
 
Back
Top