|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Dec 2001
Messaggi: 356
|
Porting Linux per TrID file identifier
![]() TrID è un tool free per identificare i filetype, indipendentemente da nomi ed estensioni. La versione Linux è perfettamente equivalente a quella Win32 e ne condivide lo stesso database. Link al thread corrispondente nell'area utility per qualche info in più: Programmi e Utility - TrID file identifier - adesso con batch scanning & renaming Bye! |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
Codice:
giancarlo@kano:~/tmp$ ./trid trid TrID/32 - File Identifier v2.00/Linux - (C) 2003-06 By M.Pontello Definitions found: 2016 Analyzing... Collecting data from file: trid 100.0% (.O) ELF Executable and Linkable format (generic) (5000/1) Codice:
giancarlo@kano:~/tmp$ file trid trid: ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, corrupted section header size
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
|
|
|
|
|
#3 |
|
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
Ci sto giocando un pò...
Codice:
giancarlo@kano:~/tmp$ mkdir ciao giancarlo@kano:~/tmp$ file ciao ciao: directory Codice:
giancarlo@kano:~/tmp$ ./trid ciao
TrID/32 - File Identifier v2.00/Linux - (C) 2003-06 By M.Pontello
Definitions found: 2016
Analyzing...
Collecting data from file: ciao
Warning: file seems to be plain text/ASCII
TrID is best suited to analyze binary files!
39.8% (.GRA) OpenGL object (4003/2)
19.9% (.WK*) Lotus 123 Worksheet (generic) (2005/4)
10.0% (.TGA) Targa bitmap (Original TGA Format - No Image ID) (1007/3)
9.9% (.ABR) Adobe PhotoShop Brush (1002/3)
9.9% (.BONK) BONK lossless/lossy audio compressor (1001/2)
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
|
|
|
|
|
#4 | |
|
Senior Member
Iscritto dal: Dec 2001
Messaggi: 356
|
Quote:
Bye! |
|
|
|
|
|
|
#5 | |
|
Senior Member
Iscritto dal: Dec 2001
Messaggi: 356
|
Quote:
In effetti, essendo un port da Win32, una cosa del genere non è troppo comune. D'altra parte sotto Linux si potrebbero sicuramente creare delle defs anche i i file system, probabilmente. Bye! |
|
|
|
|
|
|
#6 |
|
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
Umm...
Codice:
giancarlo@kano:~/tmp$ file font.ttf font.ttf: TrueType font data giancarlo@kano:~/tmp$ ./trid font.ttf TrID/32 - File Identifier v2.00/Linux - (C) 2003-06 By M.Pontello Definitions found: 2016 Analyzing... Collecting data from file: font.ttf 100.0% (.CGM) Computer Graphics Metafile (1000/1)
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
|
|
|
|
|
#7 |
|
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
Codice:
giancarlo@kano:~/tmp$ file doc doc: OpenDocument Text giancarlo@kano:~/tmp$ ./trid doc TrID/32 - File Identifier v2.00/Linux - (C) 2003-06 By M.Pontello Definitions found: 2016 Analyzing... Collecting data from file: doc 100.0% (.ZIP) ZIP compressed archive (4000/1)
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
|
|
|
|
|
#8 |
|
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
Codice:
giancarlo@kano:~/tmp$ dd if=/dev/zero of=zero bs=1k count=1
1+0 records in
1+0 records out
1024 bytes (1,0 kB) copied, 9,1e-05 seconds, 11,3 MB/s
giancarlo@kano:~/tmp$ file zero
zero: data
giancarlo@kano:~/tmp$ ./trid zero
TrID/32 - File Identifier v2.00/Linux - (C) 2003-06 By M.Pontello
Definitions found: 2016
Analyzing...
Collecting data from file: zero
Warning: file seems to be plain text/ASCII
TrID is best suited to analyze binary files!
92.0% (.SPU) Spectrum 512 bitmap (160000/1)
2.3% (.GRA) OpenGL object (4003/2)
1.1% (.WK*) Lotus 123 Worksheet (generic) (2005/4)
0.6% (.GMC) Game Music Creator Music (1130/43)
0.5% (.) MacBinary 1 header (1029/4)
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
|
|
|
|
|
#9 |
|
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
Aaaaah!
Codice:
giancarlo@kano:~/tmp$ file /boot/vmlinuz-2.6.17-rc5 /boot/vmlinuz-2.6.17-rc5: Linux kernel x86 boot executable RO-rootFS, root_dev 0x816, swap_dev 0x1, Normal VGA Codice:
giancarlo@kano:~/tmp$ ./trid /boot/vmlinuz-2.6.17-rc5
TrID/32 - File Identifier v2.00/Linux - (C) 2003-06 By M.Pontello
Definitions found: 2016
Analyzing...
Collecting data from file: /boot/vmlinuz-2.6.17-rc5
Unknown!
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
|
|
|
|
|
#10 | |
|
Senior Member
Iscritto dal: Dec 2001
Messaggi: 356
|
Quote:
Non è che potresti mandarmi i 2 files in questione, cosi provvedo (sempre se il doc non ha dati sensibili naturalmente)? Thanks, Bye! |
|
|
|
|
|
|
#11 | |
|
Senior Member
Iscritto dal: Dec 2001
Messaggi: 356
|
Quote:
Thanks, Bye! |
|
|
|
|
|
|
#12 | |
|
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
Quote:
Puoi usare un ttf e un odt di openoffice qualsiasi, credo.
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
|
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 04:18.




















