mIRC Home    About    Download    Register    News    Help

Print Thread
Halt dangerous text? #210510 18/03/09 05:37 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
I just got to think about how mIRC can receive dangerous codes, any way i can make a small alias or something that prevent it from run on all texts? or do i need to filter every event? query - DCC - Topic or Channel text ?


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: Halt dangerous text? [Re: sparta] #210511 18/03/09 05:49 PM
Joined: Jul 2007
Posts: 1,129
T
Tomao Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
I thought mirc had the lock option to disable run?

Re: Halt dangerous text? [Re: sparta] #210512 18/03/09 05:56 PM
Joined: Nov 2006
Posts: 1,559
H
Horstl Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
Messages you receive can only be dagerous (technically) if executed or evaluated by your script - or it should be classified as exploit, to be fixed by Khaled.
Instead of attempts to halt or filter, why don't you prevent evaluation/execution wherever not desired?

Edit: oh, you don't mean received msg but inputs? or third party scripts?

Last edited by Horstl; 18/03/09 05:58 PM.
Re: Halt dangerous text? [Re: Horstl] #210517 18/03/09 08:03 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Both, some channels had a topic that infected you with "script.ini" i believe they named it, that means you receive the dangerous text, and yes, some fetures can be locked true mirc, but if a script needs it to be "unlocked", then it's wide open.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: Halt dangerous text? [Re: sparta] #210527 18/03/09 10:06 PM
Joined: Nov 2006
Posts: 1,559
H
Horstl Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
Well, how can a topic infect you with something? If vanilla mIRC is evaluating channel topics in some circumstances this should go to bug reports (and I doubt it does) - or the evaluation is done by a script, so that script has to be reconsidered and fixed - and I'm sure someone here will be able to assist if necessary and if you track down the relevant part(s).

Re: Halt dangerous text? [Re: sparta] #210528 18/03/09 10:52 PM
Joined: Feb 2005
Posts: 342
R
Rand Offline
Fjord artisan
Offline
Fjord artisan
R
Joined: Feb 2005
Posts: 342
I'd like to see real proof of a topic infecting someone.

Re: Halt dangerous text? [Re: Rand] #210547 19/03/09 06:16 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
It was saved to the log file (if you was logging), and from there triggered somehow, i don't remember how. but as i said before the infection was named script.ini and loaded in to mirc the next time you started it.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }