mIRC Homepage
Posted By: D4ni $utfdecode locked - 11/01/12 03:24 PM
If you lock $decode in the Options Dialog, $utfdecode will also be locked.

Code:
* Identifier locked in options dialog: $utfdecode


I'd suggest this behavior should be removed since there's no real security risk in using $utfdecode.
Posted By: argv0 Re: $utfdecode locked - 11/01/12 07:31 PM
Well, $decode in itself is also not a "security risk", but it can be used in combination with social engineering tactics that make it one.

But this is nevertheless a good point-- given that 7.x now has Unicode enabled all the time, there should be no scenario where $utf(de|en)code could create obfuscated text for the a client.
Posted By: jaytea Re: $utfdecode locked - 15/01/12 04:26 AM
$utfdecode() can be used in the same malicious way as $decode() because some of the charsets that mIRC supports don't include the latin alphabet
Posted By: argv0 Re: $utfdecode locked - 15/01/12 09:42 AM
I'm under the impression that mIRC 7.x only supports a single charset (unicode). Is this not accurate?
Posted By: jaytea Re: $utfdecode locked - 15/01/12 07:07 PM
Originally Posted By: argv0
I'm under the impression that mIRC 7.x only supports a single charset (unicode). Is this not accurate?


it's the $utf*code identifiers that support other charsets :P

$utfdecode(txt , C) can be used to convert text to Unicode as though it were a series of bytes in charset C. one or more of these charsets contain unreadable characters where the latin alphabet should be. just as $decode(unreadable text, m) can be used to hide readable text/code, so too can $utfdecode(unreadable, C) for certain Cs.
Posted By: argv0 Re: $utfdecode locked - 15/01/12 10:40 PM
Then mIRC could lock only when C is specified. However, I'm a little dubious as to the statement:

Originally Posted By: jaytea
one or more of these charsets contain unreadable characters where the latin alphabet should be


I'm under the impression that all "charset" values of C are just ANSI codepages, but all ANSI codepages share the same ASCII range. So it would seem that there would be no value of C that would create an unreadable builtin command name (since all builtin commands are ASCII).
© mIRC Discussion Forums