Can't create a photorec.sig for Firebird Database File .gdb

How to use TestDisk to recover lost partition
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
vasn
Posts: 1
Joined: 12 May 2012, 16:50

Can't create a photorec.sig for Firebird Database File .gdb

#1 Post by vasn »

Hi to all.

fidentify always says unknown file type. i tried differents ways for my file type but always says unknown. maybe i was wrong in the way i do.

Code: Select all

[root@servvirtual testdisk-6.14-WIP]# hexdump -C /base/bodega_purranque.gdb | head
00000000  01 00 39 30 ff 05 00 00  00 00 00 00 00 00 00 00  |..90............|
00000010  00 20 0a 00 03 00 00 00  00 00 00 00 af 02 00 00  |. ..............|
00000020  f6 05 00 00 f9 05 00 00  00 00 00 01 df da 00 00  |................|
00000030  00 cc 4e 17 00 00 00 00  00 00 00 00 13 00 01 00  |..N.............|
00000040  01 00 66 00 00 00 00 00  01 00 00 00 f6 05 00 00  |..f.............|
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000060  06 04 20 4e 00 00 00 00  00 00 00 00 00 00 00 00  |.. N............|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00002000  02 00 39 30 b9 05 00 00  00 00 00 00 00 00 00 00  |..90............|
[root@servvirtual testdisk-6.14-WIP]# 

My photorec.sig

Code: Select all

[root@servvirtual testdisk-6.14-WIP]# cat /root/.photorec.sig 
gdb 0 "90"
[root@servvirtual testdisk-6.14-WIP]#

fidentify

Code: Select all

[root@servvirtual testdisk-6.14-WIP]# ./fidentify_static /base/bodega_purranque.gdb 
/base/bodega_purranque.gdb: unknown
[root@servvirtual testdisk-6.14-WIP]#
can't do it work.. :(

i hope someone can help me.

User avatar
remy
Posts: 457
Joined: 25 Mar 2012, 10:21
Location: Strasbourg, France.
Contact:

Re: Can't create a photorec.sig for Firebird Database File .

#2 Post by remy »

Try with
gdb 0 0x01003930ff050000

If it works (I mean if fidentify recognise you file), compare multiple gdb file headers to determine what is the common part in each file.

I'll tell to Christophe to have a look there to add .gdb in next beta version.

Locked