Author Topic: Bug, Request and some thanks!  (Read 11612 times)

trevlix

  • Newbie
  • *
  • Posts: 2
Bug, Request and some thanks!
« on: July 20, 2012, 03:53:05 PM »
First, I want to say thank you for such a great piece of software that is updated often!

I was working with the Linux version of TrID (v 2.11) and found a bug. When you specify a filename that contains the current directory in the filename, TrID cannot find the file and errors out.

For example, lets say I have a Linux binary in the current directory named elf_exe. The following runs fine:
Quote
$ trid -d:/usr/local/etc/triddefs.trd elf_exe 

TrID/32 - File Identifier v2.11 - (C) 2003-11 By M.Pontello
Definitions found:  4773
Analyzing...

Collecting data from file: elf_exe
 49.7% (.) ELF Executable and Linkable format (Linux) (4025/14)
 49.4% (.O) ELF Executable and Linkable format (generic) (4000/1)
  0.7% (.CEL) Lumena CEL bitmap (63/63)

However, if I specify the file as ./elf_exe:

Quote
$ trid -d:/usr/local/etc/triddefs.trd ./elf_exe 

TrID/32 - File Identifier v2.11 - (C) 2003-11 By M.Pontello

* Error: found no file(s) to analyze!

It errors out.

Also, is there any way to PGP sign or post the hashes of the files to download for verification?

Thanks again for all your hard work!

Mark0

  • Administrator
  • Hero Member
  • *****
  • Posts: 2743
    • Mark0's Home Page
Re: Bug, Request and some thanks!
« Reply #1 on: July 20, 2012, 03:59:09 PM »
Thanks.
Will try to see what cause the bug with the "./". But Linux isn't my main platform so it may take a bit of time.

About the hashes... Are you referring to TrID's definitions, or the the files to be analyzed?

Bye!

trevlix

  • Newbie
  • *
  • Posts: 2
Re: Bug, Request and some thanks!
« Reply #2 on: July 20, 2012, 04:39:49 PM »
If you need any help, I'm more than happy to assist.

As for the hashes, I meant hashing or signing TrID binary itself.

Mark0

  • Administrator
  • Hero Member
  • *****
  • Posts: 2743
    • Mark0's Home Page
Re: Bug, Request and some thanks!
« Reply #3 on: July 20, 2012, 04:53:28 PM »
As for the hashes, I meant hashing or signing TrID binary itself.

Oh, I see. No, not at the moment.

Thanks,
Bye!