The Forum is up for sale: XeNTaX Forum looking for new owner

QuickBMS help?

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Post Reply
User avatar
Wobble
ultra-veteran
ultra-veteran
Posts: 584
Joined: Tue Jan 04, 2005 9:47 pm
Has thanked: 43 times
Been thanked: 112 times

QuickBMS help?

Post by Wobble »

[out]
Last edited by Wobble on Sun Mar 12, 2017 12:21 pm, edited 1 time in total.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 661 times
Contact:

Re: QuickBMS help?

Post by aluigi »

for the interpretation of the results received by peid krypto you must refer to its manual.
I suggest you to make the test also with signsrch to know if the results and the signatures match

now if you want to set a binary key there is no problem because the key in the Encryption field is handled as a C string so if you want to use a key composed by the bytes 0x11 0x22 and 0x33 you must use "\x11\x22\x33"

for using the md5 of a string as key I suggest to wait some hours when I will release a new version of quickbms (0.4.6a) with a small enhancement that will allow to do the whole operation simply using:

Code: Select all

set TMP string "the string on which will be calculated the md5"
encryption md5 ""
string TMP E= TMP # 'E' is different than 'e'!
encryption xtea QUICKBMS_HASH
get SIZE asize
log "decrypted_file.dat" 0 SIZE
you can do it already now with the current version of the tool but it's more laborious because you should use a memory file, so it's better to wait :)

if the 16bytes key is located in the file you must simply read it as a variable and then specifying its size otherwise Encryption will take the length of the key till the first NULL byte as size:

Code: Select all

getdstring KEY 16
encryption xtea KEY "" 0 16
...
User avatar
Wobble
ultra-veteran
ultra-veteran
Posts: 584
Joined: Tue Jan 04, 2005 9:47 pm
Has thanked: 43 times
Been thanked: 112 times

Re: QuickBMS help?

Post by Wobble »

[out]
Post Reply