I`m searching for an auto login script written in perl, which automatically creates a forum login at the end of nph-build.cgi.
All I have is this code:
Code:
<form action="http://www.some-forum.de/login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password,vb_login_md5password_utf)">
<script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td class="smallfont">Benutzername - USERNAME </td>
<td><input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="MyUserName" onfocus="if (this.value == 'Benutzername') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />Angemeldet bleiben?</label>
</td>
</tr>
<tr>
<td class="smallfont">Kennwort - PASSWORD</td>
<td><input type="password" class="button" name="vb_login_password" size="10" accesskey="p" value="MyPASSWORD" tabindex="2" /></td>
<td><input type="submit" class="button" value="Anmelden - LOGIN" tabindex="4" title="Gib zur Anmeldung deinen Benutzernamen und dein Kennwort in die dafür vorgesehenen Textfelder ein oder klicke auf die 'Registrieren'-Schaltfläche, um ein neues Benutzerkonto anzulegen." accesskey="s" /></td>
</tr>
</table>
<!-- ATTENTION: name="s" : value = SessionID -->
<input type="hidden" name="s" value="d2e1f7b5dcfb23729db3d12efae2b06d" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="forceredirect" value="1" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
</div>
The idea behind is to log into a forum and post new or updated links each time when the database has been rebuilt.
The new or updated links posting should be posted by nph-build.cgi .
I know it could become difficult ...
... because in later steps nph-build.cgi must receive the response of the website (for example : to store the posting identity).
Thanks for incoming replies
.
Andreas
Dr.Windows