mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
Added lf hitag htu
support for Hitag µ/8265
This commit is contained in:
parent
ff1289c03d
commit
4bde83b89d
15 changed files with 1822 additions and 19 deletions
|
@ -41,6 +41,7 @@
|
|||
#include "hitag2.h"
|
||||
#include "hitag2_crack.h"
|
||||
#include "hitagS.h"
|
||||
#include "hitagu.h"
|
||||
#include "em4x50.h"
|
||||
#include "em4x70.h"
|
||||
#include "iclass.h"
|
||||
|
@ -1232,6 +1233,25 @@ static void PacketReceived(PacketCommandNG *packet) {
|
|||
memcpy(mem, payload->data, payload->len);
|
||||
break;
|
||||
}
|
||||
|
||||
case CMD_LF_HITAGU_READ: {
|
||||
lf_hitag_data_t *payload = (lf_hitag_data_t *)packet->data.asBytes;
|
||||
htu_read(payload, true);
|
||||
break;
|
||||
}
|
||||
case CMD_LF_HITAGU_WRITE: {
|
||||
lf_hitag_data_t *payload = (lf_hitag_data_t *)packet->data.asBytes;
|
||||
htu_write_page(payload, true);
|
||||
break;
|
||||
}
|
||||
case CMD_LF_HITAGU_SIMULATE: {
|
||||
htu_simulate((bool)packet->oldarg[0], packet->oldarg[1], packet->data.asBytes, true);
|
||||
break;
|
||||
}
|
||||
case CMD_LF_HITAGU_UID: {
|
||||
htu_read_uid(NULL, true, true);
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WITH_EM4x50
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue