Hello trid users,
some days ago a friend of mine get a new SIM card for his phone. Before
installing the new card i read the data (telephone numbers, SMS messages
etc.) with a German software called Chipcardmaster found at website with
same name. That is expressed in side TrID definition by line like:
<RefURL>
http://www.chipcardmaster.de/</RefURL>
That software saves and reads telephone numbers and SMS text messages in a
format named "phonebook" with file name extension "PHN". That is expressed
in definition by line like:
<Ext>PHN</Ext>
These files are described by ini.trid.xml as "Generic INI configuration"
(see appended output/trid-v.txt). So i run tridscan on these samples and i
get a trid definition file phn-phonebook.trid.xml.
I delete obviously garbage patterns (0xFF padding patterns). Such phone book
files start with characteristic ASCII text phrase. That is expressed by
pattern block:
<Bytes>5B415554484F525D0D0A415554</Bytes>
<ASCII> [ A U T H O R ] . . A U T</ASCII>
<Pos>0</Pos>
and in global string section by line like:
<String>CHIPCARDMASTER</String>
As second line is found equation like AUTHOR=Chipcardmaster, but i also
found misspelled variant like AUTOR=Chipcardmaster.
The file command also identifies such phone books as Generic INItialization
configuration with ini section starting with 6F (see appended
output/file-5.39.txt). Because such phone books are plain text files the
current file command use mime type text/plain (see appended
output/file-e_soft-i-5.39.txt). Instead of this generic one i choose a user
defined on. That is expressed by line like:
<Mime>text/x-phn</Mime>
With the new definition the undetected Chipcardmaster phonebooks are now
described (see appended output/trid-v-new.txt). TrID definition, some
examples and output are stored in phn.zip. I hope that my XML file can be
used in future version of triddefs.
With best wishes
Jörg Jenderek