make style

This commit is contained in:
iceman1001 2022-10-20 17:35:24 +02:00
commit d3248a7059
3 changed files with 32 additions and 37 deletions

View file

@ -347,6 +347,7 @@ const static vocabulory_t vocabulory[] = {
{ 0, "hf mf gview" }, { 0, "hf mf gview" },
{ 0, "hf mf ndefformat" }, { 0, "hf mf ndefformat" },
{ 0, "hf mf ndefread" }, { 0, "hf mf ndefread" },
{ 0, "hf mf ndefwrite" },
{ 1, "hf mfp help" }, { 1, "hf mfp help" },
{ 0, "hf mfp info" }, { 0, "hf mfp info" },
{ 0, "hf mfp wrp" }, { 0, "hf mfp wrp" },

View file

@ -4364,24 +4364,11 @@
}, },
"hf mf ndefformat": { "hf mf ndefformat": {
"command": "hf mf ndefformat", "command": "hf mf ndefformat",
"description": "format MIFARE Classic Tag as a NFC tag with Data Exchange Format (NDEF) If no <name> given, UID will be used as filename", "description": "format MIFARE Classic Tag as a NFC tag with Data Exchange Format (NDEF) If no <name> given, UID will be used as filename. It will try default keys and MAD keys to detect if tag is already formatted in order to write.",
"notes": [ "notes": [],
"hf mf ndefformat --mini -> MIFARE Mini",
"hf mf ndefformat --1k -> MIFARE Classic 1k",
"hf mf ndefformat --2k -> MIFARE 2k",
"hf mf ndefformat --4k -> MIFARE 4k",
"hf mf ndefformat --keys hf-mf-066C8B78-key.bin -> MIFARE 1k with keys from specified file"
],
"offline": false, "offline": false,
"options": [ "options": [],
"-h, --help This help", "usage": ""
"-k, --keys <fn> filename of keys",
"--mini MIFARE Classic Mini / S20",
"--1k MIFARE Classic 1k / S50 (def)",
"--2k MIFARE Classic/Plus 2k",
"--4k MIFARE Classic 4k / S70"
],
"usage": "hf mf ndefformat [-h] [-k <fn>] [--mini] [--1k] [--2k] [--4k]"
}, },
"hf mf ndefread": { "hf mf ndefread": {
"command": "hf mf ndefread", "command": "hf mf ndefread",
@ -4403,6 +4390,25 @@
], ],
"usage": "hf mf ndefread [-hvb] [--aid <aid>] [-k <key>] [-f <fn>]" "usage": "hf mf ndefread [-hvb] [--aid <aid>] [-k <key>] [-f <fn>]"
}, },
"hf mf ndefwrite": {
"command": "hf mf ndefwrite",
"description": "Write raw NDEF hex bytes to tag. This commands assumes tag already been NFC/NDEF formatted.",
"notes": [
"hf mf ndefread -d 0300FE -> write empty record to tag",
"hf mf ndefread -f myfilename"
],
"offline": false,
"options": [
"-h, --help This help",
"-d <hex> raw NDEF hex bytes",
"-f, --file <fn> write raw NDEF file to tag",
"--mini MIFARE Classic Mini / S20",
"--1k MIFARE Classic 1k / S50 (def)",
"--2k MIFARE Classic/Plus 2k",
"--4k MIFARE Classic 4k / S70"
],
"usage": "hf mf ndefwrite [-h] [-d <hex>] [-f <fn>] [--mini] [--1k] [--2k] [--4k]"
},
"hf mf nested": { "hf mf nested": {
"command": "hf mf nested", "command": "hf mf nested",
"description": "Execute Nested attack against MIFARE Classic card for key recovery", "description": "Execute Nested attack against MIFARE Classic card for key recovery",
@ -10529,24 +10535,11 @@
}, },
"nfc mf cformat": { "nfc mf cformat": {
"command": "nfc mf cformat", "command": "nfc mf cformat",
"description": "format MIFARE Classic Tag as a NFC tag with Data Exchange Format (NDEF) If no <name> given, UID will be used as filename", "description": "format MIFARE Classic Tag as a NFC tag with Data Exchange Format (NDEF) If no <name> given, UID will be used as filename. It will try default keys and MAD keys to detect if tag is already formatted in order to write.",
"notes": [ "notes": [],
"hf mf ndefformat --mini -> MIFARE Mini",
"hf mf ndefformat --1k -> MIFARE Classic 1k",
"hf mf ndefformat --2k -> MIFARE 2k",
"hf mf ndefformat --4k -> MIFARE 4k",
"hf mf ndefformat --keys hf-mf-066C8B78-key.bin -> MIFARE 1k with keys from specified file"
],
"offline": false, "offline": false,
"options": [ "options": [],
"-h, --help This help", "usage": ""
"-k, --keys <fn> filename of keys",
"--mini MIFARE Classic Mini / S20",
"--1k MIFARE Classic 1k / S50 (def)",
"--2k MIFARE Classic/Plus 2k",
"--4k MIFARE Classic 4k / S70"
],
"usage": "hf mf ndefformat [-h] [-k <fn>] [--mini] [--1k] [--2k] [--4k]"
}, },
"nfc mf cread": { "nfc mf cread": {
"command": "nfc mf cread", "command": "nfc mf cread",
@ -11394,8 +11387,8 @@
} }
}, },
"metadata": { "metadata": {
"commands_extracted": 720, "commands_extracted": 721,
"extracted_by": "PM3Help2JSON v1.00", "extracted_by": "PM3Help2JSON v1.00",
"extracted_on": "2022-10-16T15:53:13" "extracted_on": "2022-10-20T15:33:35"
} }
} }

View file

@ -509,7 +509,8 @@ Check column "offline" for their availability.
|`hf mf gen3freeze `|N |`Perma lock UID changes. irreversible` |`hf mf gen3freeze `|N |`Perma lock UID changes. irreversible`
|`hf mf gview `|N |`View card` |`hf mf gview `|N |`View card`
|`hf mf ndefformat `|N |`Format MIFARE Classic Tag as NFC Tag` |`hf mf ndefformat `|N |`Format MIFARE Classic Tag as NFC Tag`
|`hf mf ndefread `|N |`Prints NDEF records from card` |`hf mf ndefread `|N |`Read and print NDEF records from card`
|`hf mf ndefwrite `|N |`Write NDEF records to card`
### hf mfp ### hf mfp