From 26e762f80d92b50a0f945cae9278d89f5ff8ab23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AD=90=E6=AD=AA?= Date: Thu, 15 Oct 2026 01:33:15 +0800 Subject: [PATCH] chore: update command description --- client/src/cmdhfmf.c | 4 ++-- doc/commands.json | 4 ++-- doc/commands.md | 2 +- doc/magic_cards_notes.md | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client/src/cmdhfmf.c b/client/src/cmdhfmf.c index 24192a9cb..0638d888c 100644 --- a/client/src/cmdhfmf.c +++ b/client/src/cmdhfmf.c @@ -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"}, diff --git a/doc/commands.json b/doc/commands.json index 4b20b0016..293091c2f 100644 --- a/doc/commands.json +++ b/doc/commands.json @@ -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" } } diff --git a/doc/commands.md b/doc/commands.md index 59ae528a4..df6c6e716 100644 --- a/doc/commands.md +++ b/doc/commands.md @@ -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` diff --git a/doc/magic_cards_notes.md b/doc/magic_cards_notes.md index 6cdf195ea..76dbe9e55 100644 --- a/doc/magic_cards_notes.md +++ b/doc/magic_cards_notes.md @@ -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