Need help to make a custom signature

Using PhotoRec to recover lost data
Post Reply
Message
Author
frevab
Posts: 10
Joined: 21 Dec 2015, 00:38

Need help to make a custom signature

#1 Post by frevab » 04 Jan 2016, 02:51

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.
Attachments
hex.JPG
hex.JPG (59.17 KiB) Viewed 874 times

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 3554
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Need help to make a custom signature

#2 Post by cgrenier » 05 Jan 2016, 18:57

Create a photorec.sig file with
<code>
CbWgc 0 "CamBFile"
</code>
Check that the filename is ok, not photorec.sig.txt.

frevab
Posts: 10
Joined: 21 Dec 2015, 00:38

Re: Need help to make a custom signature

#3 Post by frevab » 05 Jan 2016, 23:34

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?

User avatar
cgrenier
Site Admin
Posts: 3554
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Need help to make a custom signature

#4 Post by cgrenier » 07 Jan 2016, 07:37

To check the signature, use

Code: Select all

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

frevab
Posts: 10
Joined: 21 Dec 2015, 00:38

Re: Need help to make a custom signature

#5 Post by frevab » 24 Jan 2016, 02:43

Thanks you fo your help but I could recover the files without using PhotoRec in the end (see my other post).

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests