Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1680

Quote mangling in TCC

$
0
0
What's going on here?

Code:
C:\>set test=%@char[8220 8220 8220 8220]

C:\>echo %@ascii[%test]
34 8220 8220 8220

C:\>

I can only guess. Perhaps TCC temporarily hides the first quote in a string by replacing it with 0x201C before some sensitive operation, then changing it back afterwards? If it's something like that, may I suggest using a noncharacter like 0xFDEF instead?

Viewing all articles
Browse latest Browse all 1680

Trending Articles