mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
text
This commit is contained in:
parent
585670d55c
commit
01e57db5f1
2 changed files with 8 additions and 7 deletions
|
@ -2958,7 +2958,8 @@ static int CmdHFiClass_TearBlock(const char *Cmd) {
|
||||||
CLIParserInit(&ctx, "hf iclass tear",
|
CLIParserInit(&ctx, "hf iclass tear",
|
||||||
"Tear off an iCLASS tag block\n"
|
"Tear off an iCLASS tag block\n"
|
||||||
"e-purse usually 300-500us to trigger the erase phase\n"
|
"e-purse usually 300-500us to trigger the erase phase\n"
|
||||||
"also seen 1800-2100us on some cards\n",
|
"also seen 1800-2100us on some cards\n"
|
||||||
|
"Make sure you know the target card credit key. Typical `--ki 1` or `--ki 3`\n",
|
||||||
"hf iclass tear --blk 10 -d AAAAAAAAAAAAAAAA -k 001122334455667B -s 300 -e 600\n"
|
"hf iclass tear --blk 10 -d AAAAAAAAAAAAAAAA -k 001122334455667B -s 300 -e 600\n"
|
||||||
"hf iclass tear --blk 10 -d AAAAAAAAAAAAAAAA --ki 0 -s 300 -e 600\n"
|
"hf iclass tear --blk 10 -d AAAAAAAAAAAAAAAA --ki 0 -s 300 -e 600\n"
|
||||||
"hf iclass tear --blk 2 -d fdffffffffffffff --ki 1 --credit -s 400 -e 500"
|
"hf iclass tear --blk 2 -d fdffffffffffffff --ki 1 --credit -s 400 -e 500"
|
||||||
|
@ -3138,8 +3139,8 @@ static int CmdHFiClass_TearBlock(const char *Cmd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pagemap == 0x0) {
|
if (pagemap == 0x0) {
|
||||||
PrintAndLogEx(WARNING, _RED_("No auth possible. Read only if RA is enabled"));
|
PrintAndLogEx(WARNING, _RED_("No auth possible. Read only if RA is enabled"));
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool read_auth = auth;
|
bool read_auth = auth;
|
||||||
|
@ -3210,7 +3211,7 @@ static int CmdHFiClass_TearBlock(const char *Cmd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tearoff_loop > 1) {
|
if (tearoff_loop > 1) {
|
||||||
PrintAndLogEx(INPLACE, " Tear off delay "_YELLOW_("%u")" / "_YELLOW_("%d")" us - "_YELLOW_("%u")" loops", params.delay_us, (tearoff_end & 0xFFFF), loop_count + 1);
|
PrintAndLogEx(INPLACE, " Tear off delay "_YELLOW_("%u")" / "_YELLOW_("%d")" us - "_YELLOW_("%u")" loops ", params.delay_us, (tearoff_end & 0xFFFF), loop_count + 1);
|
||||||
} else {
|
} else {
|
||||||
PrintAndLogEx(INPLACE, " Tear off delay "_YELLOW_("%u")" / "_YELLOW_("%d")" us", params.delay_us, (tearoff_end & 0xFFFF));
|
PrintAndLogEx(INPLACE, " Tear off delay "_YELLOW_("%u")" / "_YELLOW_("%d")" us", params.delay_us, (tearoff_end & 0xFFFF));
|
||||||
}
|
}
|
||||||
|
@ -3347,7 +3348,7 @@ static int CmdHFiClass_TearBlock(const char *Cmd) {
|
||||||
|
|
||||||
// if more OTP bits set..
|
// if more OTP bits set..
|
||||||
if (data_read[1] > data_read_orig[1] ||
|
if (data_read[1] > data_read_orig[1] ||
|
||||||
data_read[2] > data_read_orig[2]) {
|
data_read[2] > data_read_orig[2]) {
|
||||||
PrintAndLogEx(SUCCESS, "More OTP bits got set!!!");
|
PrintAndLogEx(SUCCESS, "More OTP bits got set!!!");
|
||||||
isok = PM3_SUCCESS;
|
isok = PM3_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3718,7 +3718,7 @@
|
||||||
},
|
},
|
||||||
"hf iclass tear": {
|
"hf iclass tear": {
|
||||||
"command": "hf iclass tear",
|
"command": "hf iclass tear",
|
||||||
"description": "Tear off an iCLASS tag block e-purse usually 300-500us to trigger the erase phase also seen 1800-2100us on some cards",
|
"description": "Tear off an iCLASS tag block e-purse usually 300-500us to trigger the erase phase also seen 1800-2100us on some cards Make sure you know the target card credit key. Typical `--ki 1` or `--ki 3`",
|
||||||
"notes": [
|
"notes": [
|
||||||
"hf iclass tear --blk 10 -d AAAAAAAAAAAAAAAA -k 001122334455667B -s 300 -e 600",
|
"hf iclass tear --blk 10 -d AAAAAAAAAAAAAAAA -k 001122334455667B -s 300 -e 600",
|
||||||
"hf iclass tear --blk 10 -d AAAAAAAAAAAAAAAA --ki 0 -s 300 -e 600",
|
"hf iclass tear --blk 10 -d AAAAAAAAAAAAAAAA --ki 0 -s 300 -e 600",
|
||||||
|
@ -13354,6 +13354,6 @@
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"commands_extracted": 767,
|
"commands_extracted": 767,
|
||||||
"extracted_by": "PM3Help2JSON v1.00",
|
"extracted_by": "PM3Help2JSON v1.00",
|
||||||
"extracted_on": "2025-05-25T12:38:36"
|
"extracted_on": "2025-05-27T08:11:15"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue