make style

This commit is contained in:
Philippe Teuwen 2022-01-23 20:02:57 +01:00
commit 140a7f34a4
9 changed files with 53 additions and 50 deletions

View file

@ -4339,9 +4339,9 @@
"0..3: number of keys stored within the application (max. 14 keys)", "0..3: number of keys stored within the application (max. 14 keys)",
"4: ks3 is present", "4: ks3 is present",
"5: use of 2 byte iso fid, 0: no, 1: yes", "5: use of 2 byte iso fid, 0: no, 1: yes",
"6..7: crypto method 00: des/2tdea, 01: 3tdea, 10: aes, 11: rfu", "6..7: crypto method 00: des|2tdea, 01: 3tdea, 10: aes, 11: rfu",
"example:", "example:",
"2e = with fid, des/2tdea, 14 keys", "2e = with fid, des|2tdea, 14 keys",
"6e = with fid, 3tdea, 14 keys", "6e = with fid, 3tdea, 14 keys",
"ae = with fid, aes, 14 keys", "ae = with fid, aes, 14 keys",
"", "",
@ -4354,25 +4354,25 @@
"-h, --help this help", "-h, --help this help",
"-a, --apdu show apdu requests and responses", "-a, --apdu show apdu requests and responses",
"-v, --verbose show technical data", "-v, --verbose show technical data",
"-n, --keyno <keyno> key number", "-n, --keyno <dec> key number",
"-t, --algo <des/2tdea/3tdea/aes> crypt algo: des, 2tdea, 3tdea, aes", "-t, --algo <des|2tdea|3tdea|aes> crypt algo: des, 2tdea, 3tdea, aes",
"-k, --key <key> key for authenticate (hex 8(des), 16(2tdea or aes) or 24(3tdea) bytes)", "-k, --key <hex> key for authenticate (hex 8(des), 16(2tdea or aes) or 24(3tdea) bytes)",
"-f, --kdf <none/an10922/gallagher> key derivation function (kdf): none, an10922, gallagher", "-f, --kdf <none|an10922|gallagher> key derivation function (kdf): none, an10922, gallagher",
"-i, --kdfi <kdfi> kdf input (hex 1-31 bytes)", "-i, --kdfi <kdfi> kdf input (hex 1-31 bytes)",
"-m, --cmode <plain/mac/encrypt> communicaton mode: plain/mac/encrypt", "-m, --cmode <plain|mac|encrypt> communicaton mode: plain/mac/encrypt",
"-c, --ccset <native/niso/iso> communicaton command set: native/niso/iso", "-c, --ccset <native|niso|iso> communicaton command set: native/niso/iso",
"-s, --schann <d40/ev1/ev2/lrp> secure channel: d40/ev1/ev2/lrp", "-s, --schann <d40|ev1|ev2|lrp> secure channel: d40/ev1/ev2/lrp",
"--rawdata <rawdata hex> rawdata that sends to command", "--rawdata <hex> raw data that sends to command",
"--aid <app id hex> application id for create. mandatory. (3 hex bytes, big endian)", "--aid <hex> application id for create. mandatory. (3 hex bytes, big endian)",
"--fid <file id hex> iso file id. forbidden values: 0000 3f00, 3fff, ffff. (2 hex bytes, big endian). if specified - enable iso file id over all the files in the app.", "--fid <hex> iso file id. forbidden values: 0000 3f00, 3fff, ffff. (2 hex bytes, big endian). if specified - enable iso file id over all the files in the app.",
"--dfname <df name str> iso df name 1..16 chars string", "--dfname <string> iso df name 1..16 chars string",
"--ks1 <key settings hex> key settings 1 (hex 1 byte). application master key settings. default 0x0f", "--ks1 <hex> key settings 1 (hex 1 byte). application master key settings. default 0x0f",
"--ks2 <key settings hex> key settings 2 (hex 1 byte). default 0x0e", "--ks2 <hex> key settings 2 (hex 1 byte). default 0x0e",
"--dstalgo <des/2tdea/3tdea/aes> application key crypt algo: des, 2tdea, 3tdea, aes. default des", "--dstalgo <des|2tdea|3tdea|aes> application key crypt algo: des, 2tdea, 3tdea, aes. default des",
"--numkeys <number of keys> keys count. 0x00..0x0e. default 0x0e", "--numkeys <dec> number of keys 0x00..0x0e. default 0x0e",
"--no-auth execute without authentication" "--no-auth execute without authentication"
], ],
"usage": "hf mfdes createapp [-hav] [-n <keyno>] [-t <des/2tdea/3tdea/aes>] [-k <key>] [-f <none/an10922/gallagher>] [-i <kdfi>] [-m <plain/mac/encrypt>] [-c <native/niso/iso>] [-s <d40/ev1/ev2/lrp>] [--rawdata <rawdata hex>] [--aid <app id hex>] [--fid <file id hex>] [--dfname <df name str>] [--ks1 <key settings hex>] [--ks2 <key settings hex>] [--dstalgo <des/2tdea/3tdea/aes>] [--numkeys <number of keys>] [--no-auth]" "usage": "hf mfdes createapp [-hav] [-n <dec>] [-t <des|2tdea|3tdea|aes>] [-k <hex>] [-f <none|an10922|gallagher>] [-i <kdfi>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [-s <d40|ev1|ev2|lrp>] [--rawdata <hex>] [--aid <hex>] [--fid <hex>] [--dfname <string>] [--ks1 <hex>] [--ks2 <hex>] [--dstalgo <des|2tdea|3tdea|aes>] [--numkeys <dec>] [--no-auth]"
}, },
"hf mfdes createfile": { "hf mfdes createfile": {
"command": "hf mfdes createfile", "command": "hf mfdes createfile",
@ -9983,22 +9983,25 @@
"description": "help this help list list protocol data in trace buffer load load trace from file save save trace buffer to file --------------------------------------------------------------------------------------- trace list available offline: yes annotate trace buffer with selected protocol data you can load a trace from file (see `trace load -h`) or it be downloaded from device by default", "description": "help this help list list protocol data in trace buffer load load trace from file save save trace buffer to file --------------------------------------------------------------------------------------- trace list available offline: yes annotate trace buffer with selected protocol data you can load a trace from file (see `trace load -h`) or it be downloaded from device by default",
"notes": [ "notes": [
"trace list -t raw -> just show raw data without annotations", "trace list -t raw -> just show raw data without annotations",
"",
"trace list -t 14a -> interpret as iso14443-a", "trace list -t 14a -> interpret as iso14443-a",
"trace list -t thinfilm -> interpret as thinfilm",
"trace list -t topaz -> interpret as topaz",
"trace list -t mf -> interpret as mifare classic and decrypt crypto1 stream",
"trace list -t des -> interpret as mifare desfire",
"trace list -t 14b -> interpret as iso14443-b", "trace list -t 14b -> interpret as iso14443-b",
"trace list -t 7816 -> interpret as iso7816-4",
"trace list -t 15 -> interpret as iso15693", "trace list -t 15 -> interpret as iso15693",
"trace list -t iclass -> interpret as iclass", "trace list -t 7816 -> interpret as iso7816-4",
"trace list -t legic -> interpret as legic", "trace list -t cryptorf -> interpret as cryptorf",
"",
"trace list -t des -> interpret as mifare desfire",
"trace list -t felica -> interpret as iso18092 / felica", "trace list -t felica -> interpret as iso18092 / felica",
"trace list -t hitag1 -> interpret as hitag1", "trace list -t hitag1 -> interpret as hitag1",
"trace list -t hitag2 -> interpret as hitag2", "trace list -t hitag2 -> interpret as hitag2",
"trace list -t hitags -> interpret as hitags", "trace list -t hitags -> interpret as hitags",
"trace list -t iclass -> interpret as iclass",
"trace list -t legic -> interpret as legic",
"trace list -t lto -> interpret as lto-cm", "trace list -t lto -> interpret as lto-cm",
"trace list -t cryptorf -> interpret as cryptorf", "trace list -t mf -> interpret as mifare classic and decrypt crypto1 stream",
"trace list -t seos -> interpret as seos",
"trace list -t thinfilm -> interpret as thinfilm",
"trace list -t topaz -> interpret as topaz",
"", "",
"trace list -t mf --dict <mfc_default_keys> -> use dictionary keys file", "trace list -t mf --dict <mfc_default_keys> -> use dictionary keys file",
"trace list -t 14a -f -> show frame delay times", "trace list -t 14a -f -> show frame delay times",
@ -10205,6 +10208,6 @@
"metadata": { "metadata": {
"commands_extracted": 598, "commands_extracted": 598,
"extracted_by": "PM3Help2JSON v1.00", "extracted_by": "PM3Help2JSON v1.00",
"extracted_on": "2022-01-17T10:37:00" "extracted_on": "2022-01-23T19:02:27"
} }
} }