From 77613d666feeef18f1e55e3c7bf14a667f031d6d Mon Sep 17 00:00:00 2001 From: Antiklesys Date: Thu, 26 Mar 2026 22:34:59 +0800 Subject: [PATCH] Update name --- CHANGELOG.md | 2 +- client/src/cmdhficlass.c | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 06f7f2710..f88ee7dca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +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] -- Added `hf iclass simtag` command to quickly simulate an iclass tag based on facility code and card number(@antiklesys) +- Added `hf iclass tagsim` command to quickly simulate an iclass card based on facility code and card number(@antiklesys) - Added `-f` parameter to `hf iclass sam` command to use the sam to parse a card dump (@antiklesys) - Fixed WTX response behavior in `ExchangeRaw14A()` (@team-orangeBlue) - Added `-t` / `--timeout` option for `hf 15 sim` (@recursivenomad) diff --git a/client/src/cmdhficlass.c b/client/src/cmdhficlass.c index 680ac629f..7256aa8c9 100644 --- a/client/src/cmdhficlass.c +++ b/client/src/cmdhficlass.c @@ -1076,20 +1076,20 @@ static int CmdHFiClassSim(const char *Cmd) { return PM3_SUCCESS; } -static int CmdHFiClassSimTag(const char *Cmd) { +static int CmdHFiClassTagSim(const char *Cmd) { CLIParserContext *ctx; - CLIParserInit(&ctx, "hf iclass simtag", + CLIParserInit(&ctx, "hf iclass tagsim", "Build a complete iCLASS 2K tag dump from facility code, card number, and keys,\n" "upload it to emulator memory, and start a full simulation.\n" "Use either --bin or --wiegand/--fc/--cn to specify the credential.\n" "Provide a debit key via --kd or --ki. If no transport key is given,\n" "the tool tries to load " ICLASS_DECRYPTION_BIN ".", - "hf iclass simtag --fc 101 --cn 1337\n" - "hf iclass simtag -w H10301 --fc 101 --cn 1337 --ki 0\n" - "hf iclass simtag -w H10301 --fc 101 --cn 1337 --kd 0102030405060708 --elite\n" - "hf iclass simtag --bin 10001111100000001010100011 --ki 0\n" - "hf iclass simtag -w H10301 --fc 101 --cn 1337 --ki 0 --enckey 00000000000000000000000000000000\n" + "hf iclass tagsim --fc 101 --cn 1337\n" + "hf iclass tagsim -w H10301 --fc 101 --cn 1337 --ki 0\n" + "hf iclass tagsim -w H10301 --fc 101 --cn 1337 --kd 0102030405060708 --elite\n" + "hf iclass tagsim --bin 10001111100000001010100011 --ki 0\n" + "hf iclass tagsim -w H10301 --fc 101 --cn 1337 --ki 0 --enckey 00000000000000000000000000000000\n" ); void *argtable[] = { @@ -7240,7 +7240,7 @@ static command_t CommandTable[] = { {"blacktears", CmdHFiClass_BlackTears, IfPm3Iclass, "Automated tearoff attack on new silicon cards to enable non-secure page mode"}, {"-----------", CmdHelp, IfPm3Iclass, "-------------------- " _CYAN_("Simulation") " -------------------"}, {"sim", CmdHFiClassSim, IfPm3Iclass, "Simulate iCLASS tag"}, - {"simtag", CmdHFiClassSimTag, IfPm3Iclass, "Simulate a full iCLASS 2K tag from FC/CN and keys"}, + {"tagsim", CmdHFiClassTagSim, IfPm3Iclass, "Simulate a full iCLASS 2K tag from FC/CN and keys"}, {"eload", CmdHFiClassELoad, IfPm3Iclass, "Upload file into emulator memory"}, {"esave", CmdHFiClassESave, IfPm3Iclass, "Save emulator memory to file"}, {"esetblk", CmdHFiClassESetBlk, IfPm3Iclass, "Set emulator memory block data"},