summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2018-10-30 18:58:55 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2018-10-30 18:58:55 +0100
commita6da0c4b9691c19f6daed3aab17a4b5fafa88429 (patch)
tree42801e687ea689431a7ad00fff29c4da45125e6b
parent2d9a2936ddd583e392111d773f203ceeee95cdc6 (diff)
PhotoRec: recover Adobe Premiere gzipped .prproj
-rw-r--r--src/file_gz.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/file_gz.c b/src/file_gz.c
index 27fe3de..31f4e12 100644
--- a/src/file_gz.c
+++ b/src/file_gz.c
@@ -235,6 +235,12 @@ static int header_check_gz(const unsigned char *buffer, const unsigned int buffe
file_recovery_new->extension="als";
return 1;
}
+ if(memcmp(buffer_uncompr, "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<PremiereData", 0x34)==0)
+ {
+ /* Adobe Premiere */
+ file_recovery_new->extension="prproj";
+ return 1;
+ }
if(strstr((const char*)&buffer_uncompr, "<!DOCTYPE KMYMONEY-FILE>")!=NULL)
{
file_recovery_new->extension="kmy";