Sunday, March 13, 2011

Ancient Backup Files - Part 2

So I spent the last several hours (mostly since my last post) looking at these ancient backup files again and I actually made some headway. I also found that my HEX skillz are very rusty :/

Here is what I have figured out so far

* Junk             16 bytes - no clue what this is and I don't think I care
* 
* Start of block       4 bytes     FF FF FF FF
* Header Descriptor    8 bytes
*      Header size     2 byte
*      Other Data      6 bytes
* Header               (Header Size Bytes)
*      Stuff           8 bytes
*          Something
*          Date / Time
*      File Size       4 bytes
*      File Name       12 bytes
*      String Separator 1 byte      00
*      Full Path of file (variable)
*      String Separator 1 byte      00
* Unknown Data     4 bytes
* File Size        4 bytes
* 
* File Data (variable)
* 
* File Trailer     4 bytes
I was able to pull the first file out properly, now to write the routine to cycle through the whole 'tape' and see if I can pull in all the files :)

Of course, I'm doing it in C#... suppose I could have done it in PHP but I guess I just figured it should be a windows app. Using BinaryReader to get the data and BinaryWriter to write it to disk.

No comments:

Post a Comment

Comments are moderated. We're only going to allow stuff that we find funny, interesting, or just plain for the heck of it. If you don't like that, feel free to leave.

Copyright Realm Laboratories, LLC