mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 10:36:58 -07:00
HitagS Improvements (#721)
* support of HITAG S standard communication mode * fixed wrong AC (Anti Collision) decoding * support of block read mode * fixed wrong uid send when using simulation * support of communication mode parameter (client is backward compatible) * support of start-page parameter (important for some weird tags) (client is backward compatible) * also expect pages if tag memory size in con0 is 11 (we got some tags) * corrected hitagS reader cmd help
This commit is contained in:
parent
994f21fe01
commit
7b6e320533
8 changed files with 1074 additions and 733 deletions
|
@ -1086,10 +1086,13 @@ void UsbPacketReceived(uint8_t *packet, int len)
|
|||
SimulateHitagSTag((bool)c->arg[0],(byte_t*)c->d.asBytes);
|
||||
break;
|
||||
case CMD_TEST_HITAGS_TRACES:// Tests every challenge within the given file
|
||||
check_challenges((bool)c->arg[0],(byte_t*)c->d.asBytes);
|
||||
check_challenges_cmd((bool)c->arg[0], (byte_t*)c->d.asBytes, (uint8_t)c->arg[1]);
|
||||
break;
|
||||
case CMD_READ_HITAG_S://Reader for only Hitag S tags, args = key or challenge
|
||||
ReadHitagS((hitag_function)c->arg[0],(hitag_data*)c->d.asBytes);
|
||||
ReadHitagSCmd((hitag_function)c->arg[0], (hitag_data*)c->d.asBytes, (uint8_t)c->arg[1], (uint8_t)c->arg[2], false);
|
||||
break;
|
||||
case CMD_READ_HITAG_S_BLK:
|
||||
ReadHitagSCmd((hitag_function)c->arg[0], (hitag_data*)c->d.asBytes, (uint8_t)c->arg[1], (uint8_t)c->arg[2], true);
|
||||
break;
|
||||
case CMD_WR_HITAG_S://writer for Hitag tags args=data to write,page and key or challenge
|
||||
if ((hitag_function)c->arg[0] < 10) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue