mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-20 03:48:33 +08:00
NG->MIX for few cmds where the zeroes were actual args
CMD_READER_ISO_14443a CMD_EPA_PACE_REPLAY CMD_TEST_HITAGS_TRACES CMD_FELICA_COMMAND
This commit is contained in:
parent
84f696451d
commit
730927a81d
4 changed files with 4 additions and 4 deletions
|
@ -141,7 +141,7 @@ static int CmdHFEPAPACEReplay(const char *Cmd) {
|
|||
|
||||
// now perform the replay
|
||||
clearCommandBuffer();
|
||||
SendCommandNG(CMD_EPA_PACE_REPLAY, NULL, 0);
|
||||
SendCommandMIX(CMD_EPA_PACE_REPLAY, 0, 0, 0, NULL, 0);
|
||||
WaitForResponse(CMD_ACK, &resp);
|
||||
if (resp.oldarg[0] != 0) {
|
||||
PrintAndLogEx(NORMAL, "\nPACE replay failed in step %u!", (uint32_t)resp.oldarg[0]);
|
||||
|
|
|
@ -564,7 +564,7 @@ int readFelicaUid(bool verbose) {
|
|||
PacketResponseNG resp;
|
||||
if (!WaitForResponseTimeout(CMD_ACK, &resp, 2500)) {
|
||||
if (verbose) PrintAndLogEx(WARNING, "FeliCa card select failed");
|
||||
//SendCommandNG(CMD_FELICA_COMMAND, NULL, 0);
|
||||
//SendCommandMIX(CMD_FELICA_COMMAND, 0, 0, 0, NULL, 0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ static void topaz_switch_on_field(void) {
|
|||
}
|
||||
|
||||
static void topaz_switch_off_field(void) {
|
||||
SendCommandNG(CMD_READER_ISO_14443a, NULL, 0);
|
||||
SendCommandMIX(CMD_READER_ISO_14443a, 0, 0, 0, NULL, 0);
|
||||
}
|
||||
|
||||
// send a raw topaz command, returns the length of the response (0 in case of error)
|
||||
|
|
|
@ -632,7 +632,7 @@ static int CmdLFHitagCheckChallenges(const char *Cmd) {
|
|||
if (file_given)
|
||||
SendCommandOLD(CMD_TEST_HITAGS_TRACES, 1, 0, 0, data, datalen);
|
||||
else
|
||||
SendCommandNG(CMD_TEST_HITAGS_TRACES, NULL, 0);
|
||||
SendCommandMIX(CMD_TEST_HITAGS_TRACES, 0, 0, 0, NULL, 0);
|
||||
|
||||
free(data);
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue