0% found this document useful (0 votes)
445 views6 pages

DND Script

This document contains JavaScript code that generates a fake Comcast notification popup window. The window warns of a computer infection and urges the user to visit a security site. It includes buttons to close the window or visit the security site. The code handles dragging and moving the window.

Uploaded by

Thala Pathi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
445 views6 pages

DND Script

This document contains JavaScript code that generates a fake Comcast notification popup window. The window warns of a computer infection and urges the user to visit a security site. It includes buttons to close the window or visit the security site. The code handles dragging and moving the window.

Uploaded by

Thala Pathi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

<script language="JavaScript" type="text/javascript"> var SYS_URL='/e8f6b078-0f35-11de-85c5-efc5ef23aa1f/aupm/[Link]'; var textline1='<b>Your immediate attention is required.

</b> Constant Guard&trade ; identified that one or more of your computers may be infected with a "Bot". We strongly recommend that you visit the Comcast Constant Guard Center for importa nt information on how to remove malicious software from your computer(s).'; var textline2='<a href="[Link] class="comca st_info">How do I know this notice is from Comcast?</a>'; var textline3=''; var button1=''; var button2='<td nowrap width="270" align=\"center\" onClick="[Link]. href=\''+SYS_URL+'?dispatch=ackBulletinRedirectSleep&redirectName=constantguard\ '">Go to Constant Guard Center</td>'; var headertext='COMCAST SERVICE NOTICE'; var headercolor='#FF1939'; var width='1000px'; var contentwidth='700px'; var height='300px'; var bgcolor='#fff'; var posleft='100px'; var postop='50px'; var opacity='0.9'; var opactiy_ie='90'; var noticecolor='#FF1939'; var linkcolor='#0000ff'; var bgcolorbutton='#A3A3A3'; var textcolorbutton='#666666'; var bgcoloroutter='#565656'; var messagecolor='#444444'; if ([Link] == [Link]) { [Link]('<style type="text/css">'); [Link]('#comcast_content {'); [Link]('width: '+width+';'); [Link]('height: '+ height+';'); [Link]('background-color: ' +bgcolor+';'); [Link]('position: absolute; left: '+posleft+'; top: '+postop+';'); [Link]('z-index: 9999999; height: auto; '); [Link]('padding: 0px; '); [Link]('opacity: '+opacity+'; filter: alpha(opacity = '+opactiy_ie+');') ; [Link]('font-size: 9px; font-family: arial,verdana,sans-serif;'); [Link]('text-shadow : none;'); [Link]('text-align : left;'); [Link]('}'); [Link]('#comcast_content img {'); [Link]('border: 0; '); [Link]('align: right '); [Link]('}'); [Link]('#comcast_content table {'); [Link]('padding: 0px;'); [Link]('margin: 0px;'); [Link]('border: none;'); [Link]('line-height: 18px; font-size: 9px; font-family: arial,verdana,sa ns-serif;'); [Link]('}'); [Link]('#comcast_content table td {'); [Link]('text-align: left; '); [Link]('border: none;');

