mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +08:00
CHG: 'hf mf fchk' - textual
This commit is contained in:
parent
6e281a08ed
commit
e3f4ef498f
3 changed files with 5 additions and 6 deletions
|
@ -1604,6 +1604,7 @@ int CmdHF14AMfChk_fast(const char *Cmd) {
|
|||
uint64_t t1 = msclock();
|
||||
|
||||
if ( use_flashmemory ) {
|
||||
PrintAndLogEx(SUCCESS, "Using dictionary in flash memory");
|
||||
mfCheckKeys_fast( sectorsCnt, true, true, 1, 0, keyBlock, e_sector, use_flashmemory);
|
||||
} else {
|
||||
|
||||
|
@ -1611,8 +1612,6 @@ int CmdHF14AMfChk_fast(const char *Cmd) {
|
|||
for (uint8_t strategy = 1; strategy < 3; strategy++) {
|
||||
PrintAndLogEx(SUCCESS, "Running strategy %u", strategy);
|
||||
|
||||
|
||||
|
||||
// main keychunk loop
|
||||
for (uint32_t i = 0; i < keycnt; i += chunksize) {
|
||||
|
||||
|
|
|
@ -166,7 +166,7 @@ int mfCheckKeys_fast( uint8_t sectorsCnt, uint8_t firstChunk, uint8_t lastChunk,
|
|||
// time to convert the returned data.
|
||||
uint8_t curr_keys = resp.arg[0];
|
||||
|
||||
PrintAndLogEx(NORMAL, "\n[-] Chunk: %.1fs | found %u/%u keys (%u)", (float)(t2/1000.0), curr_keys, (sectorsCnt<<1), size);
|
||||
PrintAndLogEx(SUCCESS, "\nChunk: %.1fs | found %u/%u keys (%u)", (float)(t2/1000.0), curr_keys, (sectorsCnt<<1), size);
|
||||
|
||||
// all keys?
|
||||
if ( curr_keys == sectorsCnt*2 || lastChunk ) {
|
||||
|
|
Loading…
Reference in a new issue