PhotoRec: recover Microsoft Works Database .wdb

This commit is contained in:
Christophe Grenier 2008-04-22 09:49:00 +02:00
parent 7c3da60f80
commit ebb9602f99

View file

@ -150,6 +150,11 @@ static int header_check_doc(const unsigned char *buffer, const unsigned int buff
{
file_recovery_new->extension="pub";
}
else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL
|| td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL)
{ /* Microsoft Works .wdb */
file_recovery_new->extension="wdb";
}
else if(td_memmem(buffer,buffer_size,"C\0O\0N\0T\0E\0N\0T\0S\0",16)!=NULL)
{ /* Microsoft Works .wps */
file_recovery_new->extension="wps";