[Link]('line-height: 20px;'); [Link]('vertical-align: bottom;'); [Link]('padding: 0px;'); [Link]('white-space: normal;'); [Link]('}'); [Link]('#comcast_content table.comcast_outter {'); [Link]('border: none;'); [Link]('background-color:'+bgcoloroutter+';'); [Link]('width: 100%;'); [Link]('}'); [Link]('#comcast_content table.comcast_inner {'); [Link]('border: solid 1px '+noticecolor+';'); [Link]('background-color:#fff;'); [Link]('margin: 5px 10px 10px 10px;'); //[Link]('width: '+width+';'); [Link]('cellpadding: 0px;'); [Link]('horizontal-align: center;'); [Link]('}'); [Link]('#comcast_content .comcast_logo {'); [Link]('display: block;'); [Link]('width: 163px;'); [Link]('height: 47px;'); [Link]('padding: 0px 0px 0px 7px;'); [Link]('}'); [Link]('#comcast_content .comcast_title {'); [Link]('color: '+headercolor+';'); [Link]('margin: 7px 7px 7px 7px;'); [Link]('font-size: 23px; '); [Link]('font-weight: bold;'); [Link]('font-family: arial,verdana,sans-serif;'); [Link]('}'); [Link]('#comcast_content .comcast_message {'); [Link]('color: '+messagecolor+';'); [Link]('margin: 7px 7px 7px 7px;'); [Link]('font-size: 15px; '); [Link]('font-family: arial,verdana,sans-serif;'); [Link]('}'); [Link]('#comcast_content a.comcast_info {'); [Link]('color: '+linkcolor+';'); [Link]('margin: 7px 7px 7px 7px;'); [Link]('font-size: 15px; '); [Link]('font-family: arial,verdana,sans-serif;'); [Link]('text-decoration: underline;'); [Link]('float : left;'); [Link]('}'); [Link]('#comcast_content table.comcast_inner td.comcast_indicator {'); [Link]('cursor: pointer;'); [Link]('width: 45px;'); [Link]('height: 115px;'); [Link]('background: '+noticecolor+' none !important;'); [Link]('}'); [Link]('#comcast_content table.comcast_buttons {'); [Link]('vertical-align: bottom;'); [Link]('float: right;'); [Link]('}'); [Link]('#comcast_content .comcast_links {'); [Link]('margin : 0;'); [Link]('}'); [Link]('#comcast_content table.comcast_buttons tr {');

[Link]('vertical-align: bottom;'); [Link]('}'); [Link]('#comcast_content table.comcast_inner tr {'); [Link]('vertical-align: bottom;'); [Link]('}'); [Link]('#comcast_content table.comcast_inner td.comcast_text {'); //[Link]('width: '+contentwidth+';'); [Link]('} '); [Link]('#comcast_content table.comcast_buttons td {'); [Link]('cursor: pointer;'); [Link]('padding-right: 7px;'); [Link]('padding-bottom: 7px;'); [Link]('} '); [Link]('#comcast_content table.comcast_buttons table td {'); [Link]('text-align: center; '); [Link]('font-weight: bold; font-size: 16px; line-height: 26px; font-fami ly: arial,verdana,sans-serif;'); [Link]('border: 1px solid '+bgcolorbutton+' !important; color: '+textcol orbutton+'; '); [Link]('padding: 0px;'); [Link]('padding-left: 10px; padding-right: 10px;'); [Link]('background: #fff;'); [Link]('}'); [Link]('#comcast_content .comcast_title {'); [Link]('background: transparent;'); [Link]('text-align : left;'); [Link]('padding : 0;'); [Link]('}'); [Link]('</style>'); [Link]('<div id=\"comcast_content\" name=\"comcast_content\">'); [Link]('<table class=\"comcast_outter\">'); [Link]('<tr><td>'); [Link]('<img class=\"comcast_logo\" src=\"http:\/\/[Link]\/log [Link]\">'); [Link]('<table class=\"comcast_inner\" cellpadding=\"0\" cellspacing=\"0 \">'); [Link]('<tr>'); [Link]('<td class=\"comcast_indicator\" onmousedown=javascript:dragStart (event,\"comcast_content\")></td>'); [Link]('<td class=\"comcast_text\">'); [Link]('<p class=\"comcast_title\">'+headertext+'</p>'); [Link]('<p class=\"comcast_message\">'+textline1+'</p>'); [Link]('<p class=\"comcast_links\">'+textline2); [Link]('<table class=\"comcast_buttons\"><tr>'); [Link]('<td>'); [Link]('<table cellpadding=\"1\" cellspacing=\"0\" border=\"0\"><tr>'+bu tton1+'</tr></table>'); [Link]('</td><td>'); [Link]('<table cellpadding=\"1\" cellspacing=\"0\" border=\"0\"><tr>'+bu tton2+'</tr></table>'); [Link]('</td>'); [Link]('</tr></table>'); [Link]('</p>'); [Link]('</td>'); [Link]('</tr>'); [Link]('</table>'); [Link]('</td></tr>'); [Link]('</table>'); [Link]('</div>'); }

