mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
lf hid sim: add support for long ID
This commit is contained in:
parent
9275304640
commit
59e66ce5fd
8 changed files with 120 additions and 45 deletions
|
@ -128,7 +128,7 @@ void RunMod() {
|
|||
WAIT_BUTTON_RELEASED();
|
||||
|
||||
Dbprintf("[=] %x %x %08x", selected, high[selected], low[selected]);
|
||||
CmdHIDsimTAG(high[selected], low[selected], 0);
|
||||
CmdHIDsimTAG(0, high[selected], low[selected], 0, 0);
|
||||
DbpString("[=] done playing");
|
||||
|
||||
if (BUTTON_HELD(1000) > 0)
|
||||
|
@ -188,7 +188,7 @@ void RunMod() {
|
|||
// Print actual code to brute
|
||||
Dbprintf("[=] TAG ID: %x%08x (%d) - FC: %u - Card: %u", high[selected], low[selected], (low[selected] >> 1) & 0xFFFF, fc, cardnum);
|
||||
|
||||
CmdHIDsimTAGEx(high[selected], low[selected], 1, 50000);
|
||||
CmdHIDsimTAGEx(0, high[selected], low[selected], 0, 1, 50000);
|
||||
}
|
||||
|
||||
cardnum = original_cardnum;
|
||||
|
@ -216,7 +216,7 @@ void RunMod() {
|
|||
// Print actual code to brute
|
||||
Dbprintf("[=] TAG ID: %x%08x (%d) - FC: %u - Card: %u", high[selected], low[selected], (low[selected] >> 1) & 0xFFFF, fc, cardnum);
|
||||
|
||||
CmdHIDsimTAGEx(high[selected], low[selected], 1, 50000);
|
||||
CmdHIDsimTAGEx(0, high[selected], low[selected], 0, 1, 50000);
|
||||
}
|
||||
|
||||
DbpString("[=] done bruteforcing");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue