mirror of
https://github.com/RfidResearchGroup/ChameleonUltra.git
synced 2026-05-12 11:22:59 -07:00
cli: fix unused target key type parameter for nested (#204)
* cli: fix unused target key type parameter for nested * Added entry to CHANGELOG.md
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 unused target key type parameter for nested (@petepriority)
|
||||
- Skip already used items `hf mf elog --decrypt` (@p-l-)
|
||||
- Parallelize mfkey32v2 processes called from CLI (@p-l-)
|
||||
- Added support for mifare classic value block operations (@taichunmin)
|
||||
|
||||
@@ -763,7 +763,7 @@ class HFMFNested(ReaderRequiredUnit):
|
||||
key_known_bytes = bytes.fromhex(key_known)
|
||||
block_target = args.tblk
|
||||
# default to A
|
||||
type_target = MfcKeyType.B if args.b else MfcKeyType.A
|
||||
type_target = MfcKeyType.B if args.tb else MfcKeyType.A
|
||||
if block_known == block_target and type_known == type_target:
|
||||
print(f"{CR}Target key already known{C0}")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user