Need help to make a custom signature

Using PhotoRec to recover lost data
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
frevab
Posts: 10
Joined: 21 Dec 2015, 00:38

Need help to make a custom signature

#1 Post 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.
Attachments
hex.JPG
hex.JPG (59.17 KiB) Viewed 3819 times

User avatar
cgrenier
Site Admin
Posts: 5432
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 »

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 »

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: 5432
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 »

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 »

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

Locked