mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
dont mark crc byte everywhere in the alias list. have to set it for those commands that would benefit from it
This commit is contained in:
@@ -232,7 +232,7 @@ static uint8_t gs_frames_num = 0;
|
||||
static uint16_t atsFSC[] = {16, 24, 32, 40, 48, 64, 96, 128, 256};
|
||||
|
||||
static int CmdHF14AList(const char *Cmd) {
|
||||
return CmdTraceListAlias(Cmd, "hf 14a", "14a");
|
||||
return CmdTraceListAlias(Cmd, "hf 14a", "14a -c");
|
||||
}
|
||||
|
||||
int hf14a_getconfig(hf14a_config *config) {
|
||||
|
||||
@@ -6736,7 +6736,7 @@ static int CmdHFMFPersonalize(const char *Cmd) {
|
||||
}
|
||||
|
||||
static int CmdHF14AMfList(const char *Cmd) {
|
||||
return CmdTraceListAlias(Cmd, "hf mf", "mf");
|
||||
return CmdTraceListAlias(Cmd, "hf mf", "mf -c");
|
||||
}
|
||||
|
||||
static int CmdHf14AGen3UID(const char *Cmd) {
|
||||
|
||||
@@ -4673,7 +4673,7 @@ static int CmdHF14AMfuView(const char *Cmd) {
|
||||
}
|
||||
|
||||
static int CmdHF14AMfuList(const char *Cmd) {
|
||||
return CmdTraceListAlias(Cmd, "hf 14a", "14a");
|
||||
return CmdTraceListAlias(Cmd, "hf 14a", "14a -c");
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1176,7 +1176,7 @@ int CmdTraceListAlias(const char *Cmd, const char *alias, const char *protocol)
|
||||
CLIParserFree(ctx);
|
||||
|
||||
char args[128] = {0};
|
||||
snprintf(args, sizeof(args), "-c -t %s ", protocol);
|
||||
snprintf(args, sizeof(args), "-t %s ", protocol);
|
||||
strncat(args, Cmd, sizeof(args) - strlen(args) - 1);
|
||||
return CmdTraceList(args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user