I am trying to extract the contents of the Master File Table (MFT). I have copied the MFT from my NTFS volume and saved it as a .bin file. Now I am trying to read this file using the unpack
function provided in Python. I am reading the 8 bits allocated for the actual file size stored in the File Name attribute of a file record like this
d['real_fsize'] = struct.unpack("<d",s[48:56])[0]
The problem I am facing is that the file size I am getting is like 3.5e-323. The MFT saves the file size in bytes but the answer I am getting seems to be absurd. So is there any way I could correct it?