Creating a Custom Known File Type for R-Studio

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Creating a Custom Known File Type for R-Studio

Re: Creating a Custom Known File Type for R-Studio

by RForce » Mon Jul 27, 2020 8:38 am

How would R-Studio know if the 2nd instance is part of the file or the start of a new file, due to fragmentation or because of a false positive of the first instance?

Re: Creating a Custom Known File Type for R-Studio

by powermax » Tue Jul 21, 2020 3:16 am

Thanks for the tip. But is it not possible to count how many instances for the end of the file are found and set the end of reading the file when XXX instances are found? Or if that instance is not found for XXX bytes?

Re: Creating a Custom Known File Type for R-Studio

by Alt » Fri Jul 17, 2020 12:58 pm

This is a common problem for Known File Types. Right now the way out is only one: recover the first part of the file, then the rest of the pieces which have only the end signature and "glue" them manually.

Creating a Custom Known File Type for R-Studio

by powermax » Thu Jul 16, 2020 3:16 am

I need to create a custom know file type.
I readed all instruction on https://www.r-studio.com/creating-custo ... %20damaged .

common Begin of file is : \x09\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\x6D\x64\x35\x00\x00\x00
common End of file is : \x69\x62\x53\x75\x6D\x6D\x61\x72\x79\x3E\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00

XML generated by r-studio is :

<?xml version="1.0" encoding="UTF-8"?>
<FileTypeList version="2.0">
<FileType id="50001" group="Archive" description="Veeam Backup" features="" extension="vbk">
<Begin combine="OR">
<Signature>\x09\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\x6D\x64\x35\x00\x00\x00</Signature>
</Begin>
<End combine="OR">
<Signature offset="20">\x69\x62\x53\x75\x6D\x6D\x61\x72\x79\x3E\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00</Signature>
</End>
</FileType>
</FileTypeList>

The problem is that the common End signature is on the middle of file too, and R-Studio break recovery when see it and do not go until the real end of file.

How i can tell to r-studio to go until the last common End signature ?

Top