Modified hf iclass calcnewkey

Added support for a scenario in which the old key is elite and the new key is not elite.
This commit is contained in:
Antiklesys committed 2023-10-20 20:30:16 +08:00
1 parent 0dc921c6b7
commit 2790bc0c16
3 files changed
+10 -3

No files matched your search

+3 -3
View File
@@ -2986,10 +2986,10 @@
"--new <hex> Specify key as 8 hex bytes",
"--nki <dec> New key index to select key from memory 'hf iclass managekeys'",
"--csn <hex> Specify a Card Serial Number (CSN) to diversify the key (if omitted will attempt to read a CSN)",
"--elite Elite computations applied to new key",
"--elite2 Elite computations applied to both old and new key"
"--elite2 Elite computations applied to both old and new key",
"--oldelite Elite computations applied only to old key"
],
"usage": "hf iclass calcnewkey [-h] [--old <hex>] [--oki <dec>] [--new <hex>] [--nki <dec>] [--csn <hex>] [--elite] [--elite2]"
"usage": "hf iclass calcnewkey [-h] [--old <hex>] [--oki <dec>] [--new <hex>] [--nki <dec>] [--csn <hex>] [--elite] [--elite2] [--oldelite]"
},
"hf iclass chk": {
"command": "hf iclass chk",