Commit Graph

6381 Commits

Author SHA1 Message Date
michael 3eb594ce29 Cleaned up verbiage in user feedback 2026-02-18 20:44:08 -08:00
michael fe878be492 Added a new command (hw decay [which monitors the decay rate of the hf antenna cap]) and updated hw tune to detect booster boards and if the pm3 easy is on a metal surface 2026-02-18 15:51:08 -08:00
kormax c6675018b3 felica: use NG frames for commands 2026-02-15 19:04:22 +02:00
kormax 2721b13792 hf felica dump: vastly improve speed; fix traces being empty after command execution 2026-02-14 15:36:28 +02:00
Philippe Teuwen 7c4758f40b ulaes: add verify_cmac, display counters in mfu info, fix sig when schann in mfu info 2026-02-09 12:44:50 +01:00
Philippe Teuwen b7f3e4219e make style 2026-02-09 01:12:54 +01:00
Philippe Teuwen 9f70011fee hf mfu setkey: supports ulc/ulaes auth and ulaes schann 2026-02-09 01:08:23 +01:00
Philippe Teuwen a2ba91043f hf mfu incr: add ulaes support and add cmac support 2026-02-08 23:25:55 +01:00
Philippe Teuwen 2d7ef550cd schann requires auth_key 2026-02-08 20:16:58 +01:00
Philippe Teuwen c8783414ff hf mfu wipe ulaes: fix quirks 2026-02-08 19:13:21 +01:00
Philippe Teuwen cd2c576be6 Fixes for Python 3.14 2026-02-07 01:24:21 +01:00
Philippe Teuwen fdf3b2690a Various fixes to content GCC 16... 2026-02-07 00:51:53 +01:00
Philippe Teuwen b091bf6e8b cppcheck: avoid undef macro warning 2026-02-06 16:24:29 +01:00
Philippe Teuwen 0cf56a5436 cppcheck: avoid undef behavior in variadic fct warning 2026-02-06 16:20:39 +01:00
Philippe Teuwen 8f44b07eb3 cppcheck: avoid out of bound warning 2026-02-06 16:17:02 +01:00
Philippe Teuwen 26c8b502e2 cppcheck: fix null ptr dereference 2026-02-06 15:55:14 +01:00
Philippe Teuwen 27e469f5d7 cppcheck: fix unused init 2026-02-06 14:32:50 +01:00
Philippe Teuwen 28ebaf529f shadowed var/fct 2026-02-06 14:28:58 +01:00
Philippe Teuwen c00e4801b7 make style 2026-02-06 13:43:41 +01:00
Philippe Teuwen 1cf446fa7f make commands 2026-02-06 13:07:16 +01:00
suut 0dd140a99e lf t55xx wakeup: fix parsing of -v / -p options
Signed-off-by: suut <suut@users.noreply.github.com>
2026-02-05 13:42:38 +01:00
Iceman 001a80df48 Merge pull request #3083 from RashitKhamidullin/fix/ntag424-sdm-offset-serialization
fix `hf ntag424 changefs` SDM offset serialization bug
2026-02-03 04:26:33 +01:00
rashit_khamidullin 129d9e9ef7 fix hf ntag424 changefs SDM offset serialization bug
The changefs command was using memcpy on a fixed struct layout to
serialize
SDM settings, which caused SDM offset fields to be written incorrectly.
The struct's sdm_data[8][3] array was copied contiguously, but the NTAG
424
DNA specification (AN12196) requires certain offset fields to be
conditionally
omitted based on the SDM configuration.

This resulted in:
- Plain mode: MAC offsets not written correctly
- PICC mode: MAC offsets not written correctly
- Both modes producing cmac=0000000000000000

