mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 02:27:26 -07:00
Thanks to the user jareckib for his solution of adding two extra blocks to t5577 in order to clone a more modern Electra tag. Find it under the extra param lf em 410x clone --electra
This commit is contained in:
parent
60439dc29b
commit
c544d67d2b
8 changed files with 66 additions and 17 deletions
|
@ -958,13 +958,14 @@ static void PacketReceived(PacketCommandNG *packet) {
|
|||
struct p {
|
||||
bool Q5;
|
||||
bool EM;
|
||||
bool add_electra;
|
||||
uint8_t clock;
|
||||
uint32_t high;
|
||||
uint32_t low;
|
||||
} PACKED;
|
||||
struct p *payload = (struct p *)packet->data.asBytes;
|
||||
uint8_t card = payload->Q5 ? 0 : (payload->EM ? 2 : 1);
|
||||
int res = copy_em410x_to_t55xx(card, payload->clock, payload->high, payload->low, true);
|
||||
int res = copy_em410x_to_t55xx(card, payload->clock, payload->high, payload->low, payload->add_electra, true);
|
||||
reply_ng(CMD_LF_EM410X_CLONE, res, NULL, 0);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue