Custom extensions based of txt Topic is solved

Using PhotoRec to recover lost data
Locked
Message
Author
ymiaw
Posts: 1
Joined: 10 Aug 2016, 22:49

Custom extensions based of txt

#1 Post by ymiaw » 10 Aug 2016, 22:57

I have a bunch of files in my corrupted drive which have extensions like .gplan and .dplan, though they are nothing more than plain text files--the extensions are purely to get them to get syntax highlighting in Notepad++.

According to fidentify, those extensions are unkown. However I can't create a signature for them because they are just plain text files and thus have no specific hex header to look for. How can I get these extensions recognized during search?

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 3758
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Custom extensions based of txt

#2 Post by cgrenier » 11 Aug 2016, 21:13

Please share some file samples...

antidot
Posts: 2
Joined: 18 Sep 2016, 09:06

Re: Custom extensions based of txt

#3 Post by antidot » 18 Sep 2016, 09:27

Hello, I have the exact same problem : I'm trying to recover markdown files. The files I'm trying to recover are basically files created with Atom editor and saved with md extensions, or txt files created with Notepad and changed to md extension manually.

In both cases the files cannot be identified by fidentify ("unknown"). Looking at the hex dump of those files does not show any "magic value", it is just plain text.

However other markdown files such as those on github (example on Testdisk's github can be found here : https://raw.githubusercontent.com/cgsec ... /README.md) are properly recognized by fidentify as "txt", although, from what I see from hex version this README.md, there is no magic value either.

Please find sample files attached (sample.md and sample-2.md being not identified by fidentify, while README.md is).
Attachments
markdown-files-sample.zip
(1.5 KiB) Downloaded 45 times

User avatar
cgrenier
Site Admin
Posts: 3758
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Custom extensions based of txt  Topic is solved

#4 Post by cgrenier » 18 Sep 2016, 17:42

fidentify and photorec will failed to detect text files if they are smaller than 100 bytes or if the index of coincidence is not between 0.03 and 0.90.

antidot
Posts: 2
Joined: 18 Sep 2016, 09:06

Re: Custom extensions based of txt

#5 Post by antidot » 20 Sep 2016, 14:22

Thank you very much, that explains it all.

Once again, thank you for that awesome software.

Locked

Who is online

Users browsing this forum: No registered users and 0 guests