The fix replaces the memcpy-based approach with dynamic payload building
that
conditionally includes only the required SDM offset fields in the
correct order:
- UIDOffset (only if UID option + plain mode sdmMetaRead=0xE)
- SDMReadCtrOffset (only if counter option + plain mode)
- PICCDataOffset (only if encrypted PICC mode sdmMetaRead<=0x04)
- SDMMACInputOffset (only if file read enabled)
- SDMEncOffset + SDMEncLength (only if encrypted file data enabled)
- SDMMACOffset (only if file read enabled)
- SDMReadCtrLimit (only if limit option set)
2026-02-02 22:47:23 +01:00
Philippe Teuwen 90ddb58073 hf mfu info: detect MIFARE Hospitality 2026-01-29 18:37:35 +01:00
Aaron Tulino (Aaronjamt) f399b8d3a6 [hf seos] Fix Synthesized IV validation 2026-01-23 14:15:21 -07:00
Philippe Teuwen a26892a891 Add hf mfu cchk/aeschk and options to hf mf cauth/aesauth 2026-01-19 21:47:49 +01:00
Philippe Teuwen 6942c41155 hf mfu info: add ULC fingerprinting 2026-01-19 21:47:49 +01:00
Philippe Teuwen faca1550b8 hf mfu sim: add support to inject card replies 2026-01-19 21:47:49 +01:00
Philippe Teuwen cf0dcd4bfb Fix hf mfu restore (untested) 2026-01-10 01:50:48 +01:00
Philippe Teuwen b64e315eb1 Fix hf mfu setuid / hf mfu otptear / hf jooki clone 2026-01-09 19:02:01 +01:00
Iceman ccf61de4ec Merge pull request #3072 from aaronjamt/patch-keyset-update
[hf seos] Combine read/write/admin keys
2025-12-28 16:21:28 +01:00
Iceman f8434540f5 Merge pull request #3071 from aaronjamt/patch-diversifier-length
[hf seos] Fix printed diversifier length
2025-12-28 16:20:41 +01:00
Aaron Tulino (Aaronjamt) d0ad38d62d [hf seos] Combine read/write/admin keys 2025-12-27 02:57:30 -07:00
Aaron Tulino (Aaronjamt) 3a26fa884b [hf seos] Fix printed diversifier length 2025-12-27 02:19:10 -07:00
Aaron Tulino (Aaronjamt) a0a719245c [hf seos] Improve error logging for incorrect keys 2025-12-26 21:43:42 -07:00
Aaron Tulino (Aaronjamt) bf01adc309 [hf seos] Clean up fixed array allocations 2025-12-24 09:57:41 -07:00
DXL 621af43a1d Merge branch 'master' into master
Signed-off-by: DXL <64101226@qq.com>
2025-12-24 20:17:37 +08:00
dxl 213c134bdc staticnested faild to find a KeyB
Fixes #2938
2025-12-24 20:02:43 +08:00
Aaron Tulino (Aaronjamt) 08f7e0d45a Another minor bugfix 2025-12-23 22:51:29 -07:00
Iceman 50a55c21ae Merge pull request #3065 from aaronjamt/patch-minor-cleanup
[hf seos] Minor cleanup
2025-12-23 23:31:01 +01:00
Aaron Tulino (Aaronjamt) e2bd1444fb Further optimization
Make SHA256 output directly into the final output buffer and make the first SHA1 do the same. The second SHA1 needs an intermediate buffer as it outputs 20 bytes but we only need the first 12.
2025-12-23 14:43:14 -07:00
Aaron Tulino (Aaronjamt) 6da3dc3798 [hf seos] Minor cleanup 2025-12-23 11:02:09 -07:00
Aaron Tulino (Aaronjamt) 3a931fb320 Fix #3063 2025-12-23 10:52:27 -07:00
Iceman 6f55a8a9c0 Merge pull request #3060 from aaronjamt/patch-seos-emu-client
[hf seos] Simulate support (2/2)
2025-12-23 11:07:33 +01:00
Aaron Tulino (Aaronjamt) f1e6e49484 No more rand() 2025-12-22 15:21:47 -07:00
Aaron Tulino (Aaronjamt) e771408b33 Split single-line ifs 2025-12-22 15:20:30 -07:00
Aaron Tulino (Aaronjamt) 9969e23d98 Remove debug messages 2025-12-22 15:19:31 -07:00
Aaron Tulino (Aaronjamt) 722a8aac8c [hf seos] Simulate client support 2025-12-22 15:10:51 -07:00
Aaron Tulino (Aaronjamt) d54659370b [hf seos] Validate synthesized IV
Also adds missing return value checks
2025-12-22 14:38:46 -07:00
Iceman 5ba00920a5 Merge pull request #3059 from aaronjamt/patch-docs
Update docs
2025-12-22 11:01:18 +01:00