mIRC Home    About    Download    Register    News    Help

Print Thread
#71122 11/02/04 11:28 PM
Joined: Dec 2002
Posts: 174
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2002
Posts: 174
Is it possible to block a certain filename coming through, i know you can block filetypes but there's a new trojan going around called speedup and was thinking of adding something in my scripts that can block certains filenames that i choose, would it be something like

on CTCP dcc send { if $filename = speedup.exe halt }

#71123 12/02/04 12:36 AM
Joined: Dec 2002
Posts: 332
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Dec 2002
Posts: 332
never really tried but perhaps you could use
on 1:OPEN:!:
/help On Open

#71124 12/02/04 12:59 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Fastest and simplest method is to create a file with the same name in your download folder, rigth click on it, select properties and make it read only.

Now mirc cant write to the file and the dcc send fails.

this would block the file at the dcc send message tho if u dont like that idea.

CTCP ^*:DCC SEND XDCC_speed_trigga.zip*:halt
CTCP ^*:DCC SEND speedup.exe*:halt

(^ that isnt tested but im sure it works)


Link Copied to Clipboard