From c8662b509cf8203cfbfe6f89ba0b108711999225 Mon Sep 17 00:00:00 2001 From: merlokk Date: Tue, 17 Oct 2017 22:07:54 +0300 Subject: [PATCH] fixed --- CHANGELOG.md | 1 + client/cmdhfmf.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 45fe1392..c7ec6507 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ This project uses the changelog in accordance with [keepchangelog](http://keepac - Added to `hf mf nested` source key check before attack (Merlok) - Added to `hf mf nested` after attack it checks all found keys on non-open sectors (Merlok) - `hf mf chk` Added setings to set iso14443a operations timeout. default timeout set to 500us (Merlok) +- Added to `hf mf nested` parameters `s` and `ss` for checking slow cards (Merlok) ## [3.0.1][2017-06-08] diff --git a/client/cmdhfmf.c b/client/cmdhfmf.c index 71746b7b..553803c1 100644 --- a/client/cmdhfmf.c +++ b/client/cmdhfmf.c @@ -596,7 +596,7 @@ int CmdHF14AMfNested(const char *Cmd) PrintAndLog(" sample3: hf mf nested 1 0 A FFFFFFFFFFFF d "); PrintAndLog(" sample4: hf mf nested o 0 A FFFFFFFFFFFF 4 A"); PrintAndLog(" sample5: hf mf nested 1 * t"); - PrintAndLog(" sample5: hf mf nested 1 * ss"); + PrintAndLog(" sample6: hf mf nested 1 * ss"); return 0; } @@ -616,7 +616,7 @@ int CmdHF14AMfNested(const char *Cmd) parseParamTDS(Cmd, 2, &transferToEml, &createDumpFile, &btimeout14a); PrintAndLog("--nested. sectors:%2d, block no:*, eml:%c, dmp=%c checktimeout=%d us", - SectorsCnt, transferToEml?'y':'n', createDumpFile?'y':'n', (int)btimeout14a * 10000 / 106); + SectorsCnt, transferToEml?'y':'n', createDumpFile?'y':'n', ((int)btimeout14a * 10000) / 106); } else { blockNo = param_get8(Cmd, 1); @@ -659,7 +659,7 @@ int CmdHF14AMfNested(const char *Cmd) } PrintAndLog("--nested. sectors:%2d, block no:%3d, key type:%c, eml:%c, dmp=%c checktimeout=%d us", - SectorsCnt, blockNo, keyType?'B':'A', transferToEml?'y':'n', createDumpFile?'y':'n', (int)btimeout14a * 10000 / 106); + SectorsCnt, blockNo, keyType?'B':'A', transferToEml?'y':'n', createDumpFile?'y':'n', ((int)btimeout14a * 10000) / 106); } // one-sector nested