mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
lf t55xx wakeup: fix parsing of -v / -p options
Signed-off-by: suut <suut@users.noreply.github.com>
This commit is contained in:
@@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
|
||||
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
|
||||
|
||||
## [unreleased][unreleased]
|
||||
- Fixed `lf t55xx wakeup` options parsing (@suut)
|
||||
- Added `--` arg separator to client to pass following args to scripts (@doegox)
|
||||
- Fixed ISO14443-4 type B NDEF workflow + parsing (@team-orangeBlue)
|
||||
- Added Snapmaker U1 filament spool KDF in `hf mf keygen` (@Foxushka)
|
||||
|
||||
@@ -1112,7 +1112,7 @@ static int CmdT55xxWakeUp(const char *Cmd) {
|
||||
CLIExecWithReturn(ctx, Cmd, argtable, true);
|
||||
|
||||
uint32_t password = 0;
|
||||
int res = arg_get_u32_hexstr_def_nlen(ctx, 2, 0, &password, 4, true);
|
||||
int res = arg_get_u32_hexstr_def_nlen(ctx, 1, 0, &password, 4, true);
|
||||
if (res == 0 || res == 2) {
|
||||
PrintAndLogEx(ERR, "Password should be 4 hex bytes");
|
||||
CLIParserFree(ctx);
|
||||
|
||||
Reference in New Issue
Block a user