Code: Select all
comtype lzma
# Lunia (CBF archives) (script 0.2)
# script for QuickBMS http://quickbms.aluigi.org
get CBF_SIZE asize
for NEXT_OFF = 0 u< CBF_SIZE
get DATA_SIZE long
savepos NEXT_OFF
math NEXT_OFF + DATA_SIZE
savepos OFFSET
for OFFSET = OFFSET u< NEXT_OFF
get ZSIZE long
get SIZE long
math ZSIZE + 5
savepos OFFSET
clog "" OFFSET ZSIZE SIZE
math OFFSET + ZSIZE
goto OFFSET
next
goto NEXT_OFF
next
Could you guys help me out understanding this? How is it gathering the header of the file and stuff like that.
Is there a small source code that would extract the data from this file in cpp that I could use to go deep into it? Thanks!
I attached a file that has the encryption mentioned.
Thanks so much