mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Merge pull request #2544 from ANTodorov/patch-1
fix hf mfu pwdgen for 7 byte uid
This commit is contained in:
commit
549388ed92
2 changed files with 2 additions and 1 deletions
|
@ -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 `hf mfu pwdgen` for the 7 byte UID (@ANTodorov)
|
||||
- Added `hf iclass unhash` command to reverse an iclass diversified key to hash0 pre-images (@antiklesys)
|
||||
- Added crypto1 support to `hf 14a raw` (@doegox)
|
||||
- Changed `hw version` command to print LUA and Python versions (@jmichelp)
|
||||
|
|
|
@ -4392,7 +4392,7 @@ static int CmdHF14AMfUPwdGen(const char *Cmd) {
|
|||
if (u_len != 7 && u_len != 4) {
|
||||
PrintAndLogEx(WARNING, "Key must be 7 hex bytes");
|
||||
return PM3_EINVARG;
|
||||
} else {
|
||||
} else if (u_len == 4) {
|
||||
// adapt to 7 bytes :)
|
||||
memset(uid + 4, 0x00, 3);
|
||||
u_len = 7;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue