Simple Question *.clog keyfile
Closed this issue · 3 comments
Just curious why a key file is needed to un-xor the .game_logs*.clog?
Was this per request of Gaijin or did you feel the need to do it for some reason? I guess there is also the scenario where the methods you use to do the unpacking didn't work with the .clog files and that you knew there was an extra layer of security for the logs?
I have the key, or a working copy of the key, just have to use it in ,vbs script or compiled .vbs script. Was unable to use the xor key in a keyfile with your clog_unpacker.
Besides just being curious, I also am having trouble with tailing the file. If I use the compiled .vbs script I can only decrypt .clog files that war thunder doesn't have a handle on. If I use the .vbs script in its raw form, I can tail the file but there seems to be a 20Mb cap..
-divine
Hello.
No Gaijin' requests involved, just don't wanna share key (it's not so hard to get it).
No extra layers, xor key only (last time when i test it).
If u wanna use clog_unpacker, key should be in raw form (i.e. not text file, but binary file with size of key).
If you want to google it, you can find something on a forum with the acronym "UC".
Without the forum you can probably still work out the length of the key (128-byte) with https://github.com/hellman/xortool. If you are too lazy to type the key, xortool can also mostly work it out with the assumption that 0x20 is the most frequent byte (the file has a textual body,)
okay so that was really rewarding.. its been a little under two years since I fist asked the question, but messing around with it here and there a few times this last month finally did it. Thought there was a problem because it's 1/2 the size of the files that the vbs script output, but I guess this has something to do with the byte order of 'ANSI' vs 'UTF-16LE BOM'? Didn't help one bit that my explorer preview window gets cut off at a certain length lol.
@Artoria2e5 When I use xortool with -c 0x20 and -l 128 it get's like 95 success or its says its 95% sure. For the most part, the file is okay but get's those little black squared similar to CR LF NUL type, any input?
Anyway, thank you @klensy and @Artoria2e5