mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-21 07:46:12 +08:00
syntax
This commit is contained in:
parent
dbed5d5855
commit
50143e460d
|
@ -657,10 +657,10 @@ int CmdHF14ASniff(const char *Cmd) {
|
|||
int param = 0;
|
||||
uint8_t ctmp;
|
||||
for (int i = 0; i < 2; i++) {
|
||||
ctmp = param_getchar(Cmd, i);
|
||||
if (ctmp == 'h' || ctmp == 'H') return usage_hf_14a_sniff();
|
||||
if (ctmp == 'c' || ctmp == 'C') param |= 0x01;
|
||||
if (ctmp == 'r' || ctmp == 'R') param |= 0x02;
|
||||
ctmp = tolower(param_getchar(Cmd, i));
|
||||
if (ctmp == 'h') return usage_hf_14a_sniff();
|
||||
if (ctmp == 'c') param |= 0x01;
|
||||
if (ctmp == 'r') param |= 0x02;
|
||||
}
|
||||
UsbCommand c = {CMD_SNOOP_ISO_14443a, {param, 0, 0}};
|
||||
clearCommandBuffer();
|
||||
|
|
|
@ -686,7 +686,6 @@ int CmdHF15Dump(const char*Cmd) {
|
|||
|
||||
fptr += sprintf(fptr, "hf-15-");
|
||||
FillFileNameByUID(fptr,uid,"-dump",sizeof(uid));
|
||||
|
||||
}
|
||||
// detect blocksize from card :)
|
||||
|
||||
|
|
|
@ -350,8 +350,8 @@ uint16_t PrintFliteBlock(uint16_t tracepos, uint8_t *trace,uint16_t tracelen) {
|
|||
|
||||
int CmdHFFelicaDumpLite(const char *Cmd) {
|
||||
|
||||
char ctmp = param_getchar(Cmd, 0);
|
||||
if ( ctmp == 'h' || ctmp == 'H') return usage_hf_felica_dumplite();
|
||||
char ctmp = tolower(param_getchar(Cmd, 0));
|
||||
if ( ctmp == 'h') return usage_hf_felica_dumplite();
|
||||
|
||||
PrintAndLogEx(SUCCESS, "FeliCa lite - dump started");
|
||||
PrintAndLogEx(SUCCESS, "press pm3-button to cancel");
|
||||
|
|
Loading…
Reference in a new issue