I try to create a custom format XML to recover a large (~200 GB) file of VHD format.
As per format, the start and end signatures of VHD file are absolutely the same and have length 512 bytes starting from "conectix".
Here is the current version of the XML file:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<FileTypeList>
<FileType id="113" group="Disk Images" description="Virtual PC Virtual HD Image" extension="vhd">
<Signature from="begin" offset="0">\x63\x6f\x6e\x65\x63\x74\x69\x78\x00\x00\x00\x02\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00</Signature>
<Signature from="end" offset="512" size="512">\x63\x6f\x6e\x65\x63\x74\x69\x78\x00\x00\x00\x02\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00</Signature>
</FileType>
</FileTypeList>
What could be my mistake and how can I improve?
Thank you in advance for the detailed reply!