mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
text
This commit is contained in:
parent
ae1504e763
commit
8565781f66
1 changed files with 8 additions and 3 deletions
|
@ -4513,10 +4513,16 @@ static int CmdHFiClassSAM(const char *Cmd) {
|
||||||
|
|
||||||
if (strlen(binstr) >= 26 && verbose) {
|
if (strlen(binstr) >= 26 && verbose) {
|
||||||
|
|
||||||
|
// iCLASS Legacy
|
||||||
|
PrintAndLogEx(INFO, "Clone to " _YELLOW_("iCLASS Legacy"));
|
||||||
|
PrintAndLogEx(SUCCESS, " hf iclass encode --ki 0 --bin %s", binstr);
|
||||||
|
PrintAndLogEx(NORMAL, "");
|
||||||
|
|
||||||
// HID Prox II
|
// HID Prox II
|
||||||
PrintAndLogEx(INFO, "Downgrade to " _YELLOW_("HID Prox II"));
|
PrintAndLogEx(INFO, "Downgrade to " _YELLOW_("HID Prox II"));
|
||||||
PrintAndLogEx(SUCCESS, " lf hid clone -w H10301 --bin %s", binstr);
|
PrintAndLogEx(SUCCESS, " lf hid clone -w H10301 --bin %s", binstr);
|
||||||
PrintAndLogEx(NORMAL, "");
|
PrintAndLogEx(NORMAL, "");
|
||||||
|
|
||||||
// MIFARE Classic
|
// MIFARE Classic
|
||||||
char mfcbin[28] = {0};
|
char mfcbin[28] = {0};
|
||||||
mfcbin[0] = '1';
|
mfcbin[0] = '1';
|
||||||
|
@ -4533,9 +4539,8 @@ static int CmdHFiClassSAM(const char *Cmd) {
|
||||||
PrintAndLogEx(SUCCESS, " hf mf sim --1k -i;");
|
PrintAndLogEx(SUCCESS, " hf mf sim --1k -i;");
|
||||||
PrintAndLogEx(NORMAL, "");
|
PrintAndLogEx(NORMAL, "");
|
||||||
|
|
||||||
// iCLASS Legacy
|
PrintAndLogEx(INFO, "Downgrade to " _YELLOW_("MIFARE Classic 1K"));
|
||||||
PrintAndLogEx(INFO, "Clone to " _YELLOW_("iCLASS Legacy"));
|
PrintAndLogEx(SUCCESS, " hf mf encodehid --bin %s", binstr);
|
||||||
PrintAndLogEx(SUCCESS, " hf iclass encode --ki 0 --bin %s", binstr);
|
|
||||||
PrintAndLogEx(NORMAL, "");
|
PrintAndLogEx(NORMAL, "");
|
||||||
}
|
}
|
||||||
free(binstr);
|
free(binstr);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue