Custom File Type Set Size

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Custom File Type Set Size

Re: Custom File Type Set Size

by Alt » Thu Mar 18, 2021 9:20 am

Yes, this is a good idea. Thank you!

Custom File Type Set Size

by whereisroom » Wed Mar 17, 2021 5:27 pm

Hi Everyone,

I am attempting a recovery for a video files from a security camera NVR. I have read all the documentation on creating a custom file type but I am having issues with the end file signature. The last few sectors of the files are always 0's and then the last line is random. I've tried setting a few sectors of 0's as the end of the signature with the proper offset but it doesn't work. So It is finding the correct files with just the beginning signature but the files do not stop at the apporpirate spot. I have to go into the hex editor and manually save them from 0 to offset 0x3ffffff and the files come out perfectly.

The thing is the video files are always exactly the same size and end at offset 0x3ffffff . Is there a way to make a known file type that and say here is the beginning signature and for the end just cut off the file at 0x3ffffff ?

Thanks in advance for any advice or suggestions you have!

Top