mfterm
mfterm copied to clipboard
Terminal for working with Mifare Classic 1-4k Tags
well, it worked after compilation :)
mfterm.c: In function ‘completion_sub_cmd_generator’: mfterm.c:263:5: error: ‘strncpy’ specified bound 128 equals destination size [-Werror=stringop-truncation] strncpy(buff, name, sizeof(buff)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘completion_spec_generator.part.0’, inlined from ‘completion_spec_generator’ at mfterm.c:287:7: mfterm.c:334:7: error: ‘strncpy’ output...
Every path autocomplete adds space at the end of path. For example our file is located at `/folder/blabla/dict.txt` ``` $ dict load /folder/bla ``` Will complete path to ``` dict...
If importing keys from a card with 4k, not all keys get transfered to the keys variable.
Implement a format command that will set a specific UID, set the keys currently in keys state, set sane ACL and clear all other data
Add functions to verify and compute the check byte. This is particularly useful with the pirate cards.
Review the parser code, dictionary and spec, from a security perspective. Make sure there are no memory corruption bugs, etc..
Introduce the value type and the address type into the language. Make it possible to use the address to define type offsets.
Introduce support for defining constant values in the specification language. These could be used in assignment operations if spec path assignment has been implemented.
Add support for setting data using the path syntax. E.g. .sector0.header.uid = 123