mIRC Home    About    Download    Register    News    Help

Topic Options
#72274 - 21/02/04 12:06 PM need a script to prevent the matrix2 virus
WRFan Offline
Ameglian cow

Registered: 30/08/03
Posts: 22
you certainly know that infamous matrix2 virus. can somebody provide a mirc script that would prevent the chat window with the virus instructions from opening and automatically set the user who sent the message on ignore? otherwise I always have to close that window manually


Edited by WRFan (21/02/04 12:06 PM)

Top
#72275 - 21/02/04 12:31 PM Re: need a script to prevent the matrix2 virus
Talea Offline
Babel fish

Registered: 09/09/03
Posts: 93
Use:

on ^*:open:?:*: {
if (*matrix* iswm $1-) {
if ($wildsite !isignore) { ignore -u20 $wildsite }
var %i = $comchan($nick,0)
echo -s 4,1 *** $nick ( $+ $address $+ ) message'd you saying:8 $1- 
haltdef
}
dec %i
}

What this will do is never open the msg window, ignore the user for 20 seconds and echo the msg he sent to your status window - if you do not wish to see the echo just take out the echo -s line. smile

Talea


Edited by Talea (21/02/04 12:33 PM)

Top
#72276 - 21/02/04 05:07 PM Re: need a script to prevent the matrix2 virus
WRFan Offline
Ameglian cow

Registered: 30/08/03
Posts: 22
thanx, and how do I ignore such a user forever? should I just remove the

-u20

part?

Top
#72277 - 21/02/04 05:18 PM Re: need a script to prevent the matrix2 virus
MTec89 Offline
Hoopy frood

Registered: 25/07/03
Posts: 742
Loc: Ohio, U.S.A.
yes
_________________________
http://MTec89Net.com
irc.freenode.net #MTec89Net

Top
#72278 - 22/02/04 11:27 AM Re: need a script to prevent the matrix2 virus
WRFan Offline
Ameglian cow

Registered: 30/08/03
Posts: 22
thanx. I extended it a little bit, incl. the "mirc speedup" virus:

Code:

on ^*:open:?:*: {
  if (*mircspeedup* iswm $1-) || (*b24gISsxOmpvaW46Izp7IC5hdXNlciAyI* iswm $1-) {
    if ($wildsite !isignore) { ignore $wildsite }
    var %i = $comchan($nick,0)
    echo -s 4,0 *** $nick ( $+ $address $+ ) message'd you saying:6 $1- 
    haltdef
  }
  dec %i
}



seems to work blush

Top
#72279 - 22/02/04 01:13 PM Re: need a script to prevent the matrix2 virus
Online Offline
Hoopy frood

Registered: 09/12/02
Posts: 1922
You can remove the "var %i" and "dec %i" lines as they have no value for the script, and use timed ignore (/ignore -uN $wildsite) so those addresses will not stay forever in your list.

Top
#72280 - 22/02/04 01:35 PM Re: need a script to prevent the matrix2 virus
WRFan Offline
Ameglian cow

Registered: 30/08/03
Posts: 22
actually I want them to stay forever in the ignore list, people who spread viruses belong in that list for ever and ever

Top
#72281 - 22/02/04 02:41 PM Re: need a script to prevent the matrix2 virus
Online Offline
Hoopy frood

Registered: 09/12/02
Posts: 1922
Keep in mind that those people do not do it intentionally; it's just the script they are infected with. Once they manage to remove it, there is no reason to deny them. Also, $wildsite represents the full *!*@host (or IP) that is likely to change whenever the user reconnects to his ISP, so keeping it for long duration would have no effect.

Top
#72282 - 22/02/04 08:49 PM Re: need a script to prevent the matrix2 virus
LocutusofBorg Offline
Hoopy frood

Registered: 23/03/03
Posts: 1271
Loc: Sunnydale, CA
You can remove the if ($wildsite !isignore) too -- if the user is already ignored, the script wouldn't be triggering to begin with
_________________________
DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius

Top
#72283 - 22/02/04 08:54 PM Re: need a script to prevent the matrix2 virus
Online Offline
Hoopy frood

Registered: 09/12/02
Posts: 1922
Indeed smile

Top
#72284 - 23/02/04 10:56 AM Re: need a script to prevent the matrix2 virus
WRFan Offline
Ameglian cow

Registered: 30/08/03
Posts: 22
Quote:

Keep in mind that those people do not do it intentionally; it's just the script they are infected with. Once they manage to remove it, there is no reason to deny them.

yes, but the fact is that all the people who ever tried to send me viruses/virus messages are useless to me in terms of files download. I only use irc for downloads, not for chatting, so if a user has no server running, he's of no use to me, so he can stay in the ignore list for ever.

Quote:

Also, $wildsite represents the full *!*@host (or IP) that is likely to change whenever the user reconnects to his ISP, so keeping it for long duration would have no effect


I know, that's the problem with dynamic IPs that are used by most people, no effective ignoring is possible

Top
#72285 - 08/04/04 11:41 PM Re: need a script to prevent the matrix2 virus
WRFan Offline
Ameglian cow

Registered: 30/08/03
Posts: 22
a new variation of a virus appeared on irc, the message looks like this:

Quote:

Sup $username, [IMPORTANT] you infected with the viri "mircpseedup.exe" ? Destructive Danger download the patch and remove the virus smile <some nasty url here> Network Staff


mirc-team.tk is just a redirect for the virus, don't go there!

here's an updated script to prevent such pms from opening:

Code:
on ^*:open:?:*: {
  if (*mirc-team.tk* iswm $1-) || *mircspeedup* iswm $1-) || (*Come watch me on my webcam* iswm $1-)  ||  (*/freesex.exe* iswm $1-) || (*b24gISsxOmpvaW46Izp7IC5hdXNlciAyI* iswm $1-) || (*/xdccaccel.exe* iswm $1-) {
    if ($wildsite !isignore) { ignore $wildsite }
    var %i = $comchan($nick,0)
    echo -s 4,15 *** $nick ( $+ $address $+ ) message'd you saying:6 $1- 
    haltdef
  }
  dec %i
}


Edited by ParaBrat (09/04/04 05:51 AM)

Top
#72286 - 09/04/04 02:29 AM Re: need a script to prevent the matrix2 virus
Mentality Offline
Planetary brain

Registered: 01/06/03
Posts: 5024
Loc: London, England
Just an additonal note, the people who run nohack.net (#Nohack on DALnet) have started recommending this script (direct download) to find and help clean many mIRC-related infections. An AOp of the channel made it and it includes the Matrix2 and script.ini backdoors.

Also, it's best not to place infected URLs in posts, even if you state it's infected - curiosity gets the best of a lot of people, or people may click it before they see your warning simply because of the less "virus like" URL (i.e. it's not a free hosting URL).

Regards,
_________________________
Mentality/Chris

Top
#166978 - 17/12/06 09:07 PM Re: need a script to prevent the matrix2 virus [Re: MTec89]
gangstaaa Offline
Self-satisified door

Registered: 17/12/06
Posts: 3
hehe

Top
#166979 - 17/12/06 09:10 PM Re: need a script to prevent the matrix2 virus [Re: WRFan]
gangstaaa Offline
Self-satisified door

Registered: 17/12/06
Posts: 3
tetetet

Top