function Browser() { var ua, s, i; [Link] = false; [Link] = false; [Link] = null; ua = [Link]; s = "MSIE"; if ((i = [Link](s)) >= 1) { [Link] = true; [Link] = parseFloat([Link](i + [Link])); re turn; } s = "Netscape6/"; if ((i = [Link](s)) >= 0) { [Link] = true; [Link] = parseFloat([Link](i + [Link])); re turn; } s = "Gecko"; if ((i = [Link](s)) >= 0) { [Link] = true; [Link] = 6.1; return; } } var browser1 = new Browser(); var dragObj = new Object(); [Link] = 9999; function dragStart(event, id) { var el; var x, y; if (id) [Link] = [Link](id); else { if ([Link]) [Link] = [Link]; if ([Link]) [Link] = [Link]; if ([Link] == 3) [Link] = [Link] Node; } if ([Link]) { x = [Link] + [Link] + documen [Link]; y = [Link] + [Link] + document .[Link]; } if ([Link]) { x = [Link] + [Link]; y = [Link] + [Link]; } [Link] = x; [Link] = y; [Link] = parseInt([Link], 10); [Link] = parseInt([Link], 10); if (isNaN([Link])) [Link] = 100; if (isNaN([Link])) [Link] = 50; if ([Link]) { [Link]("onmousemove", dragGo); [Link]("onmouseup", dragStop); [Link] = true; [Link] = false; } if ([Link]) { [Link]("mousemove", dragGo, true); [Link]("mouseup", dragStop, true); [Link]();

} } function dragGo(event) { var x, y; if ([Link]) { x = [Link] + [Link] + documen [Link]; y = [Link] + [Link] + document .[Link]; } if ([Link]) { x = [Link] + [Link]; y = [Link] + [Link]; } [Link] = ([Link] + x - [Link]) + " px"; [Link] = ([Link] + y - [Link]) + "px "; if ([Link]) { [Link] = true; [Link] = false; } if ([Link]) [Link](); } function dragStop(event) { if ([Link]) { [Link]("onmousemove", dragGo); [Link]("onmouseup", dragStop); } if ([Link]) { [Link]("mousemove", dragGo, true); [Link]("mouseup", dragStop, true); } } var xmlhttp=false; /*@cc_on @*/ /*@if (@_jscript_version >= 5) try { xmlhttp = n ew ActiveXObject("[Link]"); } catch (e) { try { xmlhttp = new ActiveXOb ject("[Link]"); } catch (E) { xmlhttp = false; } } @end @*/ if (!xml http && typeof XMLHttpRequest!='undefined') { try { xmlhttp = new XMLHttpRequest (); } catch (e) { xmlhttp=false; } } if (!xmlhttp && [Link] est) { try { xmlhttp = [Link](); } catch (e) { xmlhttp=false; } } function acknowledge() { sendAck(); [Link]('comcast_content').s [Link]="none"; } function sendAck(){ [Link]("GET", SYS_URL+'?dispatch=ackBulletin',true); x [Link](null) } var comcastCheck=1; var comcastTimer; function checkBulletin(){ if(comcastCheck==0) { return; } [Link]("GET", SYS_URL+'?dispatch=checkBulletin',true); [Link] = function() { if ([Link] == 4) { if([Link]('43a1028c-7d11-11de-b687-1f15c5ad6a13')= =-1){ //[Link]('comcast_content').[Link]="none "; comcastCheck=0; }

comcastTimer=setTimeout("checkBulletin()",5000); }; }; [Link](null); } checkBulletin(); </script>

You might also like