mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
WIP - hitag sniff, eload, sim
This commit is contained in:
parent
48012061a6
commit
d012a879f2
3 changed files with 318 additions and 66 deletions
|
@ -49,6 +49,7 @@
|
|||
#include "commonutil.h"
|
||||
#include "crc16.h"
|
||||
|
||||
|
||||
#ifdef WITH_LCD
|
||||
#include "LCD_disabled.h"
|
||||
#endif
|
||||
|
@ -1084,7 +1085,7 @@ static void PacketReceived(PacketCommandNG *packet) {
|
|||
break;
|
||||
}
|
||||
case CMD_LF_HITAG_SIMULATE: { // Simulate Hitag tag, args = memory content
|
||||
SimulateHitag2((bool)packet->oldarg[0], packet->data.asBytes);
|
||||
SimulateHitag2();
|
||||
break;
|
||||
}
|
||||
case CMD_LF_HITAG_READER: { // Reader for Hitag tags, args = type and function
|
||||
|
@ -1111,6 +1112,18 @@ static void PacketReceived(PacketCommandNG *packet) {
|
|||
}
|
||||
break;
|
||||
}
|
||||
case CMD_LF_HITAG_ELOAD: {
|
||||
/*
|
||||
struct p {
|
||||
uint16_t len;
|
||||
uint8_t *data;
|
||||
} PACKED;
|
||||
struct p *payload = (struct p *) packet->data.asBytes;
|
||||
uint8_t *mem = BigBuf_get_EM_addr();
|
||||
memcpy((uint8_t *)mem.sectors, payload->data, payload->len);
|
||||
*/
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WITH_EM4x50
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue