turbocool3r
607df41bca
Add a command to reset MF0 / NTAG unsuccessful auth counter.
2024-07-09 21:30:27 +03:00
turbocool3r
cf109f94b2
Detect NAKs in hf mfu wrpg command.
2024-07-09 21:09:16 +03:00
turbocool3r
a52bb989e9
Fix hf mfu dump command not running without file.
2024-07-09 21:03:57 +03:00
turbocool3r
0ce920cfcc
Add hf mfu ercnt/ewcnt commands for reading and writing emulator's counters.
2024-07-09 17:11:42 +03:00
turbocool3r
ff58d97dd9
Add hf mfu esave command.
2024-07-09 00:58:07 +03:00
turbocool3r
b5259c313a
Add --type argument to eload and dump commands.
2024-07-09 00:57:43 +03:00
turbocool3r
103d51ce64
Properly detect auth failures in hf mfu subcommands.
2024-07-08 01:04:23 +03:00
turbocool3r
4aa6b3c0fc
Fix file output in hf mfu dump command.
2024-07-08 00:52:39 +03:00
turbocool3r
bdcf5d5851
Fix hf mfu rdpg not exiting when data is not properly aligned.
2024-07-08 00:34:08 +03:00
turbocool3r
37f2b0783c
Add hf mfu eload command.
2024-07-08 00:33:33 +03:00
turbocool3r
1bf23cdf08
Make MFUAuthArgsUnit parse key and swap arguments automatically.
2024-07-07 20:09:25 +03:00
turbocool3r
ddcffba26f
Fix a bug in hf mfu signature command.
2024-07-07 01:14:43 +03:00
turbocool3r
297cb061cb
Add support for custom version and signature data for MF0 / NTAG emulator.
2024-07-05 16:30:38 +03:00
turbocool3r
18d5da09dd
Add hf mfu signature command.
2024-07-05 16:04:16 +03:00
turbocool3r
eafa14e4e5
Add hf mfu eview command.
2024-07-05 03:32:23 +03:00
turbocool3r
9488127531
Add commands for reading and writing to/from MF0/NTAG emulator memory.
2024-07-05 02:58:15 +03:00
turbocool3r
2da6d35784
Improvements to MFU / NTAG cli commands.
...
Added `wrbl` and `rcnt` commands for writing blocks and reading counters. Added `-P` parameter to all commands that may need it to allow prior auth with a 4-byte password. `dump` command now dumps all pages until it fails rather than just the first 16 pages when no `-q` parameter is provided. Added `version` command to allow requesting version bytes.
2024-07-03 03:04:25 +03:00
turbocool3r
248f3b2839
Add support for Ultralight emulation.
...
This version only emulates MF0ICU1 properly.
2024-06-19 22:55:43 +03:00
simonemarfo
0bc01f565a
Add CLI view commands to display memory content ( #208 )
...
* Add utility to print memory dump (xxd like)
* Add CLI eview. Dump emulation memory data
* Add CLI view. Display content from tag memory or dump file
---------
Co-authored-by: marfo <marfo@localhost.localdomain >
2024-04-24 10:51:11 +08:00
Peter-Simon Dieterich
22b7898f20
cli: Fix cmd_parameter generation for nested for python 3.9 ( #205 )
...
Signed-off-by: Peter-Simon Dieterich <peter-simon.dieterich@vaillant-group.com >
2024-03-13 18:22:17 +08:00
戴均民
c1eb213d4a
Added command to check keys of multiple sectors at once ( #199 )
...
thx @taichunmin
2024-03-07 15:07:12 +08:00
Peter-Simon Dieterich
1608892140
cli: fix unused target key type parameter for nested ( #204 )
...
* cli: fix unused target key type parameter for nested
* Added entry to CHANGELOG.md
2024-03-07 14:57:11 +08:00
Pierre Lalet
e3cbd598ec
CLI: skip already used items in hf mf elog --decrypt
...
This (often largely) improves the speed of the decrypt process. On my
laptop, with the same logs (37 records for one block and 37 records
for another block), here are the performances, as measuerd using a
simple command:
```bash
time echo -e "hw connect\nhf mf elog --decrypt\nhw disconnect" | ./chameleon_cli_main.py
```
- Before parallelisation (#187 ): 14m59,277s
- With parallelisation (current main): 6m13,513s
- With item skipping (this PR): 2m42,491s
2023-12-20 22:37:47 +01:00
Pierre Lalet
cc674f1669
CLI: fix mfkey32v2 call for Windows
2023-12-20 16:20:12 +01:00
Pierre Lalet
42317a7bc4
CLI: parallelize mfkey32v2 processes
2023-12-20 16:20:12 +01:00
Philippe Teuwen
af91ddcda9
CLI: Do not execute a command if help is printed
...
Previously, for example `hf 14a raw -b 7 -d 26 -h` was printing help but it was also executing the command.
2023-11-15 09:44:37 +01:00
taichunmin
e79568298f
Added support for mifare classic value block operations
2023-11-13 23:38:56 +08:00
Philippe Teuwen
4d670f051a
Be robust to some argparse string variants
2023-11-06 22:45:48 +01:00
Philippe Teuwen
ecf3c06886
add regression tests
2023-10-25 00:32:31 +02:00
Philippe Teuwen
7d851d2a22
reorganize a bit cli to allow autotests
2023-10-24 23:46:34 +02:00
Philippe Teuwen
d973ee6671
add hw disconnect (for autotests)
2023-10-24 23:45:42 +02:00
Philippe Teuwen
ece5e79060
typechecking fixes
2023-10-24 23:44:56 +02:00
Philippe Teuwen
d77e166249
pep287
2023-10-24 00:57:44 +02:00
Philippe Teuwen
ff3df15278
misc lint
2023-10-23 23:57:23 +02:00
Philippe Teuwen
55cd19f0db
Move bins to simplify pyinstaller paths
2023-10-23 22:54:37 +02:00
Philippe Teuwen
bb47bd5159
make style
2023-10-23 19:16:42 +02:00
Philippe Teuwen
83583075c4
Merge branch 'main' into ats_error_fixes
2023-10-17 23:52:35 +02:00
Philippe Teuwen
fa0754aed2
cli: make status an enum. rename some status for consistency
2023-10-17 23:43:25 +02:00
Augusto Zanellato
aa3fe711af
Fix hf 14a raw always raising AttributeError
2023-10-17 23:33:19 +02:00
Philippe Teuwen
2beb8f74a3
cli: check if helper tools are available
2023-10-17 22:08:34 +02:00
GameTec_live
070db3d773
fix: escape sequence
2023-10-16 21:09:26 +02:00
Philippe Teuwen
324dc578e5
cli: prepare comm debug
2023-10-15 01:39:00 +02:00
Philippe Teuwen
830ba98721
cli: move enums to new file
2023-10-15 01:17:34 +02:00
Philippe Teuwen
8ef42c705c
cli: hw slot list: avoid unnecessary slot changes
2023-10-15 01:17:34 +02:00
Philippe Teuwen
43a6e822e6
cli: move color shortcuts to chameleon_util
2023-10-15 01:17:29 +02:00
Philippe Teuwen
15bcae78be
cli: atqa disambiguation
2023-10-12 20:39:18 +02:00
Philippe Teuwen
4fe9e1ea5b
docs
2023-10-11 10:28:45 +02:00
Philippe Teuwen
c4aef7e373
Changed hw slot list to display LF ID & HF anticol data, and names in the --short version too
2023-10-10 20:10:18 +02:00
Philippe Teuwen
f512cbdbee
cli: fix hw slot init
2023-10-10 10:57:53 +02:00
Philippe Teuwen
f93418b7d8
cli: skip empty lines when several cmd lines are copy/pasted
2023-10-10 10:57:26 +02:00