A *.cs file is a code file for C# a Microsoft development language.
I followed the instructions on the Wiki http://www.cgsecurity.org/wiki/Add_your ... o_PhotoRec but I could not get fidentity to work.
Can someone help?
I created a file called photorec.cs and the contents are cs 0 "Visual C# Source file (.cs)"
Setup a signature for a *.cs file
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Re: Setup a signature for a *.cs file
*BUMP*
Anybody? I'm really struggling
Anybody? I'm really struggling
Re: Setup a signature for a *.cs file
OK I think I have it working.
My sig file looks like this
However when I check with fidentity it returns ?cs instead of cs
I ran PhotoRec but its so far returned 3500 files.
Is there any way I can narrow it down any more?
My sig file looks like this
Code: Select all
cs 0 0xEF 0xBB 0xBF
I ran PhotoRec but its so far returned 3500 files.
Is there any way I can narrow it down any more?
Re: Setup a signature for a *.cs file
If you still exerience any problems send a file pattern to Christophe Grenier;
http://www.cgsecurity.org/wiki/PhotoRec#Problems_.3F
Fiona
http://www.cgsecurity.org/wiki/PhotoRec#Problems_.3F
Fiona
Re: Setup a signature for a *.cs file
I'll ask him about the question mark but I was hoping of a way to restrict the searching more as it takes 1hr 30mins to do the search and returns over 4500 files. I only need about 50 files that were deleted.
Re: Setup a signature for a *.cs file
forget 0xEF 0xBB 0xBF .. it's just the signature for UTF-8 encoded files...
what you need is:
and human readable:
... are unprintable chars - mostly UTF8-BOM - that's so far.. maybe we could collect some signatures for source-files here to restore more visual-studio related files
what you need is:
Code: Select all
cs 0 0xefbbbf6e616d657370616365
cs 0 0x6e616d65737061636520
cs 0 0x7573696e6720
cs 0 0xefbbbf7573696e6720
sln 0 0xefbbbf0d0a4d6963726f736f66742056
userprefs 0 0xefbbbf3c50726f706572746965733e0a
Code: Select all
cs 0 ...namespace
cs 0 namespace
cs 0 using
cs 0 ...using
sln 0 .....Microsoft V
userprefs 0 ...<Properties>.
- cgrenier
- Site Admin
- Posts: 5437
- Joined: 18 Feb 2012, 15:08
- Location: Le Perreux Sur Marne, France
- Contact:
Re: Setup a signature for a *.cs file
When you create your signature file, be carefull that it doesn't itself begin by an UTF-8 or UTF-16 BOM. I have added this warning on the wiki.