mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 02:27:26 -07:00
hf 15 wrbl - to handle different models
This commit is contained in:
parent
c017565025
commit
52241eff9e
1 changed files with 9 additions and 0 deletions
|
@ -2433,6 +2433,15 @@ static int CmdHF15Write(const char *Cmd) {
|
|||
PrintAndLogEx(SUCCESS, "Using unaddressed mode");
|
||||
}
|
||||
|
||||
// TI needs OPTION
|
||||
PrintAndLogEx(SUCCESS, "Using UID... " _GREEN_("%s"), sprint_hex_inrow(uid, 8));
|
||||
if (uid[7] == 0xE0 && uid[6] == 0x07) {
|
||||
if (verbose) {
|
||||
PrintAndLogEx(INFO, "Overriding OPTION param, writing to TI tag");
|
||||
}
|
||||
add_option = true;
|
||||
}
|
||||
|
||||
uint16_t flags = arg_get_raw_flag(uidlen, unaddressed, scan, add_option);
|
||||
|
||||
int res = hf_15_write_blk(flags, ((unaddressed) ? NULL : uid), fast, (uint8_t)blockno, d, dlen);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue