mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
chg: textual
This commit is contained in:
parent
cfb3654f7b
commit
ccfdd60c09
1 changed files with 5 additions and 4 deletions
|
@ -276,14 +276,14 @@ int CmdHFiClassSim(const char *Cmd) {
|
||||||
|
|
||||||
if (simType == 0) {
|
if (simType == 0) {
|
||||||
if (param_gethex(Cmd, 1, CSN, 16)) {
|
if (param_gethex(Cmd, 1, CSN, 16)) {
|
||||||
PrintAndLog("A CSN should consist of 16 HEX symbols");
|
PrintAndLog("[!] A CSN should consist of 16 HEX symbols");
|
||||||
return usage_hf_iclass_sim();
|
return usage_hf_iclass_sim();
|
||||||
}
|
}
|
||||||
PrintAndLog("--simtype:%02x csn:%s", simType, sprint_hex(CSN, 8));
|
PrintAndLog("--simtype:%02x csn:%s", simType, sprint_hex(CSN, 8));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (simType > 4) {
|
if (simType > 4) {
|
||||||
PrintAndLog("Undefined simptype %d", simType);
|
PrintAndLog("[!] Undefined simptype %d", simType);
|
||||||
return usage_hf_iclass_sim();
|
return usage_hf_iclass_sim();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -356,7 +356,7 @@ int CmdHFiClassSim(const char *Cmd) {
|
||||||
switch(simType) {
|
switch(simType) {
|
||||||
|
|
||||||
case 2: {
|
case 2: {
|
||||||
PrintAndLog("[+] Starting the sim 2 attack");
|
PrintAndLog("[+] Starting iCLASS sim 2 attack (elite mode)");
|
||||||
PrintAndLog("[+] press keyboard to cancel");
|
PrintAndLog("[+] press keyboard to cancel");
|
||||||
UsbCommand c = {CMD_SIMULATE_TAG_ICLASS, {simType, NUM_CSNS}};
|
UsbCommand c = {CMD_SIMULATE_TAG_ICLASS, {simType, NUM_CSNS}};
|
||||||
UsbCommand resp = {0};
|
UsbCommand resp = {0};
|
||||||
|
@ -404,7 +404,8 @@ int CmdHFiClassSim(const char *Cmd) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 4: {
|
case 4: {
|
||||||
PrintAndLog("[+] Starting the sim 4 key roll attack");
|
// reader in key roll mode, when it has two keys it alternates when trying to verify.
|
||||||
|
PrintAndLog("[+] Starting iCLASS sim 4 attack (elite mode, reader in key roll mode)");
|
||||||
PrintAndLog("[+] press keyboard to cancel");
|
PrintAndLog("[+] press keyboard to cancel");
|
||||||
UsbCommand c = {CMD_SIMULATE_TAG_ICLASS, {simType, NUM_CSNS}};
|
UsbCommand c = {CMD_SIMULATE_TAG_ICLASS, {simType, NUM_CSNS}};
|
||||||
UsbCommand resp = {0};
|
UsbCommand resp = {0};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue