Home Submitting to a script that redirects
Reply: 0

Submitting to a script that redirects

user1124 Published in July 17, 2018, 7:59 am

i am trying to program a webapp that lets you login to a website but the script that you post to redirects to a members area. I dont want it to do this but i need to access the DOM elements. I cannot change the script. Can someone please help? Here is my code so far:

<form id="loginform" style="margin-bottom:0px" class="new_account" action="Redirecting script" accept-charset="UTF-8" method="post" target="_blank"><input name="utf8" type="hidden" value="✓"><input type="hidden" name="authenticity_token" value="izqHcHPMrExANB0FqTupm6EvQQOtqC+Y2FagJDXtMdasOps4yPX47K1FNTifMq+CSQCF+1TJFluYL7bXkhyDhA=="><div class="logInBox">
<input autocomplete="off" placeholder="Username" type="text" class="inf-logInBox field-with-errors" name="account[user_name]" id="account_user_name">
<div class="passwordBox">
<input type="password" autocomplete="off" placeholder="Password" class="field-with-errors" name="account[password]" id="account_password">
<input type="submit" name="commit" value="login">
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.338052 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO