Page 1 of 1

Need help to make a custom signature

Posted: 04 Jan 2016, 02:51
by frevab
Hi there

I nbeed some help to make a custom signature.
I have tried it but did not work.

The file extention is .CbWgc
The content of the files starts with "CamBFile" (see attach screenprint of the hex editor)

So I use Notepad and typed:

pfi 0 "CamBFile"

and saved the notepad file as photorec.sig as the instructions on http://www.cgsecurity.org/wiki/Add_your ... o_PhotoRec suggested.

What did I do wrong?

I located the file in the same folder as the PhotoRec_Win.exe as I want to recover this file from a external drive.

Re: Need help to make a custom signature

Posted: 05 Jan 2016, 18:57
by cgrenier
Create a photorec.sig file with
<code>
CbWgc 0 "CamBFile"
</code>
Check that the filename is ok, not photorec.sig.txt.

Re: Need help to make a custom signature

Posted: 05 Jan 2016, 23:34
by frevab
does not work

c:\testdisk-7.1-WIP>fidentify_win photorec.sig
photorec.sig: unknown


also with other file name:
c:\testdisk-7.1-WIP>fidentify_win test.sig
test.sig: unknown

tried notepad file saved with ANSi code as well as UTF-8 code.

What do I do wrong?

Re: Need help to make a custom signature

Posted: 07 Jan 2016, 07:37
by cgrenier
To check the signature, use

Code: Select all

c:\testdisk-7.1-WIP>fidentify_win sample_file.CbWgc

Re: Need help to make a custom signature

Posted: 24 Jan 2016, 02:43
by frevab
Thanks you fo your help but I could recover the files without using PhotoRec in the end (see my other post).