Current command:
hf ntag424 changefs --help
Updates file settings for file, must be authenticated. This is a short explanation of the settings. See AN12196 for more information: options: byte with bit flags Bit: Setting: 6 Enable SDM and mirroring access: two byte access rights. Each nibble is a key number, or E for free access. Order is key for readwrite, change, read and write sdmoptions: byte with bit flags Bit: Setting: 0 ASCII encoding 4 SDMEncFileData 5 SDMReadCtrLimit 6 SDMReadCtr 7 SDMOptionsUID sdmaccess: two byte access rights. Each nibble is a key, or E for plain mirror and F for no mirroring Order is Reserved, SDMCtrRet, SDMMetaRead and SDMFileRead sdm_data: Three bytes of data used to control SDM settings. Can be specified multiple times. Data means different things depending on settings. Note: Not all of these settings will be written. It depends on the option byte, and the keys set. See AN12196 for more information. You must also start with sdmdata1, then sdmdata2, up to the number of sdm_data you want to write usage: hf ntag424 changefs [-h] --fileno <dec> --keyno <dec> -k <hex> [-o <hex>] [-a <hex>] [-s <hex>] [-c <hex>] options: -h, --help This help --fileno <dec> File number --keyno <dec> Key number -k, --key <hex> Key for authentication (HEX 16 bytes) -o, --options <hex> File options byte (HEX 1 byte) -a, --access <hex> File access settings (HEX 2 bytes) -s, --sdmoptions <hex> SDM options (HEX 1 byte) -c, --sdmaccess <hex> SDM access settings (HEX 2 bytes) --data1 <hex> SDM data (HEX 3 bytes) --data2 <hex> SDM data (HEX 3 bytes) --data3 <hex> SDM data (HEX 3 bytes) --data4 <hex> SDM data (HEX 3 bytes) --data5 <hex> SDM data (HEX 3 bytes) --data6 <hex> SDM data (HEX 3 bytes) --data7 <hex> SDM data (HEX 3 bytes) --data8 <hex> SDM data (HEX 3 bytes) examples/notes: hf ntag424 changefs --fileno 2 --keyno 0 -k 00000000000000000000000000000000 -o 40 -a 00E0 -s C1 -c F000 --data1 000020 --data2 000043 --data3 000043