mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 13:00:42 -07:00
text
This commit is contained in:
parent
e83960a43d
commit
adfebd6510
3 changed files with 20 additions and 15 deletions
|
@ -1835,6 +1835,7 @@ void SniffIso15693(uint8_t jam_search_len, uint8_t *jam_search_string, bool icla
|
||||||
switch_off();
|
switch_off();
|
||||||
|
|
||||||
DbpString("");
|
DbpString("");
|
||||||
|
if (g_dbglevel > DBG_ERROR) {
|
||||||
DbpString(_CYAN_("Sniff statistics"));
|
DbpString(_CYAN_("Sniff statistics"));
|
||||||
DbpString("=================================");
|
DbpString("=================================");
|
||||||
Dbprintf("DecodeTag State........ %d", dtag.state);
|
Dbprintf("DecodeTag State........ %d", dtag.state);
|
||||||
|
@ -1846,9 +1847,8 @@ void SniffIso15693(uint8_t jam_search_len, uint8_t *jam_search_string, bool icla
|
||||||
Dbprintf("DecodeReader State..... %d", dreader.state);
|
Dbprintf("DecodeReader State..... %d", dreader.state);
|
||||||
Dbprintf("DecodeReader byteCnt... %d", dreader.byteCount);
|
Dbprintf("DecodeReader byteCnt... %d", dreader.byteCount);
|
||||||
Dbprintf("DecodeReader posCount.. %d", dreader.posCount);
|
Dbprintf("DecodeReader posCount.. %d", dreader.posCount);
|
||||||
|
}
|
||||||
Dbprintf("Trace length........... " _YELLOW_("%d"), BigBuf_get_traceLen());
|
Dbprintf("Trace length........... " _YELLOW_("%d"), BigBuf_get_traceLen());
|
||||||
DbpString("");
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initialize Proxmark3 as ISO15693 reader
|
// Initialize Proxmark3 as ISO15693 reader
|
||||||
|
|
|
@ -683,8 +683,13 @@ static int CmdHFiClassSniff(const char *Cmd) {
|
||||||
|
|
||||||
WaitForResponse(CMD_HF_ICLASS_SNIFF, &resp);
|
WaitForResponse(CMD_HF_ICLASS_SNIFF, &resp);
|
||||||
|
|
||||||
|
PrintAndLogEx(NORMAL, "");
|
||||||
PrintAndLogEx(HINT, "Try `" _YELLOW_("hf iclass list") "` to view captured tracelog");
|
PrintAndLogEx(HINT, "Try `" _YELLOW_("hf iclass list") "` to view captured tracelog");
|
||||||
PrintAndLogEx(HINT, "Try `" _YELLOW_("trace save -f hf_iclass_mytrace") "` to save tracelog for later analysing");
|
PrintAndLogEx(HINT, "Try `" _YELLOW_("trace save -f hf_iclass_mytrace") "` to save tracelog for later analysing");
|
||||||
|
if (jam_epurse_update) {
|
||||||
|
PrintAndLogEx(HINT, "Verify if the jam worked by comparing value in trace and block 2");
|
||||||
|
}
|
||||||
|
PrintAndLogEx(NORMAL, "");
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -499,7 +499,7 @@ void annotateIclass(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize, bool
|
||||||
|
|
||||||
uint8_t key[8];
|
uint8_t key[8];
|
||||||
if (check_known_default(csn, epurse, rmac, tmac, key)) {
|
if (check_known_default(csn, epurse, rmac, tmac, key)) {
|
||||||
snprintf(exp, size, "CHECK ( %s )", sprint_hex_inrow(key, 8));
|
snprintf(exp, size, "CHECK ( " _GREEN_("%s") " )", sprint_hex_inrow(key, 8));
|
||||||
} else {
|
} else {
|
||||||
snprintf(exp, size, "CHECK");
|
snprintf(exp, size, "CHECK");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue