mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2003
Posts: 22
W
WRFan Offline OP
Ameglian cow
OP Offline
Ameglian cow
W
Joined: Aug 2003
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

Last edited by WRFan; 21/02/04 12:06 PM.
Joined: Sep 2003
Posts: 93
T
Babel fish
Offline
Babel fish
T
Joined: Sep 2003
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

Last edited by Talea; 21/02/04 12:33 PM.
Joined: Aug 2003
Posts: 22
W
WRFan Offline OP
Ameglian cow
OP Offline
Ameglian cow
W
Joined: Aug 2003
Posts: 22
thanx, and how do I ignore such a user forever? should I just remove the

-u20

part?

Joined: Jul 2003
Posts: 742
Hoopy frood
Offline
Hoopy frood
Joined: Jul 2003
Posts: 742
yes


http://MTec89Net.com
irc.freenode.net #MTec89Net
Joined: Aug 2003
Posts: 22
W
WRFan Offline OP
Ameglian cow
OP Offline
Ameglian cow
W
Joined: Aug 2003
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

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

Joined: Aug 2003
Posts: 22
W
WRFan Offline OP
Ameglian cow
OP Offline
Ameglian cow
W
Joined: Aug 2003
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

Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
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,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
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
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Indeed smile

Joined: Aug 2003
Posts: 22
W
WRFan Offline OP
Ameglian cow
OP Offline
Ameglian cow
W
Joined: Aug 2003
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

Joined: Aug 2003
Posts: 22
W
WRFan Offline OP
Ameglian cow
OP Offline
Ameglian cow
W
Joined: Aug 2003
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
}

Last edited by ParaBrat; 09/04/04 04:51 AM.
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
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
Joined: Dec 2006
Posts: 3
G
Self-satisified door
Offline
Self-satisified door
G
Joined: Dec 2006
Posts: 3
hehe

Joined: Dec 2006
Posts: 3
G
Self-satisified door
Offline
Self-satisified door
G
Joined: Dec 2006
Posts: 3
tetetet


Link Copied to Clipboard