chore: update command description

This commit is contained in:
歐歪 committed 2026-10-15 01:33:15 +08:00
1 parent 4405335315
commit 26e762f80d
4 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -10729,7 +10729,7 @@ static int gdm_wipe_verify_uid(const uint8_t *expected_uid) {
static int CmdHF14AGen4_GDM_Wipe(const char *Cmd) {
CLIParserContext *ctx;
CLIParserInit(&ctx, "hf mf gdmwipe",
"Reset a GDM card to a known clean 4-byte template.\n"
"Wipe a GDM card to a known clean 4-byte template.\n"
"Sets UID to 11223344, clears real and hidden data blocks, and sets sector trailers to default values.\n"
"With no wakeup flag it auto-detects a backdoor; a WUPA-only card is rejected.",
"hf mf gdmwipe --gdm"
@@ -12422,7 +12422,7 @@ static command_t CommandTable[] = {
{"gdmgethidblk", CmdHF14AGen4_GDM_GetHidBlk, IfPm3Iso14443a, "Read hidden block from GDM card"},
{"gdmsethidblk", CmdHF14AGen4_GDM_SetHidBlk, IfPm3Iso14443a, "Write hidden block to GDM card"},
{"gdmsetuid", CmdHF14AGen4_GDM_SetUid, IfPm3Iso14443a, "Set UID on GDM card"},
{"gdmwipe", CmdHF14AGen4_GDM_Wipe, IfPm3Iso14443a, "Reset GDM card to a clean template"},
{"gdmwipe", CmdHF14AGen4_GDM_Wipe, IfPm3Iso14443a, "Wipe GDM card to a clean template"},
{"gdmsetsig", CmdHF14AGen4_GDM_SetSig, IfPm3Iso14443a, "Set MFC EV1 signature on GDM card"},
{"-----------", CmdHelp, IfPm3Iso14443a, "----------------------- " _CYAN_("ndef") " -----------------------"},
{"ndefformat", CmdHFMFNDEFFormat, IfPm3Iso14443a, "Format MIFARE Classic Tag as NFC Tag"},
+2 -2
View File
@@ -6393,7 +6393,7 @@
},
"hf mf gdmwipe": {
"command": "hf mf gdmwipe",
"description": "Reset a GDM card to a known clean 4-byte template. Sets UID to 11223344, clears real and hidden data blocks, and sets sector trailers to default values. With no wakeup flag it auto-detects a backdoor; a WUPA-only card is rejected.",
"description": "Wipe a GDM card to a known clean 4-byte template. Sets UID to 11223344, clears real and hidden data blocks, and sets sector trailers to default values. With no wakeup flag it auto-detects a backdoor; a WUPA-only card is rejected.",
"notes": [
"hf mf gdmwipe --gdm"
],
@@ -16787,6 +16787,6 @@
"metadata": {
"commands_extracted": 935,
"extracted_by": "PM3Help2JSON v1.00",
"extracted_on": "2026-10-13T21:05:00+00:00"
"extracted_on": "2026-10-14T15:56:50+00:00"
}
}
+1 -1
View File
@@ -698,7 +698,7 @@ Check column "offline" for their availability.
|`hf mf gdmgethidblk `|N |`Read hidden block from GDM card`
|`hf mf gdmsethidblk `|N |`Write hidden block to GDM card`
|`hf mf gdmsetuid `|N |`Set UID on GDM card`
|`hf mf gdmwipe `|N |`Reset GDM card to a clean template`
|`hf mf gdmwipe `|N |`Wipe GDM card to a clean template`
|`hf mf gdmsetsig `|N |`Set MFC EV1 signature on GDM card`
|`hf mf ndefformat `|N |`Format MIFARE Classic Tag as NFC Tag`
|`hf mf ndefread `|N |`Read and print NDEF records from card`
+1 -1
View File
@@ -1171,7 +1171,7 @@ Sectors 2-15
| `gdmgethidblk` | Read hidden block |
| `gdmsethidblk` | Write a hidden block |
| `gdmsetuid` | Set 4-byte / 7-byte UID, or F3 perso (`--f3d`) |
| `gdmwipe` | Reset to a known clean 4-byte template (`-a` for 4K)|
| `gdmwipe` | Wipe to a known clean 4-byte template (`-a` for 4K) |
| `gdmsetsig` | Write EV1 signature (hidden blocks 5/6), enable sigsec, write default signature key sector |
### libnfc commands