mIRC Home    About    Download    Register    News    Help

Print Thread
#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,.) }
Joined: Jul 2007
Posts: 1,129
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
I thought mirc had the lock option to disable run?

Joined: Nov 2006
Posts: 1,559
H
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.
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,.) }
Joined: Nov 2006
Posts: 1,559
H
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).

Joined: Feb 2005
Posts: 342
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Feb 2005
Posts: 342
I'd like to see real proof of a topic infecting someone.

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,.) }

Link Copied to Clipboard