mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-23 08:46:13 +08: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:
parent
6df79e3926
commit
0c98550177
|
@ -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 uint16_t atsFSC[] = {16, 24, 32, 40, 48, 64, 96, 128, 256};
|
||||||
|
|
||||||
static int CmdHF14AList(const char *Cmd) {
|
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) {
|
int hf14a_getconfig(hf14a_config *config) {
|
||||||
|
|
|
@ -6736,7 +6736,7 @@ static int CmdHFMFPersonalize(const char *Cmd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static int CmdHF14AMfList(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) {
|
static int CmdHf14AGen3UID(const char *Cmd) {
|
||||||
|
|
|
@ -4673,7 +4673,7 @@ static int CmdHF14AMfuView(const char *Cmd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static int CmdHF14AMfuList(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);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
char args[128] = {0};
|
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);
|
strncat(args, Cmd, sizeof(args) - strlen(args) - 1);
|
||||||
return CmdTraceList(args);
|
return CmdTraceList(args);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue