mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 13:00:42 -07:00
update hint loglevel
This commit is contained in:
parent
3e11d8d522
commit
3cf06cf478
7 changed files with 14 additions and 8 deletions
|
@ -189,7 +189,7 @@ static int CmdGuardClone(const char *Cmd) {
|
||||||
|
|
||||||
int res = clone_t55xx_tag(blocks, ARRAYLEN(blocks));
|
int res = clone_t55xx_tag(blocks, ARRAYLEN(blocks));
|
||||||
PrintAndLogEx(SUCCESS, "Done");
|
PrintAndLogEx(SUCCESS, "Done");
|
||||||
PrintAndLogEx(INFO, "Hint: try " _YELLOW_("`lf gprox read`") "to verify");
|
PrintAndLogEx(HINT, "Hint: try " _YELLOW_("`lf gprox read`") "to verify");
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -348,7 +348,7 @@ static int CmdHIDClone(const char *Cmd) {
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
SendCommandMIX(CMD_LF_HID_CLONE, hi2, hi, lo, longid, sizeof(longid));
|
SendCommandMIX(CMD_LF_HID_CLONE, hi2, hi, lo, longid, sizeof(longid));
|
||||||
PrintAndLogEx(SUCCESS, "Done");
|
PrintAndLogEx(SUCCESS, "Done");
|
||||||
PrintAndLogEx(INFO, "Hint: try " _YELLOW_("`lf hid read`") "to verify");
|
PrintAndLogEx(HINT, "Hint: try " _YELLOW_("`lf hid read`") "to verify");
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -246,7 +246,7 @@ static int CmdIndalaDemod(const char *Cmd) {
|
||||||
checksum |= DemodBuffer[63] << 0; // b1
|
checksum |= DemodBuffer[63] << 0; // b1
|
||||||
|
|
||||||
PrintAndLogEx(NORMAL, "");
|
PrintAndLogEx(NORMAL, "");
|
||||||
PrintAndLogEx(SUCCESS, "Fmt 26 bit FC " _YELLOW_("%u") ", CN " _YELLOW_("%u") ", checksum %1d%1d"
|
PrintAndLogEx(SUCCESS, "Fmt 26 bit FC " _YELLOW_("%u") ", CN " _YELLOW_("%u") ", checksum " _YELLOW_("%1d%1d")
|
||||||
, fc
|
, fc
|
||||||
, csn
|
, csn
|
||||||
, checksum >> 1 & 0x01
|
, checksum >> 1 & 0x01
|
||||||
|
@ -505,6 +505,7 @@ static int CmdIndalaSim(const char *Cmd) {
|
||||||
uint8_t hexuid[100];
|
uint8_t hexuid[100];
|
||||||
int len = 0;
|
int len = 0;
|
||||||
param_gethex_ex(Cmd, 0, hexuid, &len);
|
param_gethex_ex(Cmd, 0, hexuid, &len);
|
||||||
|
|
||||||
if (len > 28)
|
if (len > 28)
|
||||||
return usage_lf_indala_sim();
|
return usage_lf_indala_sim();
|
||||||
|
|
||||||
|
@ -670,7 +671,7 @@ static int CmdIndalaClone(const char *Cmd) {
|
||||||
print_blocks(blocks, max);
|
print_blocks(blocks, max);
|
||||||
int res = clone_t55xx_tag(blocks, max);
|
int res = clone_t55xx_tag(blocks, max);
|
||||||
PrintAndLogEx(SUCCESS, "Done");
|
PrintAndLogEx(SUCCESS, "Done");
|
||||||
PrintAndLogEx(INFO, "Hint: try " _YELLOW_("`lf indala read`") "to verify");
|
PrintAndLogEx(HINT, "Hint: try " _YELLOW_("`lf indala read`") "to verify");
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -749,6 +750,11 @@ int getIndalaBits(uint8_t fc, uint16_t cn, uint8_t *bits) {
|
||||||
bits[62] = 1;
|
bits[62] = 1;
|
||||||
bits[63] = 0;
|
bits[63] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// add parity
|
||||||
|
bits[34] = 1; // p1 64 - 30 = 34
|
||||||
|
bits[38] = 1; // p2 68 - 30 = 38
|
||||||
|
|
||||||
// 92 = 62
|
// 92 = 62
|
||||||
// 93 = 63
|
// 93 = 63
|
||||||
|
|
||||||
|
|
|
@ -277,7 +277,7 @@ static int CmdIOProxClone(const char *Cmd) {
|
||||||
|
|
||||||
int res = clone_t55xx_tag(blocks, ARRAYLEN(blocks));
|
int res = clone_t55xx_tag(blocks, ARRAYLEN(blocks));
|
||||||
PrintAndLogEx(SUCCESS, "Done");
|
PrintAndLogEx(SUCCESS, "Done");
|
||||||
PrintAndLogEx(INFO, "Hint: try " _YELLOW_("`lf io read`") "to verify");
|
PrintAndLogEx(HINT, "Hint: try " _YELLOW_("`lf io read`") "to verify");
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -282,7 +282,7 @@ static int CmdKeriClone(const char *Cmd) {
|
||||||
|
|
||||||
int res = clone_t55xx_tag(blocks, ARRAYLEN(blocks));
|
int res = clone_t55xx_tag(blocks, ARRAYLEN(blocks));
|
||||||
PrintAndLogEx(SUCCESS, "Done");
|
PrintAndLogEx(SUCCESS, "Done");
|
||||||
PrintAndLogEx(INFO, "Hint: try " _YELLOW_("`lf keri read`") "to verify");
|
PrintAndLogEx(HINT, "Hint: try " _YELLOW_("`lf keri read`") "to verify");
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -179,7 +179,7 @@ static int CmdMotorolaClone(const char *Cmd) {
|
||||||
print_blocks(blocks, ARRAYLEN(blocks));
|
print_blocks(blocks, ARRAYLEN(blocks));
|
||||||
int res = clone_t55xx_tag(blocks, ARRAYLEN(blocks));
|
int res = clone_t55xx_tag(blocks, ARRAYLEN(blocks));
|
||||||
PrintAndLogEx(SUCCESS, "Done");
|
PrintAndLogEx(SUCCESS, "Done");
|
||||||
PrintAndLogEx(INFO, "Hint: try " _YELLOW_("`lf motorola read`") "to verify");
|
PrintAndLogEx(HINT, "Hint: try " _YELLOW_("`lf motorola read`") "to verify");
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -476,7 +476,7 @@ static int CmdLFNedapClone(const char *Cmd) {
|
||||||
PrintAndLogEx(NORMAL, "");
|
PrintAndLogEx(NORMAL, "");
|
||||||
}
|
}
|
||||||
PrintAndLogEx(SUCCESS, "Done");
|
PrintAndLogEx(SUCCESS, "Done");
|
||||||
PrintAndLogEx(INFO, "Hint: try " _YELLOW_("`lf nedap read`") "to verify");
|
PrintAndLogEx(HINT, "Hint: try " _YELLOW_("`lf nedap read`") "to verify");
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue