From 440d283a536eee6662f1e70742653f04fba8d5aa Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 19 Mar 2025 15:24:39 +0100 Subject: [PATCH] in the philosofy to have short and direct params , the trace list -t hitag types has been shortend from hitag1 - ht1 --- CHANGELOG.md | 1 + client/src/cmdtrace.c | 16 ++++++++-------- doc/commands.json | 10 +++++----- 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a351cf1c1..f666f4ed9 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 `trace list -t` - shortend the hitag types (@iceman1001) - Added Be-Tech identification (@iceman1001) - Added `lf em 410x clone --htu` clone EM410x ID to Hitag µ/8265 (@douniwan5788) - Added `lf hitag htu` support for Hitag µ/8265 (@douniwan5788) diff --git a/client/src/cmdtrace.c b/client/src/cmdtrace.c index d563d4478..2cc28446b 100644 --- a/client/src/cmdtrace.c +++ b/client/src/cmdtrace.c @@ -1320,10 +1320,10 @@ int CmdTraceList(const char *Cmd) { "trace list -t cryptorf -> interpret as " _YELLOW_("CryptoRF") "\n\n" "trace list -t des -> interpret as " _YELLOW_("MIFARE DESFire") "\n" "trace list -t felica -> interpret as " _YELLOW_("ISO18092 / FeliCa") "\n" - "trace list -t hitag1 -> interpret as " _YELLOW_("Hitag 1") "\n" - "trace list -t hitag2 -> interpret as " _YELLOW_("Hitag 2") "\n" - "trace list -t hitags -> interpret as " _YELLOW_("Hitag S") "\n" - "trace list -t hitagu -> interpret as " _YELLOW_("Hitag µ") "\n" + "trace list -t ht1 -> interpret as " _YELLOW_("Hitag 1") "\n" + "trace list -t ht2 -> interpret as " _YELLOW_("Hitag 2") "\n" + "trace list -t hts -> interpret as " _YELLOW_("Hitag S") "\n" + "trace list -t htu -> interpret as " _YELLOW_("Hitag µ") "\n" "trace list -t iclass -> interpret as " _YELLOW_("iCLASS") "\n" "trace list -t legic -> interpret as " _YELLOW_("LEGIC") "\n" "trace list -t lto -> interpret as " _YELLOW_("LTO-CM") "\n" @@ -1388,10 +1388,10 @@ int CmdTraceList(const char *Cmd) { else if (strcmp(type, "cryptorf") == 0) protocol = PROTO_CRYPTORF; else if (strcmp(type, "des") == 0) protocol = MFDES; else if (strcmp(type, "felica") == 0) protocol = FELICA; - else if (strcmp(type, "hitag1") == 0) protocol = PROTO_HITAG1; - else if (strcmp(type, "hitag2") == 0) protocol = PROTO_HITAG2; - else if (strcmp(type, "hitags") == 0) protocol = PROTO_HITAGS; - else if (strcmp(type, "hitagu") == 0) protocol = PROTO_HITAGU; + else if (strcmp(type, "ht1") == 0) protocol = PROTO_HITAG1; + else if (strcmp(type, "ht2") == 0) protocol = PROTO_HITAG2; + else if (strcmp(type, "hts") == 0) protocol = PROTO_HITAGS; + else if (strcmp(type, "htu") == 0) protocol = PROTO_HITAGU; else if (strcmp(type, "iclass") == 0) protocol = ICLASS; else if (strcmp(type, "legic") == 0) protocol = LEGIC; else if (strcmp(type, "lto") == 0) protocol = LTO; diff --git a/doc/commands.json b/doc/commands.json index fbbd2501d..31527f680 100644 --- a/doc/commands.json +++ b/doc/commands.json @@ -13136,10 +13136,10 @@ "", "trace list -t des -> interpret as MIFARE DESFire", "trace list -t felica -> interpret as ISO18092 / FeliCa", - "trace list -t hitag1 -> interpret as Hitag 1", - "trace list -t hitag2 -> interpret as Hitag 2", - "trace list -t hitags -> interpret as Hitag S", - "trace list -t hitagu -> interpret as Hitag \u00b5", + "trace list -t ht1 -> interpret as Hitag 1", + "trace list -t ht2 -> interpret as Hitag 2", + "trace list -t hts -> interpret as Hitag S", + "trace list -t htu -> interpret as Hitag \u00b5", "trace list -t iclass -> interpret as iCLASS", "trace list -t legic -> interpret as LEGIC", "trace list -t lto -> interpret as LTO-CM", @@ -13357,6 +13357,6 @@ "metadata": { "commands_extracted": 767, "extracted_by": "PM3Help2JSON v1.00", - "extracted_on": "2025-03-19T11:50:24" + "extracted_on": "2025-03-19T14:19:20" } }