XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Wed Sep 19, 2018 4:46 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: File ID
PostPosted: Tue Jun 13, 2006 11:43 am 
Offline
VIP member
VIP member

Joined: Sun Jul 31, 2005 4:12 am
Posts: 225
Has thanked: 0 time
Have thanks: 1 time

It looks like the most false proof way to recognise the file is the look at File ID, that initial Hex Stamp. I know that FileExt.com has that included in the characteristic and detailed description of each file. However, to make that process of verification faster, perhaps list showing this ID and then file type wold be helpful. Anyone knows if such a list exists, please post the link.

And then therre are those on line file analysers. One here
http://mark0.net/onlinetrid.aspx.
Any others?

I wonder how such a analyzer works? Does it scan just the begining of the file or it searches for the ID string in the body of the file too. Sometimes the searched and recognisable file is burried inside.

You can make the ads go away by registering



Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 13, 2006 8:46 pm 
Offline
VVIP member
VVIP member

Joined: Thu Aug 05, 2004 10:17 am
Posts: 412
Has thanked: 0 time
Have thanks: 1 time
this initial hexstamp (signature) isn't always accurate, there are many files which don't include one, or some where its not the in the front. Examples of this are MP3's or JPEGs. Mp3s only have a signature for say "ID2/3" tags, and JPEG's signature is after the first 4 bytes.

But an example of a program like what you posted, is *nix's "file" command. Under linux you can use "man magic" to find more information on how to add more, including the file that stores the "algo" to figure out a file.

example of an entry: ZIP

Code:
# ZIP archives (Greg Roelofs, c/o zip-bugs@wkuvx1.wku.edu)
0 string    PK\003\004  Zip archive data
>4  byte    0x09    \b, at least v0.9 to extract
>4  byte    0x0a    \b, at least v1.0 to extract
>4  byte    0x0b    \b, at least v1.1 to extract
>4  byte    0x14    \b, at least v2.0 to extract

_________________
"By nature men are alike. Through practice they have become far apart." Confucius (Analect 17:2)


Top
 Profile  
 
 Post subject: Re: File ID
PostPosted: Thu Jun 15, 2006 2:06 pm 
Offline
ultra-n00b
User avatar

Joined: Tue Jun 13, 2006 1:09 pm
Posts: 2
Location: Venice, Italy
Has thanked: 0 time
Have thanks: 0 time
My first post here. I came to know about this forum / site trough Dinoguy1000 and seeing some refereer on my site log.
So Hi! to all! :)

Xela wrote:
I wonder how such a analyzer works? Does it scan just the begining of the file or it searches for the ID string in the body of the file too. Sometimes the searched and recognisable file is burried inside.

My TrID does something like that. It both checks for patterns on the header and for specific tokens around the file.

Bye!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 16, 2006 4:18 am 
Offline
VIP member
VIP member

Joined: Sun Jul 31, 2005 4:12 am
Posts: 225
Has thanked: 0 time
Have thanks: 1 time
Thank you Marco for popping in and reply.
TRID is 8)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 18, 2006 1:46 pm 
Offline
ultra-n00b
User avatar

Joined: Tue Jun 13, 2006 1:09 pm
Posts: 2
Location: Venice, Italy
Has thanked: 0 time
Have thanks: 0 time
Thanks! :)

Bye!



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Google [Bot] and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group