From f5e3af6472bad51f3de9d6f5106e63828e9f4cea Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 10 Nov 2026 11:26:18 +0700 Subject: [PATCH 1/8] hw fpga config: print the transfer progress in place The progress line was printed once per chunk, about 55 lines for a PM5 bitstream. Print it in place and end the line once the transfer is done. Co-Authored-By: Claude Opus 5.5 --- client/src/cmdfpga.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/cmdfpga.c b/client/src/cmdfpga.c index 76830373a..907858a98 100644 --- a/client/src/cmdfpga.c +++ b/client/src/cmdfpga.c @@ -102,8 +102,9 @@ static int CmdConfigFpga(const char *Cmd) { } offset += chunk_size; // Print progress - PrintAndLogEx(INFO, "Sent "_YELLOW_("%zu")" bytes, progress: "_YELLOW_("%.2f%%"), chunk_size, (offset / (float)datalen) * 100); + PrintAndLogEx(INPLACE, "Sent "_YELLOW_("%zu")" bytes, progress: "_YELLOW_("%.2f%%"), chunk_size, (offset / (float)datalen) * 100); } + PrintAndLogEx(NORMAL, ""); PrintAndLogEx(SUCCESS, "FPGA configuration transfer complete!"); From 645f04f54592737870aeba1953e09858a32fff48 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 10 Nov 2026 11:29:52 +0700 Subject: [PATCH 2/8] hw bwm upgrade: print the upload progress in place The upload used its own printf "\rProgress: [n%]" line, without the client prefix, spinner or emoji. Print it with PrintAndLogEx(INPLACE), in the same format as the spiffs upload, and drop the unused helper. Co-Authored-By: Claude Opus 5.5 --- client/src/cmdbwm.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/client/src/cmdbwm.c b/client/src/cmdbwm.c index 81786f29c..b48b77c25 100644 --- a/client/src/cmdbwm.c +++ b/client/src/cmdbwm.c @@ -451,16 +451,6 @@ static int CmdBwmSetCap(const char *Cmd) { } -static void progressbar(long sent, long total, int style) { - int percent = (int)((double)sent / total * 100); - - // Use \r at the start to move the cursor back to the beginning of the line - printf("\rProgress: [%d%%]", percent); - - // Force stdout to print immediately without waiting for a newline - fflush(stdout); -} - // One full OTA attempt: BEGIN -> WRITE... -> END. The BWM OTA has no resume // (DEV.md 8.4): a dropped chunk can't be re-sent, so any failure here means the // caller must restart the whole thing. @@ -516,7 +506,11 @@ static int bwm_ota_once(const uint8_t *fw, size_t fwlen, uint32_t write_delay_ms return PM3_EFAILED; } sent += n; - progressbar(sent, fwlen, STYLE_MIXED); + PrintAndLogEx(INPLACE, "Sent " _YELLOW_("%zu") " / " _YELLOW_("%zu") " bytes (" _YELLOW_("%u") "%%)" + , sent + , fwlen + , (uint32_t)((sent * 100) / fwlen) + ); // Pace the stream. The client->AT32 hop (USB/BLE) is far faster than the // AT32->ESP UART, so back-to-back writes can outrun the UART and drop a From a831eaea8a2e6c1fd80f4081d4b7e7771611e4f8 Mon Sep 17 00:00:00 2001 From: Innocent Bystander Date: Mon, 9 Nov 2026 23:33:50 -0500 Subject: [PATCH 3/8] Adding a links to a bunch of proxmark (3/5) GUIs --- README.md | 12 +----------- doc/md/Use_of_Proxmark/Promark-GUIs.md | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 11 deletions(-) create mode 100644 doc/md/Use_of_Proxmark/Promark-GUIs.md diff --git a/README.md b/README.md index bac556b49..3019d83b0 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Iceman repository is considered to be the pinnacle of features and functionality - [Development](#development) - [Supported operating systems](#supported-operating-systems) - [Precompiled binaries](#precompiled-binaries) - - [Proxmark3 GUI](#proxmark3-gui) + - [GUIs](./doc/md/Use_of_Proxmark/Promark-GUIs.md) - [Official channels](#official-channels) - [Maintainers](#maintainers) - [Citation](#citation) @@ -174,16 +174,6 @@ This repo compiles nicely on See [Proxmark3 precompiled builds](https://www.proxmarkbuilds.org/) -## Proxmark3 GUI - -Most community driven GUI for Proxmark tends to be quite old and out-of-date. -Here is a list of a few: - -- [Proxmark3 Universal GUI](https://github.com/burma69/PM3UniversalGUI) will work more or less. -- [Proxmark3 GUI cross-compiled](https://github.com/wh201906/Proxmark3GUI/) which is recently updated and claims to support latest source of this repo. -- [Proxmark3_GUI](https://github.com/Phreak87/Proxmark3_GUI) simple gui in vb.net - - ## Official channels Where do you find the community? - [RFID Hacking community discord server](https://t.ly/d4_C) diff --git a/doc/md/Use_of_Proxmark/Promark-GUIs.md b/doc/md/Use_of_Proxmark/Promark-GUIs.md new file mode 100644 index 000000000..5b39822a7 --- /dev/null +++ b/doc/md/Use_of_Proxmark/Promark-GUIs.md @@ -0,0 +1,18 @@ +## Proxmark3 GUIs + + +- [Phosphor 2.0 GUI](https://github.com/dysonian-lab/phosphor-2.0-gui) Windows Only, Cable Only +- [Proxmark3.app](https://proxmark3.app/) Web based GUI +- [proxmark-studio](https://github.com/Semy0nBu/proxmark-studio/blob/main/README.en.md) proxmark-studio, not to be confused with ProxmarkStudio, Windows 10/11 Russian/English +- [Proxmark3 Easy GUI](https://github.com/Anon0ne/Proxmark3-Easy-GUI-by-Justin) Windows Only +- [PM3 Hotman](https://github.com/RazorCopter/PM3HotMan) Windows/Linux +- [CyberNinjaRFID](https://github.com/kobepower/Proxmark3-GUI) Windows/Linux/MacOS +- [Proxmark3 GUI](https://github.com/wh201906/Proxmark3GUI/) Windows/Linux/MacOS +- [Proxmark3 Universal GUI](https://github.com/burma69/PM3UniversalGUI) will work more or less. +- [Proxmark3_GUI](https://github.com/Phreak87/Proxmark3_GUI) simple gui in vb.net + + +## Proxmark5 GUIs + +- [ProxmarkStudio](https://github.com/RfidResearchGroup/ProxmarkStudio) Windows/Linux/MacOS/Android + From 1eae2e2d34cd0542e2e3a6dfaa810edebc4d9f87 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 10 Nov 2026 12:00:32 +0700 Subject: [PATCH 4/8] hf mf view: clear the RKF TCAS padding before comparing instances rkf_tcas_t has a padding byte before mac (offset 31). rkf_read_tcas() set every field but left that byte, and both the TCAS instance check in hf mf view and its selftest compare the two instances with memcmp. The result depended on stack contents: the Makefile client passed, the CMake client failed "tcas instances equal". Since 6fbe96e18 the CI greps the aggregate Transit selftest line, so every cmake test job (ubuntu, macos, wsl, proxspace) failed. Zero the whole struct in rkf_read_tcas(). Co-Authored-By: Claude Opus 5.5 --- client/src/parsers/parserkf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/parsers/parserkf.c b/client/src/parsers/parserkf.c index e45e72450..da4a1a9f9 100644 --- a/client/src/parsers/parserkf.c +++ b/client/src/parsers/parserkf.c @@ -817,6 +817,7 @@ static const char *rkf_log_slot(const rkf_tcas_t *t, uint8_t sector) { } static void rkf_read_tcas(const uint8_t *blk, rkf_tcas_t *t) { + memset(t, 0, sizeof(*t)); // padding too, instances are compared with memcmp t->identifier = (uint8_t)rkf_bits(blk, 0, 8); t->version = (uint8_t)rkf_bits(blk, 8, 6); for (uint8_t s = 0; s < RKF_SECTORS; s++) { From 509579d854d47b5eff4d075b6be2d2f21f406bd0 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 10 Nov 2026 12:15:52 +0700 Subject: [PATCH 5/8] hf mfu pwdgen: read the tag by default, --uid offline, --mfg for Philips Without options the UID and the Philips MFG string are now read from the tag, `-r` is gone. `--uid` is the offline path, and the new `--mfg` gives the Philips toothbrush algo its MFG string offline, which used to need the tag on the antenna. Help shows a working Philips sample taken from the generator self test vector, also run by pm3_tests.sh. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 1 + client/src/cmdhfmfu.c | 44 ++++++++++++++++++++++++++++++------------- tools/pm3_tests.sh | 1 + 3 files changed, 33 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4153d5358..25c0fc715 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file. This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log... ## [unreleased][unreleased] +- Changed `hf mfu pwdgen` - reads the tag by default (`-r` removed), `--uid` is offline, new `--mfg` for the Philips toothbrush algo offline (@iceman1001) - Changed PM5 FPGA image - `client/resources/fpga_pm5.bin` is now built from the repo sources (`make -C fpga fpga_pm5_release`) and replaces the vendor built `PM5_FPGA_fix_loedge_bug.bin` (@iceman1001) - Changed `hf mf info`, `hf mfu info`, `hf mfdes info`, `hf felica info`, `hf 14b info`, `hf calypso info` and `hf 14a info` - identify transit cards by keys, AIDs, system codes or data, show card number / balance where free to read and hint at the full decode (@iceman1001) - Fixed PM5 `hf mf sim` and other 14a sims - the RSSI ADC was reset and recalibrated before every listen, missing fast reader frames such as the auth nR/aR (@iceman1001) diff --git a/client/src/cmdhfmfu.c b/client/src/cmdhfmfu.c index 0fa29c5ad..06400f154 100644 --- a/client/src/cmdhfmfu.c +++ b/client/src/cmdhfmfu.c @@ -1944,13 +1944,13 @@ static mfu_identify_t mfu_ident_table[] = { "Philips Toothbrush", "0004040201010F03", 16, 20, "0310D1010C55027068696C6970732E636F6DFE00", ul_ev1_pwdgen_def, ul_ev1_packgen_def, - "hf mfu pwdgen -r" + "hf mfu pwdgen" }, { "Philips Toothbrush", "0004040201010F03", 16, 36, "0320D1011C55027068696C6970732E636F6D2F6E6663627275736868656164746170FE00", ul_ev1_pwdgen_def, ul_ev1_packgen_def, - "hf mfu pwdgen -r" + "hf mfu pwdgen" }, { "Bank Of Archie brothers", "0004030101000B03", @@ -3052,11 +3052,11 @@ static int CmdHF14AMfUInfo(const char *Cmd) { } if (len < 1) { PrintAndLogEx(WARNING, _YELLOW_("password not known")); - PrintAndLogEx(HINT, "Hint: Try " _YELLOW_("`hf mfu pwdgen -r`") " to get see known pwd gen algo suggestions"); + PrintAndLogEx(HINT, "Hint: Try " _YELLOW_("`hf mfu pwdgen`") " to get see known pwd gen algo suggestions"); } } else { if (locked) { - PrintAndLogEx(HINT, "Hint: Try " _YELLOW_("`hf mfu pwdgen -r`") " to get see known pwd gen algo suggestions"); + PrintAndLogEx(HINT, "Hint: Try " _YELLOW_("`hf mfu pwdgen`") " to get see known pwd gen algo suggestions"); } } } @@ -3068,7 +3068,7 @@ out: if (locked) { PrintAndLogEx(INFO, "\nTag appears to be locked, try using a key to get more info"); - PrintAndLogEx(HINT, "Hint: Try " _YELLOW_("`hf mfu pwdgen -r`") " to get see known pwd gen algo suggestions"); + PrintAndLogEx(HINT, "Hint: Try " _YELLOW_("`hf mfu pwdgen`") " to get see known pwd gen algo suggestions"); } if (tagtype & (MFU_TT_MAGIC_1A | MFU_TT_MAGIC_1B | MFU_TT_MAGIC_2)) { @@ -6323,16 +6323,18 @@ static int CmdHF14AMfUKeyGen(const char *Cmd) { static int CmdHF14AMfUPwdGen(const char *Cmd) { CLIParserContext *ctx; CLIParserInit(&ctx, "hf mfu pwdgen", - "Generate different passwords from known pwdgen algos", - "hf mfu pwdgen -r\n" - "hf mfu pwdgen --uid 11223344556677\n" + "Generate different passwords from known pwdgen algos.\n" + "Reads UID and Philips MFG string from the tag, or works offline with `--uid`.", + "hf mfu pwdgen -> read from tag\n" + "hf mfu pwdgen --uid 11223344556677 -> offline\n" + "hf mfu pwdgen --uid 040D4B5AC57181 --mfg 3231303632382035324D -> offline, Philips pwd FBCFACC1\n" "hf mfu pwdgen --test" ); void *argtable[] = { arg_param_begin, - arg_str0("u", "uid", "", "UID (7 hex bytes)"), - arg_lit0("r", NULL, "Read UID from tag"), + arg_str0("u", "uid", "", "UID (7 hex bytes), offline"), + arg_str0(NULL, "mfg", "", "Philips toothbrush MFG string, pages 21-23 bytes 2..11 (10 hex bytes)"), arg_lit0(NULL, "test", "self test"), arg_param_end }; @@ -6341,7 +6343,9 @@ static int CmdHF14AMfUPwdGen(const char *Cmd) { int u_len = 0; uint8_t uid[7] = {0x00}; CLIGetHexWithReturn(ctx, 1, uid, &u_len); - bool use_tag = arg_get_lit(ctx, 2); + int mfg_len = 0; + uint8_t philips_mfg[10] = {0}; + CLIGetHexWithReturn(ctx, 2, philips_mfg, &mfg_len); bool selftest = arg_get_lit(ctx, 3); CLIParserFree(ctx); @@ -6349,9 +6353,23 @@ static int CmdHF14AMfUPwdGen(const char *Cmd) { return generator_selftest(); } - uint8_t philips_mfg[10] = {0}; + if (mfg_len && mfg_len != sizeof(philips_mfg)) { + PrintAndLogEx(WARNING, "MFG must be 10 hex bytes"); + return PM3_EINVARG; + } + + if (mfg_len && u_len == 0) { + PrintAndLogEx(WARNING, "`--mfg` needs `--uid`"); + return PM3_EINVARG; + } + + if (u_len == 0) { + + if (g_session.pm3_present == false) { + PrintAndLogEx(WARNING, "Offline, use `--uid`"); + return PM3_ENOTTY; + } - if (use_tag) { // read uid from tag int res = ul_read_uid(uid); if (res == PM3_ELENGTH) { diff --git a/tools/pm3_tests.sh b/tools/pm3_tests.sh index 4ad21e5d5..f785c994b 100755 --- a/tools/pm3_tests.sh +++ b/tools/pm3_tests.sh @@ -475,6 +475,7 @@ while true; do if ! CheckExecute "data rawdemod ar samples" "$CLIENTBIN -c 'data load -f traces/lf_ATA5577_keri.pm3; data setdebugmode -1; data rawdemod --ar --samples 1000' 2>&1" "maxLen 1000"; then break; fi if ! CheckExecute "data rawdemod am max errors" "$CLIENTBIN -c 'data load -f traces/lf_EM4102-1.pm3; data setdebugmode -1; data rawdemod --am --max 300' 2>&1" "maxErr 300"; then break; fi if ! CheckExecute "mfu pwdgen test" "$CLIENTBIN -c 'hf mfu pwdgen --test'" "Selftest ok"; then break; fi + if ! CheckExecute "mfu pwdgen philips" "$CLIENTBIN -c 'hf mfu pwdgen --uid 040D4B5AC57181 --mfg 3231303632382035324D'" "Philips Toothbrush \\| FBCFACC1"; then break; fi if ! CheckExecute "mfu keygen test" "$CLIENTBIN -c 'hf mfu keygen --uid 11223344556677'" "80 B1 C2 71 D8 A0"; then break; fi if ! CheckExecute "jooki encode test" "$CLIENTBIN -c 'hf jooki encode --test'" "04 28 F4 DA F0 4A 81 \( ok \)"; then break; fi if ! CheckExecute "vigik signature selftest" "$CLIENTBIN -c 'hf mf view --selftest'" "selftest \\( ok \\)"; then break; fi From ecf0e7b3f542f76ca31f986dbba43e306c6ad00e Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 10 Nov 2026 12:17:06 +0700 Subject: [PATCH 6/8] hw bwm wifi: report why the join failed instead of "joined but no IP" The bring-up always printed "joined but no IP after DHCP wait" when no address came, even when the ESP said the join itself failed (e.g. result=1 err=201: network not found). Print by join result, with a readable name for the common WiFi reason codes. Initialise the result buffer so a short reply can't print garbage. Co-Authored-By: Claude Opus 5.5 --- armsrc/bwm_wifi.c | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/armsrc/bwm_wifi.c b/armsrc/bwm_wifi.c index ffff5921b..a4aff5d33 100644 --- a/armsrc/bwm_wifi.c +++ b/armsrc/bwm_wifi.c @@ -188,6 +188,23 @@ static int step(uint16_t cmd, const uint8_t *req, uint16_t rl, return r; } +// ESP-IDF wifi_err_reason_t values seen when a join fails +static const char *bwm_wifi_reason_str(uint8_t reason) { + switch (reason) { + case 2: + case 15: + case 202: + case 204: + return "wrong password?"; + case 201: + return "network not found"; + case 210: + return "no network with compatible security"; + default: + return "join failed"; + } +} + int bwm_wifi_forward_up(const char *ssid, const char *password, const char *hostname, uint16_t tcp_port, uint32_t *ip_out) { int r; @@ -220,7 +237,7 @@ int bwm_wifi_forward_up(const char *ssid, const char *password, // 4) join the AP and wait for it to finish (up to ~15s) if ((r = step(BWM_CMD_START_WIFI_CONNECT_TASK, NULL, 0, NULL, NULL, TO, "start connect")) != PM3_SUCCESS) return r; uint8_t secs = 25; // iPhone/phone hotspots can be slow to become joinable - uint8_t wr[2]; + uint8_t wr[2] = { 2, 0 }; // "timed out" if the reply is short uint16_t wl = sizeof(wr); if ((r = step(BWM_CMD_WAIT_FOR_WIFI_CONNECT_TASK, &secs, 1, wr, &wl, 30000, "wait connect")) != PM3_SUCCESS) return r; @@ -245,7 +262,14 @@ int bwm_wifi_forward_up(const char *ssid, const char *password, while (GetTickCountDelta(t) < BWM_WIFI_DHCP_POLL_MS) { } } if (ip == 0) { - Dbprintf("[bwm-wifi] joined but no IP after DHCP wait (result=%u err=%u)", wr[0], wr[1]); + // wr[0]: ESP join result, 0 joined / 1 failed (wr[1] = WiFi reason) / 2 timed out + if (wr[0] == 0) { + Dbprintf("[bwm-wifi] joined but no IP after DHCP wait"); + } else if (wr[0] == 1) { + Dbprintf("[bwm-wifi] could not join: %s (reason %u)", bwm_wifi_reason_str(wr[1]), wr[1]); + } else { + Dbprintf("[bwm-wifi] join timed out, no IP"); + } return PM3_EFAILED; } From dc96e3babe3250c9abb78220b8503a275862e84d Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 10 Nov 2026 12:17:06 +0700 Subject: [PATCH 7/8] hw bwm name: help says 1-15 chars, matching the enforced limit Client and firmware both cap the name at BWM_BLE_NAME_MAX_LEN (15); the help said 1-31. Also fix the define's comment: the ESP buffer is 32, the real bound is the BLE advertisement (17 chars). Co-Authored-By: Claude Opus 5.5 --- client/src/cmdbwm.c | 2 +- include/pm3_cmd.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/cmdbwm.c b/client/src/cmdbwm.c index b48b77c25..c26f5fb75 100644 --- a/client/src/cmdbwm.c +++ b/client/src/cmdbwm.c @@ -722,7 +722,7 @@ static int CmdBwmName(const char *Cmd) { "hw bwm name --set MyPM5 --> set BLE name to 'MyPM5'"); void *argtable[] = { arg_param_begin, - arg_str0(NULL, "set", "", "new BLE name (1-31 chars); omit to read current name"), + arg_str0(NULL, "set", "", "new BLE name (1-15 chars); omit to read current name"), arg_param_end, }; CLIExecWithReturn(ctx, Cmd, argtable, true); diff --git a/include/pm3_cmd.h b/include/pm3_cmd.h index c94e92aa2..b03cd6c27 100644 --- a/include/pm3_cmd.h +++ b/include/pm3_cmd.h @@ -978,7 +978,7 @@ typedef struct { #define CMD_PM5_BWM_BLE_NAME 0x017F // payload: [action:u8][name bytes if SET] #define BWM_BLE_NAME_ACTION_GET 0x00 // resp: current BLE device name string #define BWM_BLE_NAME_ACTION_SET 0x01 // req: name bytes follow the action byte; BWM reboots to apply -#define BWM_BLE_NAME_MAX_LEN 15 // usable chars; ESP name buffer is 16 incl NUL +#define BWM_BLE_NAME_MAX_LEN 15 // usable chars; BLE advert fits at most 17 // PM5, toggle the power-save idle (48 MHz + WFI when idle). Used by `hw powersave`. #define CMD_PM5_POWERSAVE 0x0180 // PM5, BWM power-save switch on the ESP (DFS, light sleep, low-duty advertising; From 3a3842ed61b8f4016372033bbb7833e6e88adfb3 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 10 Nov 2026 12:22:55 +0700 Subject: [PATCH 8/8] style --- doc/commands.json | 187 ++++++++++++++++++++++++++++++++++++++-------- doc/commands.md | 18 ++++- 2 files changed, 172 insertions(+), 33 deletions(-) diff --git a/doc/commands.json b/doc/commands.json index 5c8ee0466..d012e1526 100644 --- a/doc/commands.json +++ b/doc/commands.json @@ -2032,7 +2032,7 @@ }, "hf 15 help": { "command": "hf 15 help", - "description": "----------- ----------------------- General ----------------------- help This help list List ISO-15693 history ----------- ----------------------- Operations ----------------------- demod Demodulate ISO-15693 from tag view Display content from tag dump file --------------------------------------------------------------------------------------- hf 15 list available offline: yes Alias of `trace list -t 15 -c` with selected protocol data to annotate trace buffer You can load a trace from file (see `trace load -h`) or it be downloaded from device by default It accepts all other arguments of `trace list`. Note that some might not be relevant for this specific protocol", + "description": "----------- ----------------------- General ----------------------- help This help list List ISO-15693 history ----------- ----------------------- Operations ----------------------- demod Demodulate ISO-15693 from tag implant Read temperature from NTAG 5 link sensor implant view Display content from tag dump file --------------------------------------------------------------------------------------- hf 15 list available offline: yes Alias of `trace list -t 15 -c` with selected protocol data to annotate trace buffer You can load a trace from file (see `trace load -h`) or it be downloaded from device by default It accepts all other arguments of `trace list`. Note that some might not be relevant for this specific protocol", "notes": [ "hf 15 list --frame -> show frame delay times", "hf 15 list -1 -> use trace buffer" @@ -2051,6 +2051,31 @@ ], "usage": "hf 15 list [-h1crux] [--frame] [-f ]" }, + "hf 15 implant": { + "command": "hf 15 implant", + "description": "Read the temperature of an NTAG 5 link (NTP5332) based sensor implant, e.g. VivoKey Thermo (TMP112/TMP117/TMP119) or Temptress (2x TMP117 at 0x49, 0x4A). Powers the sensor by energy harvesting and talks I2C through the NTAG 5 link. Sensors at 0x48-0x4B are found by probing and identified by TMP117/119 device id.", + "notes": [ + "hf 15 implant", + "hf 15 implant -n 5 -v", + "hf 15 implant --dual", + "hf 15 implant --addr 49 --sensor tmp117", + "hf 15 implant -u E004011800000000 --wait 5000", + "hf 15 implant --test" + ], + "offline": true, + "options": [ + "-h, --help This help", + "-u, --uid full UID (8 hex bytes)", + "--addr I2C address of sensor (def probe 48..4B)", + "--sensor sensor type: auto, tmp112, tmp117, tmp119 (def auto)", + "--dual Temptress, TMP117 at 0x49 and 0x4A", + "-n number of readings (def 1)", + "--wait energy harvesting timeout (def 2000)", + "-v, --verbose verbose output, show raw frames", + "--test perform self test" + ], + "usage": "hf 15 implant [-hv] [-u ] [--addr ] [--sensor ] [--dual] [-n ] [--wait ] [--test]" + }, "hf 15 info": { "command": "hf 15 info", "description": "Uses the optional command `get_systeminfo` 0x2B to try and extract information", @@ -2499,19 +2524,21 @@ }, "hf calypso help": { "command": "hf calypso help", - "description": "help This help list List Calypso history --------------------------------------------------------------------------------------- hf calypso info available offline: no Tag information for Calypso cards", + "description": "help This help info Tag information list List Calypso history --------------------------------------------------------------------------------------- hf calypso info available offline: yes Tag information for Calypso cards", "notes": [ "hf calypso info", "hf calypso info -v", - "hf calypso info --aid 315449432E494341" + "hf calypso info --aid 315449432E494341", + "hf calypso info --selftest" ], "offline": true, "options": [ "-h, --help This help", "--aid Calypso application AID or AID prefix (5..16 bytes)", - "-v, --verbose verbose output" + "-v, --verbose verbose output", + "--selftest Run the transit parsers self tests and exit" ], - "usage": "hf calypso info [-hv] [--aid ]" + "usage": "hf calypso info [-hv] [--aid ] [--selftest]" }, "hf calypso list": { "command": "hf calypso list", @@ -3064,22 +3091,24 @@ "hf felica dump", "hf felica dump --retry 5", "hf felica dump --idm 11100910C11BC407", - "hf felica dump -f my-felica-dump" + "hf felica dump -f my-felica-dump", + "hf felica dump --selftest" ], - "offline": false, + "offline": true, "options": [ "-h, --help This help", "--no-auth read public services", "-r, --retry number of retries", "--idm use custom IDm", "-f, --file Specify a filename for JSON dump file", - "--no-ic-optimizations attempt all commands even if the IC is known not to support them" + "--no-ic-optimizations attempt all commands even if the IC is known not to support them", + "--selftest Run the transit parsers self tests and exit" ], - "usage": "hf felica dump [-h] [--no-auth] [-r ] [--idm ] [-f ] [--no-ic-optimizations]" + "usage": "hf felica dump [-h] [--no-auth] [-r ] [--idm ] [-f ] [--no-ic-optimizations] [--selftest]" }, "hf felica help": { "command": "hf felica help", - "description": "----------- ----------------------- General ----------------------- help This help list List ISO 18092/FeliCa history ----------- ----------------------- Operations ----------------------- ----------- ----------------------- FeliCa SEAC ----------------------- ----------- ----------------------- FeliCa Standard ----------------------- ----------- ----------------------- FeliCa Light ----------------------- --------------------------------------------------------------------------------------- hf felica list available offline: yes Alias of `trace list -t felica` with selected protocol data to annotate trace buffer You can load a trace from file (see `trace load -h`) or it be downloaded from device by default It accepts all other arguments of `trace list`. Note that some might not be relevant for this specific protocol", + "description": "----------- ----------------------- General ----------------------- help This help list List ISO 18092/FeliCa history ----------- ----------------------- Operations ----------------------- ----------- ----------------------- FeliCa SEAC ----------------------- ----------- ----------------------- FeliCa Standard ----------------------- dump Wait for and try dumping FeliCa ----------- ----------------------- FeliCa Light ----------------------- --------------------------------------------------------------------------------------- hf felica list available offline: yes Alias of `trace list -t felica` with selected protocol data to annotate trace buffer You can load a trace from file (see `trace load -h`) or it be downloaded from device by default It accepts all other arguments of `trace list`. Note that some might not be relevant for this specific protocol", "notes": [ "hf felica list --frame -> show frame delay times", "hf felica list -1 -> use trace buffer" @@ -4314,6 +4343,24 @@ ], "usage": "hf gallagher reader [-h@vc] [--aid ] [--sitekey ] [--apdu]" }, + "hf goodisplay help": { + "command": "hf goodisplay help", + "description": "help This help load Load image file to Goodisplay NFC ePaper --------------------------------------------------------------------------------------- hf goodisplay load available offline: yes Load image file to Goodisplay NFC ePaper (NFC-D1 tags). Image is cropped to the panel's native portrait size, black/white only.", + "notes": [ + "hf goodisplay load -f myfile -m 0 -> GDEY0154D67 1.54 inch ( 200, 200 )", + "hf goodisplay load -f myfile -m 1 -> GDEY0213B74 2.13 inch ( 122, 250 )", + "hf goodisplay load -f myfile -m 2 -> GDEY029T94 2.9 inch ( 128, 296 )", + "hf goodisplay load -f myfile -m 3 -> GDEY037T03 3.7 inch ( 240, 416 )" + ], + "offline": true, + "options": [ + "-h, --help This help", + "-m model number [0 - 3] of your tag", + "-f, --file specify image to upload to tag", + "-s, --save save paletized version in file" + ], + "usage": "hf goodisplay load [-h] -m -f [-s ]" + }, "hf gp crs": { "command": "hf gp crs", "description": "List contactless applets registered in the GlobalPlatform CRS (Contactless Registry Service). GET STATUS on the CRS needs no keys.", @@ -4444,7 +4491,7 @@ }, "hf help": { "command": "hf help", - "description": "-------- ----------------------- High Frequency ----------------------- 14a { ISO14443A RFIDs... } 14b { ISO14443B RFIDs... } 15 { ISO15693 RFIDs... } aliro { ALIRO digital access credentials... } calypso { Calypso transport cards... } cipurse { Cipurse transport Cards... } epa { German Identification Card... } emrtd { Machine Readable Travel Document... } felica { ISO18092 / FeliCa RFIDs... } fido { FIDO and FIDO2 authenticators... } fmcos { FMCOS CPU cards... } fudan { Fudan RFIDs... } gallagher { Gallagher DESFire RFIDs... } gp { GlobalPlatform secure elements... } gst { Google Smart Tap passes... } secc { iClass SE Config Card Emulator... } iclass { ICLASS RFIDs... } ict { ICT MFC/DESfire RFIDs... } jooki { Jooki RFIDs... } ksx6924 { KS X 6924 (T-Money, Snapper+) RFIDs } legic { LEGIC RFIDs... } lto { LTO Cartridge Memory RFIDs... } mf { MIFARE RFIDs... } mfp { MIFARE Plus RFIDs... } mfu { MIFARE Ultralight RFIDs... } mfdes { MIFARE Desfire RFIDs... } ntag424 { NXP NTAG 4242 DNA RFIDs... } saflok { Saflok MFC RFIDs... } seos { SEOS RFIDs... } st25ta { ST25TA RFIDs... } tesla { TESLA Cards... } texkom { Texkom RFIDs... } thinfilm { Thinfilm RFIDs... } topaz { TOPAZ (NFC Type 1) RFIDs... } vas { Apple Value Added Service... } waveshare { Waveshare NFC ePaper... } xerox { Fuji/Xerox cartridge RFIDs... } ----------- --------------------- General --------------------- help This help list List protocol data in trace buffer search Search for known HF tags --------------------------------------------------------------------------------------- hf list available offline: yes Alias of `trace list -t raw` with selected protocol data to annotate trace buffer You can load a trace from file (see `trace load -h`) or it be downloaded from device by default It accepts all other arguments of `trace list`. Note that some might not be relevant for this specific protocol", + "description": "-------- ----------------------- High Frequency ----------------------- 14a { ISO14443A RFIDs... } 14b { ISO14443B RFIDs... } 15 { ISO15693 RFIDs... } aliro { ALIRO digital access credentials... } calypso { Calypso transport cards... } cipurse { Cipurse transport Cards... } epa { German Identification Card... } emrtd { Machine Readable Travel Document... } felica { ISO18092 / FeliCa RFIDs... } fido { FIDO and FIDO2 authenticators... } fmcos { FMCOS CPU cards... } fudan { Fudan RFIDs... } gallagher { Gallagher DESFire RFIDs... } goodisplay { Goodisplay NFC ePaper... } gp { GlobalPlatform secure elements... } gst { Google Smart Tap passes... } secc { iClass SE Config Card Emulator... } iclass { ICLASS RFIDs... } ict { ICT MFC/DESfire RFIDs... } jooki { Jooki RFIDs... } ksx6924 { KS X 6924 (T-Money, Snapper+) RFIDs } legic { LEGIC RFIDs... } lto { LTO Cartridge Memory RFIDs... } mf { MIFARE RFIDs... } mfp { MIFARE Plus RFIDs... } mfu { MIFARE Ultralight RFIDs... } mfdes { MIFARE Desfire RFIDs... } ntag424 { NXP NTAG 4242 DNA RFIDs... } saflok { Saflok MFC RFIDs... } seos { SEOS RFIDs... } st25ta { ST25TA RFIDs... } tesla { TESLA Cards... } texkom { Texkom RFIDs... } thinfilm { Thinfilm RFIDs... } topaz { TOPAZ (NFC Type 1) RFIDs... } vas { Apple Value Added Service... } waveshare { Waveshare NFC ePaper... } xerox { Fuji/Xerox cartridge RFIDs... } ----------- --------------------- General --------------------- help This help list List protocol data in trace buffer search Search for known HF tags --------------------------------------------------------------------------------------- hf list available offline: yes Alias of `trace list -t raw` with selected protocol data to annotate trace buffer You can load a trace from file (see `trace load -h`) or it be downloaded from device by default It accepts all other arguments of `trace list`. Note that some might not be relevant for this specific protocol", "notes": [ "hf list --frame -> show frame delay times", "hf list -1 -> use trace buffer" @@ -4967,7 +5014,9 @@ "hf iclass sam -p -d a005a103800104 -> get PACS data, prevent epurse update", "hf iclass sam --break -> get Nr-MAC for extracting encrypted SIO", "hf iclass sam -f hf-iclass-dump.bin -> emulate card from dump file to SAM", - "hf iclass sam --info -> get SAM version + serial (also warms up the SAM)" + "hf iclass sam --info -> get SAM version + serial (also warms up the SAM)", + "hf iclass sam --dg sr -> get PACS and SIO, save an iCLASS SR dump", + "hf iclass sam --save --dg prox -> save credential, print HID Prox clone commands" ], "offline": false, "options": [ @@ -4982,9 +5031,11 @@ "-d, --data DER encoded command to send to SAM", "-s, --snmp data is in snmp format without headers", "--info get SAM infos (version, serial number)", - "-f, --file dump file to emulate to SAM instead of a real card" + "-f, --file dump file to emulate to SAM instead of a real card", + "--dg downgrade the credential to", + "--save save credential to file" ], - "usage": "hf iclass sam [-hvkntps] [--break] [--shallow] [-d ]... [--info] [-f ]" + "usage": "hf iclass sam [-hvkntps] [--break] [--shallow] [-d ]... [--info] [-f ] [--dg ] [--save]" }, "hf iclass sim": { "command": "hf iclass sim", @@ -7043,6 +7094,28 @@ ], "usage": "hf mf restore [-h] [--mini] [--1k] [--2k] [--4k] [-u ] [-f ] [-k ] [--ka] [--force]" }, + "hf mf sam": { + "command": "hf mf sam", + "description": "Extract PACS information via a HID SAM Make sure you got a SAM inserted in your sim module", + "notes": [ + "hf mf sam", + "hf mf sam -d a005a103800104 -> get PACS data", + "hf mf sam --dg mfc -> get PACS, save a MIFARE Classic dump", + "hf mf sam --save --dg prox -> save credential, print HID Prox clone commands" + ], + "offline": false, + "options": [ + "-h, --help This help", + "-v, --verbose verbose output", + "-k, --keep keep the field active after command executed", + "-n, --nodetect skip selecting the card and sending card details to SAM", + "-t, --tlv decode TLV", + "-d, --data DER encoded command to send to SAM", + "--dg downgrade the credential to", + "--save save credential to file" + ], + "usage": "hf mf sam [-hvknt] [-d ]... [--dg ] [--save]" + }, "hf mf sen": { "command": "hf mf sen", "description": "Recover FM11RF08S keys using static encrypted nonce evidence in native client code", @@ -8553,6 +8626,28 @@ ], "usage": "hf mfdes read [-hav] [-n ] [-t ] [-k ] [--kdf ] [-i ] [-m ] [-c ] [--schann ] [--aid ] [--fid ] [--no-auth] [--type ] [-o ] [-l ] [--isoid ] [--dfname ] [--fileisoid ] [--isochain]" }, + "hf mfdes sam": { + "command": "hf mfdes sam", + "description": "Extract PACS information via a HID SAM Make sure you got a SAM inserted in your sim module", + "notes": [ + "hf mfdes sam", + "hf mfdes sam -d a005a103800104 -> get PACS data", + "hf mfdes sam --dg mfc -> get PACS, save a MIFARE Classic dump", + "hf mfdes sam --save --dg prox -> save credential, print HID Prox clone commands" + ], + "offline": false, + "options": [ + "-h, --help This help", + "-v, --verbose verbose output", + "-k, --keep keep the field active after command executed", + "-n, --nodetect skip selecting the card and sending card details to SAM", + "-t, --tlv decode TLV", + "-d, --data DER encoded command to send to SAM", + "--dg downgrade the credential to", + "--save save credential to file" + ], + "usage": "hf mfdes sam [-hvknt] [-d ]... [--dg ] [--save]" + }, "hf mfdes selectapp": { "command": "hf mfdes selectapp", "description": "Select application on the card. It selects app if it is a valid one or returns an error.", @@ -9660,20 +9755,21 @@ }, "hf mfu pwdgen": { "command": "hf mfu pwdgen", - "description": "Generate different passwords from known pwdgen algos", + "description": "Generate different passwords from known pwdgen algos. Reads UID and Philips MFG string from the tag, or works offline with `--uid`.", "notes": [ - "hf mfu pwdgen -r", - "hf mfu pwdgen --uid 11223344556677", + "hf mfu pwdgen -> read from tag", + "hf mfu pwdgen --uid 11223344556677 -> offline", + "hf mfu pwdgen --uid 040D4B5AC57181 --mfg 3231303632382035324D -> offline, Philips pwd FBCFACC1", "hf mfu pwdgen --test" ], "offline": true, "options": [ "-h, --help This help", - "-u, --uid UID (7 hex bytes)", - "-r Read UID from tag", + "-u, --uid UID (7 hex bytes), offline", + "--mfg Philips toothbrush MFG string, pages 21-23 bytes 2..11 (10 hex bytes)", "--test self test" ], - "usage": "hf mfu pwdgen [-hr] [-u ] [--test]" + "usage": "hf mfu pwdgen [-h] [-u ] [--mfg ] [--test]" }, "hf mfu rdbl": { "command": "hf mfu rdbl", @@ -9798,16 +9894,18 @@ "command": "hf mfu view", "description": "Print a MIFARE Ultralight/NTAG dump file (bin/eml/json)", "notes": [ - "hf mfu view -f hf-mfu-01020304-dump.bin" + "hf mfu view -f hf-mfu-01020304-dump.bin", + "hf mfu view --selftest" ], "offline": true, "options": [ "-h, --help This help", "-f, --file Specify a filename for dump file", "-v, --verbose Verbose output", - "-z, --dense dense dump output style" + "-z, --dense dense dump output style", + "--selftest Run the dump parsers self tests and exit" ], - "usage": "hf mfu view [-hvz] -f " + "usage": "hf mfu view [-hvz] [-f ] [--selftest]" }, "hf mfu wipe": { "command": "hf mfu wipe", @@ -10360,7 +10458,9 @@ "description": "Extract PACS information via a HID SAM Make sure you got a SAM inserted in your sim module", "notes": [ "hf seos sam", - "hf seos sam -d a005a103800104 -> get PACS data" + "hf seos sam -d a005a103800104 -> get PACS data", + "hf seos sam --dg mfc -> get PACS, save a MIFARE Classic dump", + "hf seos sam --save --dg prox -> save credential, print HID Prox clone commands" ], "offline": false, "options": [ @@ -10369,9 +10469,11 @@ "-k, --keep keep the field active after command executed", "-n, --nodetect skip selecting the card and sending card details to SAM", "-t, --tlv decode TLV", - "-d, --data DER encoded command to send to SAM" + "-d, --data DER encoded command to send to SAM", + "--dg downgrade the credential to", + "--save save credential to file" ], - "usage": "hf seos sam [-hvknt] [-d ]..." + "usage": "hf seos sam [-hvknt] [-d ]... [--dg ] [--save]" }, "hf seos sim": { "command": "hf seos sim", @@ -10928,7 +11030,7 @@ "hf waveshare load -f myfile -m 1 -> 2.9 inch e-paper ( 296, 128 )", "hf waveshare load -f myfile -m 2 -> 4.2 inch e-paper ( 400, 300 )", "hf waveshare load -f myfile -m 3 -> 7.5 inch e-paper ( 800, 480 )", - "hf waveshare load -f myfile -m 4 -> 2.7 inch e-paper ( 176, 276 )", + "hf waveshare load -f myfile -m 4 -> 2.7 inch e-paper ( 176, 264 )", "hf waveshare load -f myfile -m 5 -> 2.13 inch e-paper B (with red) ( 104, 212 )", "hf waveshare load -f myfile -m 6 -> 1.54 inch e-paper B (with red) ( 200, 200 )", "hf waveshare load -f myfile -m 7 -> 7.5 inch e-paper HD ( 880, 528 )" @@ -11214,7 +11316,7 @@ "offline": false, "options": [ "-h, --help This help", - "--set new BLE name (1-31 chars); omit to read current name" + "--set new BLE name (1-15 chars); omit to read current name" ], "usage": "hw bwm name [-h] [--set ]" }, @@ -16845,6 +16947,29 @@ ], "usage": "wiegand decode [-hf] [-r ] [-b ] [-n ]" }, + "wiegand downgrade": { + "command": "wiegand downgrade", + "description": "Downgrade a HID credential, as Seader does, to an iCLASS legacy or SR dump, a MIFARE Classic dump, or HID Prox clone commands. Input is a credential saved by a `sam` command with --save, or PACS bits", + "notes": [ + "wiegand downgrade -f hf-iclass-E44B4403F8FF12E0-credential.json --dg sr", + "wiegand downgrade --new 068F80A8C0 --dg mfc", + "wiegand downgrade --bin 10001111100000001010100011 --dg prox", + "wiegand downgrade --selftest" + ], + "offline": true, + "options": [ + "-h, --help This help", + "-f, --file credential file", + "-b, --bin binary string", + "-n, --new new ASN.1 encoded PACS, as a SAM returns it", + "--csn iCLASS CSN the SIO belongs to", + "--sio SIO read from that iCLASS card", + "--dg downgrade the credential to", + "--save save credential to file", + "--selftest run selftest" + ], + "usage": "wiegand downgrade [-h] [-f ] [-b ] [-n ] [--csn ] [--sio ] [--dg ] [--save] [--selftest]" + }, "wiegand encode": { "command": "wiegand encode", "description": "Encode wiegand formatted number to raw hex", @@ -16871,7 +16996,7 @@ }, "wiegand help": { "command": "wiegand help", - "description": "help This help list List available wiegand formats encode Encode to wiegand raw hex (currently for HID Prox) decode Convert raw hex to decoded wiegand format (currently for HID Prox) --------------------------------------------------------------------------------------- wiegand list available offline: yes List available wiegand formats", + "description": "help This help list List available wiegand formats encode Encode to wiegand raw hex (currently for HID Prox) decode Convert raw hex to decoded wiegand format (currently for HID Prox) downgrade Downgrade a HID credential to iCLASS, MIFARE Classic or HID Prox --------------------------------------------------------------------------------------- wiegand list available offline: yes List available wiegand formats", "notes": [ "wiegand list" ], @@ -16883,8 +17008,8 @@ } }, "metadata": { - "commands_extracted": 940, + "commands_extracted": 945, "extracted_by": "PM3Help2JSON v1.00", - "extracted_on": "2026-11-09T05:12:17+00:00" + "extracted_on": "2026-11-10T05:21:34+00:00" } } diff --git a/doc/commands.md b/doc/commands.md index 5e70ea5a1..d72a16772 100644 --- a/doc/commands.md +++ b/doc/commands.md @@ -253,6 +253,7 @@ Check column "offline" for their availability. |`hf 15 list `|Y |`List ISO-15693 history` |`hf 15 demod `|Y |`Demodulate ISO-15693 from tag` |`hf 15 dump `|N |`Read all memory pages of an ISO-15693 tag, save to file` +|`hf 15 implant `|Y |`Read temperature from NTAG 5 link sensor implant` |`hf 15 info `|N |`Tag information` |`hf 15 sniff `|N |`Sniff ISO-15693 traffic` |`hf 15 raw `|N |`Send raw hex data to tag` @@ -302,7 +303,7 @@ Check column "offline" for their availability. |command |offline |description |------- |------- |----------- |`hf calypso help `|Y |`This help` -|`hf calypso info `|N |`Tag information` +|`hf calypso info `|Y |`Tag information` |`hf calypso dump `|N |`Dump nodes after application profile scan` |`hf calypso probecmdcompat`|N |`Probe SELECT command compatibility` |`hf calypso list `|Y |`List Calypso history` @@ -371,7 +372,7 @@ Check column "offline" for their availability. |`hf felica sniff `|N |`Sniff ISO 18092/FeliCa traffic` |`hf felica wrbl `|N |`write block data to an authentication-not-required Service.` |`hf felica seacauth1 `|N |`FeliCa SEAC Authentication1` -|`hf felica dump `|N |`Wait for and try dumping FeliCa` +|`hf felica dump `|Y |`Wait for and try dumping FeliCa` |`hf felica discnodes `|N |`discover Area Code and Service Code nodes.` |`hf felica sim `|N |`Emulate FeliCa Standard from dump file` |`hf felica rqservice `|N |`verify the existence of Area and Service, and to acquire Key Version.` @@ -474,6 +475,16 @@ Check column "offline" for their availability. |`hf gallagher reader `|N |`Read & decode all Gallagher credentials on a DESFire or Classic card` +### hf goodisplay + + { Goodisplay NFC ePaper... } + +|command |offline |description +|------- |------- |----------- +|`hf goodisplay help `|Y |`This help` +|`hf goodisplay load `|Y |`Load image file to Goodisplay NFC ePaper` + + ### hf gp { GlobalPlatform secure elements... } @@ -669,6 +680,7 @@ Check column "offline" for their availability. |`hf mf rdbl `|N |`Read MIFARE Classic block` |`hf mf rdsc `|N |`Read MIFARE Classic sector` |`hf mf restore `|N |`Restore MIFARE Classic binary file to tag` +|`hf mf sam `|N |`Extract PACS via a HID SAM` |`hf mf setmod `|N |`Set MIFARE Classic EV1 load modulation strength` |`hf mf value `|Y |`Value blocks` |`hf mf view `|Y |`Display content from tag dump file` @@ -804,6 +816,7 @@ Check column "offline" for their availability. |`hf mfdes getversion `|N |`Get version/type information` |`hf mfdes getuid `|N |`Get uid from card` |`hf mfdes pc `|N |`Run proximity check` +|`hf mfdes sam `|N |`Extract PACS via a HID SAM` |`hf mfdes info `|N |`Tag information` |`hf mfdes mad `|N |`Prints MAD records / files from the card` |`hf mfdes setconfig `|N |`Set card configuration` @@ -1860,6 +1873,7 @@ Check column "offline" for their availability. |`wiegand list `|Y |`List available wiegand formats` |`wiegand encode `|Y |`Encode to wiegand raw hex (currently for HID Prox)` |`wiegand decode `|Y |`Convert raw hex to decoded wiegand format (currently for HID Prox)` +|`wiegand downgrade `|Y |`Downgrade a HID credential to iCLASS, MIFARE Classic or HID Prox` Full help dump done.