hf iclass rdbl - now use cliparser

This commit is contained in:
tcprst 2020-11-25 21:16:08 -05:00
parent f4b100b068
commit 5130bb24e2
No known key found for this signature in database
GPG key ID: 9145EAF5121AED25
2 changed files with 87 additions and 107 deletions

View file

@ -78,10 +78,15 @@ Read iCLASS Block
```
Options
---
b <block> : The block number as 2 hex symbols
k <key> : Access Key as 16 hex symbols or 1 hex to select key from memory
-k, --key <key> Access key as 16 hex symbols
-b, --block <block> The block number to read as an integer
--ki <key idx> Key index to select key from memory 'hf iclass managekeys'
--credit key is assumed to be the credit key
--elite elite computations applied to key
--raw no computations applied to key (raw)
--nr replay of NR/MAC
pm3 --> hf iclass rdbl b 7 k 0
pm3 --> hf iclass rdbl -b 7 --ki 0
```
Write to iCLASS Block
@ -149,7 +154,7 @@ pm3 --> hf iclass eload -f hf-iclass-db883702f8ff12e0.bin
Clone iCLASS Legacy Sequence
```
pm3 --> hf iclass rdbl b 7 k 0
pm3 --> hf iclass rdbl -b 7 --ki 0
pm3 --> hf iclass wrbl b 7 d 6ce099fe7e614fd0 k 0
```