Page 1 of 1

Photorec custom file format (*.abc) but using no signature

Posted: 07 Mar 2013, 04:31
by PeterB
Hi there,

How do I use (Photorec ?) to recover all files with a specific custom extension (e.g. *.abc) but without specifying a particular signature? This file does not have a constant signature anywhere in its contents.

I have followed the instructions here

http://www.cgsecurity.org/wiki/Add_your ... o_PhotoRec

And using a null string at offset zero, but understandably that doesn't work.

regards
Peter

Re: Photorec custom file format (*.abc) but using no signatu

Posted: 10 Mar 2013, 18:03
by cgrenier
If there is no constant specific to the file type, the data need at least to have some properties that can be use to identify the file. In this case, a programmer can add the necessary code to PhotoRec.

Re: Photorec custom file format (*.abc) but using no signatu

Posted: 11 Mar 2013, 01:47
by PeterB
The files are binary and encrypted so unfortunately the only common property is its extension. Is that at all possible to cater for by writing specific source code for PhotoRec ?

Re: Photorec custom file format (*.abc) but using no signatu

Posted: 24 Mar 2013, 18:51
by cgrenier
The only possibility will be to add some code to test the decryption of each data block and if it works, consider it's the beginning of a new file.