mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-15 06:09:13 +08:00
Fix hf_craftbyte.c: too few arguments to function 'SimulateIso14443aTag'
Signed-off-by: Sebastian Meyer <archi@users.noreply.github.com>
This commit is contained in:
parent
0b3c3dd0ea
commit
1f660557eb
1 changed files with 6 additions and 6 deletions
|
@ -94,22 +94,22 @@ void RunMod(void) {
|
|||
Dbprintf("Starting simulation, press " _GREEN_("pm3 button") " to stop and go back to search state.");
|
||||
if (card.sak == 0x08 && card.atqa[0] == 0x04 && card.atqa[1] == 0) {
|
||||
DbpString("Mifare Classic 1k");
|
||||
SimulateIso14443aTag(1, flags, card.uid, 0);
|
||||
SimulateIso14443aTag(1, flags, card.uid, 0, NULL);
|
||||
} else if (card.sak == 0x08 && card.atqa[0] == 0x44 && card.atqa[1] == 0) {
|
||||
DbpString("Mifare Classic 4k ");
|
||||
SimulateIso14443aTag(8, flags, card.uid, 0);
|
||||
SimulateIso14443aTag(8, flags, card.uid, 0, NULL);
|
||||
} else if (card.sak == 0x00 && card.atqa[0] == 0x44 && card.atqa[1] == 0) {
|
||||
DbpString("Mifare Ultralight");
|
||||
SimulateIso14443aTag(2, flags, card.uid, 0);
|
||||
SimulateIso14443aTag(2, flags, card.uid, 0, NULL);
|
||||
} else if (card.sak == 0x20 && card.atqa[0] == 0x04 && card.atqa[1] == 0x03) {
|
||||
DbpString("Mifare DESFire");
|
||||
SimulateIso14443aTag(3, flags, card.uid, 0);
|
||||
SimulateIso14443aTag(3, flags, card.uid, 0, NULL);
|
||||
} else if (card.sak == 0x20 && card.atqa[0] == 0x44 && card.atqa[1] == 0x03) {
|
||||
DbpString("Mifare DESFire Ev1/Plus/JCOP");
|
||||
SimulateIso14443aTag(3, flags, card.uid, 0);
|
||||
SimulateIso14443aTag(3, flags, card.uid, 0, NULL);
|
||||
} else {
|
||||
Dbprintf("Unrecognized tag type -- defaulting to Mifare Classic emulation");
|
||||
SimulateIso14443aTag(1, flags, card.uid, 0);
|
||||
SimulateIso14443aTag(1, flags, card.uid, 0, NULL);
|
||||
}
|
||||
|
||||
// Go back to search state if user presses pm3-button
|
||||
|
|
Loading…
Reference in a new issue