mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
hf jooki sim - set type to NTAG215
This commit is contained in:
parent
9f44abe2f4
commit
8ece2ca023
1 changed files with 7 additions and 2 deletions
|
@ -355,6 +355,11 @@ static int CmdHF14AJookiSim(const char *Cmd) {
|
|||
}
|
||||
|
||||
mfu_dump_t *mfu_dump = (mfu_dump_t *)data;
|
||||
|
||||
memcpy(mfu_dump->version, "\x00\x04\x04\x02\x01\x00\x11\x03", 8);
|
||||
mfu_dump->counter_tearing[2][3] = 0xBD;
|
||||
mfu_dump->pages = 0x2c;
|
||||
|
||||
printMFUdumpEx(mfu_dump, mfu_dump->pages + 1, 0);
|
||||
|
||||
// upload to emulator memory
|
||||
|
@ -390,8 +395,8 @@ static int CmdHF14AJookiSim(const char *Cmd) {
|
|||
uint8_t exitAfter;
|
||||
} PACKED payload;
|
||||
|
||||
// MF Ultralight , 7 byte UID in eloaded data.
|
||||
payload.tagtype = 2;
|
||||
// NTAG, 7 byte UID in eloaded data.
|
||||
payload.tagtype = 7;
|
||||
payload.flags = FLAG_7B_UID_IN_DATA;
|
||||
payload.exitAfter = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue