mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
added list
This commit is contained in:
parent
a88eae9f4e
commit
89555c0caa
1 changed files with 19 additions and 15 deletions
|
@ -5,7 +5,7 @@
|
|||
#include "cmdhfxerox.h"
|
||||
|
||||
#include "fileutils.h"
|
||||
|
||||
#include "cmdtrace.h"
|
||||
#include "cmdparser.h" // command_t
|
||||
#include "cliparser.h"
|
||||
#include "comms.h"
|
||||
|
@ -406,7 +406,6 @@ static int xerox_select_card(iso14b_card_select_t *card) {
|
|||
memcpy(card, (iso14b_card_select_t *)resp.data.asBytes, sizeof(iso14b_card_select_t));
|
||||
}
|
||||
|
||||
SetISODEPState(ISODEP_NFCB);
|
||||
return resp.length;
|
||||
}
|
||||
} // retry
|
||||
|
@ -534,7 +533,7 @@ int read_xerox_uid(bool loop, bool verbose) {
|
|||
if (status != PM3_SUCCESS) {
|
||||
continue;
|
||||
}
|
||||
} else {
|
||||
}
|
||||
|
||||
if (status == PM3_SUCCESS) {
|
||||
PrintAndLogEx(NORMAL, "");
|
||||
|
@ -543,7 +542,6 @@ int read_xerox_uid(bool loop, bool verbose) {
|
|||
} else {
|
||||
return PM3_ESOFT;
|
||||
}
|
||||
}
|
||||
|
||||
} while (loop && kbd_enter_pressed() == false);
|
||||
|
||||
|
@ -962,8 +960,14 @@ static int CmdHFXeroxView(const char *Cmd) {
|
|||
return PM3_SUCCESS;
|
||||
}
|
||||
|
||||
static int CmdHFXeroxList(const char *Cmd) {
|
||||
return CmdTraceListAlias(Cmd, "hf 14b", "14b -c");
|
||||
}
|
||||
|
||||
static command_t CommandTable[] = {
|
||||
{"help", CmdHelp, AlwaysAvailable, "This help"},
|
||||
{"list", CmdHFXeroxList, AlwaysAvailable, "List ISO-14443B history"},
|
||||
{"--------", CmdHelp, AlwaysAvailable, "----------------------- " _CYAN_("general") " -----------------------"},
|
||||
{"info", CmdHFXeroxInfo, IfPm3Iso14443b, "Short info on Fuji/Xerox tag"},
|
||||
{"dump", CmdHFXeroxDump, IfPm3Iso14443b, "Read all memory pages of an Fuji/Xerox tag, save to file"},
|
||||
{"reader", CmdHFXeroxReader, IfPm3Iso14443b, "Act like a Fuji/Xerox reader"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue