mIRC Home    About    Download    Register    News    Help

Print Thread
W
WRFan
WRFan
W
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

Last edited by WRFan; 21/02/04 12:06 PM.
T
Talea
Talea
T
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

Last edited by Talea; 21/02/04 12:33 PM.
W
WRFan
WRFan
W
thanx, and how do I ignore such a user forever? should I just remove the

-u20

part?

Joined: Jul 2003
Posts: 733
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jul 2003
Posts: 733
yes

W
WRFan
WRFan
W
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

Joined: Dec 2002
Posts: 1,893
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,893
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.

W
WRFan
WRFan
W
actually I want them to stay forever in the ignore list, people who spread viruses belong in that list for ever and ever

Joined: Dec 2002
Posts: 1,893
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,893
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.

Joined: Mar 2003
Posts: 1,256
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,256
You can remove the if ($wildsite !isignore) too -- if the user is already ignored, the script wouldn't be triggering to begin with

Joined: Dec 2002
Posts: 1,893
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,893
Indeed smile

W
WRFan
WRFan
W
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

W
WRFan
WRFan
W
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
}

Last edited by ParaBrat; 09/04/04 04:51 AM.
Joined: Jun 2003
Posts: 4,670
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 4,670
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,

G
gangstaaa
gangstaaa
G
hehe

G
gangstaaa
gangstaaa
G
tetetet


Link Copied to Clipboard