mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
Refactor Hitag low-level functions into hitag_common
This commit is contained in:
parent
4c74704aa1
commit
3d0c8cab5c
12 changed files with 696 additions and 684 deletions
|
@ -1200,7 +1200,7 @@ static void PacketReceived(PacketCommandNG *packet) {
|
|||
break;
|
||||
}
|
||||
case CMD_LF_HITAGS_SIMULATE: { // Simulate Hitag s tag, args = memory content
|
||||
hts_simulate((bool)packet->oldarg[0], packet->data.asBytes, true);
|
||||
hts_simulate((bool)packet->oldarg[0], packet->oldarg[1], packet->data.asBytes, true);
|
||||
break;
|
||||
}
|
||||
case CMD_LF_HITAGS_TEST_TRACES: { // Tests every challenge within the given file
|
||||
|
@ -1218,7 +1218,7 @@ static void PacketReceived(PacketCommandNG *packet) {
|
|||
break;
|
||||
}
|
||||
case CMD_LF_HITAGS_UID: {
|
||||
hts_read_uid(NULL, false, true);
|
||||
hts_read_uid(NULL, true, true);
|
||||
break;
|
||||
}
|
||||
case CMD_LF_HITAG2_WRITE: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue