mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-22 06:13:51 -07:00
fix t55xx protect/recoverpw - make param pwd optional
This commit is contained in:
parent
fad3658604
commit
d39e0939b6
1 changed files with 2 additions and 2 deletions
|
@ -3310,7 +3310,7 @@ static int CmdT55xxRecoverPW(const char *Cmd) {
|
||||||
// 2 + (5 or 6)
|
// 2 + (5 or 6)
|
||||||
void *argtable[8] = {
|
void *argtable[8] = {
|
||||||
arg_param_begin,
|
arg_param_begin,
|
||||||
arg_str1("p", "pwd", "<hex>", "password (4 hex bytes)"),
|
arg_str0("p", "pwd", "<hex>", "password (4 hex bytes)"),
|
||||||
};
|
};
|
||||||
uint8_t idx = 2;
|
uint8_t idx = 2;
|
||||||
arg_add_t55xx_downloadlink(argtable, &idx, T55XX_DLMODE_ALL, T55XX_DLMODE_ALL);
|
arg_add_t55xx_downloadlink(argtable, &idx, T55XX_DLMODE_ALL, T55XX_DLMODE_ALL);
|
||||||
|
@ -3758,7 +3758,7 @@ static int CmdT55xxProtect(const char *Cmd) {
|
||||||
void *argtable[4 + 5] = {
|
void *argtable[4 + 5] = {
|
||||||
arg_param_begin,
|
arg_param_begin,
|
||||||
arg_lit0("o", "override", "override safety check"),
|
arg_lit0("o", "override", "override safety check"),
|
||||||
arg_str1("p", "pwd", "<hex>", "password (4 hex bytes)"),
|
arg_str0("p", "pwd", "<hex>", "password (4 hex bytes)"),
|
||||||
arg_str1("n", "new", "<hex>", "new password (4 hex bytes)"),
|
arg_str1("n", "new", "<hex>", "new password (4 hex bytes)"),
|
||||||
};
|
};
|
||||||
uint8_t idx = 4;
|
uint8_t idx = 4;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue