Thread: packing-format
View Single Post
  #5  
Old 11-11-2004, 03:05
ArC ArC is offline
VIP
 
Join Date: Jan 2003
Location: NTOSKRNL.EXE
Posts: 172
Rept. Given: 0
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 5
Thanks Rcvd at 17 Times in 12 Posts
ArC Reputation: 1
Quote:
this file has no crypto or something else, all files are in plain there...
Well if all files are in plaintext (as I understand from this statement) then it
should be easy to write an own unpacker for this un-gz-ed file.
What you have described looks like a structure of the following format
Code:
struct ungzfile
{
unsigned long dwOffset; // Offset of the file
char szFilename[256];    // name of the file, maybe more than 256 bytes
}
So if you wanted to extract all files you just "read out" this structure and store all offsets in an array until you reach the offset of the first entry. Now that you know the offsets of the files you can extract them.
Reply With Quote