-
-
Save weizman/84ec8cf91a5a3e8a8e6f168d6a750060 to your computer and use it in GitHub Desktop.
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
function malicious() { | |
const detect = (function(){ | |
const dummy = function(){}; | |
dummy.toString = () => { | |
while (1) {} | |
}; | |
return dummy; | |
}()); | |
// do a malicious action | |
if (window.stealUserCookies) window.stealUserCookies(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment