Page 1 of 1

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

Posted: 12 May 2012, 17:01
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.

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

Posted: 15 May 2012, 09:17
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.