Philippe Teuwen
926fbe5354
Fixed hf mf fchk --mem to actually use flash dict
2025-04-12 13:22:27 +02:00
iceman1001
875b3c44b4
unify text - step 1
2025-03-25 10:12:16 +01:00
iceman1001
4c97151ecc
style
2025-03-22 15:46:55 +01:00
iceman1001
c0af6cd7d2
fiddled with pm3 client informative text
2025-03-22 13:09:55 +01:00
Jean-Michel Picod
95e5634388
Add option to use SPI flash dictionary for autopwn
2025-03-21 18:05:14 +01:00
Philippe Teuwen
ecdfa9755e
MifareUL_AES_Auth: do not let HF field on when erroring
2025-03-19 12:03:46 +01:00
iceman1001
a7643eef7c
style
2025-02-22 18:01:07 +01:00
iceman1001
cef07dedf6
code style, code clean up of redundant functions, comments, its many minor fixes across the platform. Sorry for not making 20 commits
2025-02-21 15:38:33 +01:00
Shawn Hoffman
aa286b4a16
fix bigbuf allocators (tracing + malloc) overwriting each other
...
* BigBuf.c: use s_ prefix for statics
* BigBuf_Clear_ext already calls clear_trace, so remove extra calls
* add some sanity checking of allocator args
* dont compare PDC_RNCR to false
2025-01-24 15:56:45 -08:00
iceman1001
cb7109e751
fix hf mf cload
- now it allows for proper GDM ic to load mfc ev1 signature data. On uscuid ic which are more locked down it will failed with a message. Dont forget to enable signature for the gdm ic.
2025-01-15 16:07:13 +01:00
nvx
29e0c51393
Changed hf mf info
- now differentiates between full USCUID and cut down ZUID chips
2025-01-14 22:36:59 +10:00
Piotr Rzeszut
5261106098
Add spiffs operation checks, update changelog and documentation after moving t55xx configurations
2024-12-26 21:58:30 +01:00
Piotr Rzeszut
2fe0ba57b2
Change lf t55xx chk -m to read dictionary from spiffs file
2024-12-26 02:52:59 +01:00
Piotr Rzeszut
dd646a64a6
Add additional file exists check to remove errors
2024-12-26 01:25:54 +01:00
Piotr Rzeszut
d9a3e4f050
Refactor keys in flash statistics to check for files
2024-12-26 01:11:46 +01:00
Piotr Rzeszut
5af815f271
Mifare dictionary uploaded to spiffs using legacy function
2024-12-25 21:08:44 +01:00
Piotr Rzeszut
d7ab949d1f
Change hf mf fchk --mem to read dictionary from spiffs file
2024-12-25 19:14:05 +01:00
Lucifer Voeltner
e416080ae8
make the help message even clearer, and fix a bug featuring me being unable to count
2024-12-03 10:23:41 +07:00
Lucifer Voeltner
4adf663300
Fix Gen 3 APDU block 0 SAK not being written correctly
2024-12-01 16:27:35 +07:00
Philippe Teuwen
830549b474
hf mf isen: add collect_fm11rf08s_without_backdoor option
2024-11-25 00:53:57 +01:00
Philippe Teuwen
c4b8569d87
fix CmdHF14AMfISEN error handling
2024-11-24 12:26:07 +01:00
ANTodorov
76aaef96cc
rework addressing the review comments
...
Reverted 'mfr_id' to 'manufacturer_id'
Moved devices table definition to flashmem.h
Single global variable 'spi_flash_pages64k'
The local structure holding the actual device data is used in firmware.c only
difference in code:
```
text data bss dec hex filename
223189 138560 6067 367816 59cc8 ./armsrc/obj/fullimage.elf <-- c9e751d
darkside: fix backdoor support
223437 138624 6075 368136 59e08 ./armsrc/obj/fullimage.elf <-- this commit
======================================
+248 +64 +8 +320
```
2024-11-20 14:10:02 +02:00
ANTodorov
f3fa732062
refactor spi flash detection
2024-11-19 09:35:26 +02:00
ANTodorov
861c7efd26
fix missing offsets
...
the data was written, but it should be readable too...
2024-11-17 22:16:35 +02:00
iceman1001
3a3ea75d12
style
2024-11-15 14:28:14 +01:00
Philippe Teuwen
46813e0e50
hf mf isen: rewrite counters, add specific NONCE_SUPERSTATIC case (when first nt == nested nt)
2024-11-05 17:07:54 +01:00
Philippe Teuwen
6706bdb13f
hf mf isen: detect special static nonce nt_first==nt_nested
2024-11-05 09:30:22 +01:00
nvx
6d7fcc642a
add gdm flag to hf mf c* commands
...
this enables the use of hf mf c* commands with gdm/uscuid cards when the alt wake up mode 20(7)/23 is enabled rather than gen1 wake up
2024-11-02 22:22:13 +10:00
Simone Spadino
212f108a91
Auto distance measurement
2024-10-23 11:53:49 +02:00
Simone Spadino
846937a684
Support for static nonces card with offset 0
2024-10-23 00:24:07 +02:00
Philippe Teuwen
079689628b
hf mf sim: add nested reader attack (needs data & rf08s nonces)
2024-10-16 19:54:03 +02:00
Philippe Teuwen
5470303588
prepare MifareAcquireStaticEncryptedNonces for standalone
2024-10-16 01:48:36 +02:00
Philippe Teuwen
85e463b222
hf mf isen --collect_fm11rf08s_with_data optimizations:
...
* do not read data blocks twice
* store data in the emulator memory, to be prepared for standalone modes and to not allocate large buffer on stack
* 9->8 bytes to store each key data in emulator memory (half_nt + nt_par_err + flag + nt_enc)
2024-10-14 15:34:25 +02:00
Philippe Teuwen
e7ff2ad1ca
hf mf ecfill: wait for execution and return status
2024-10-13 22:55:41 +02:00
Philippe Teuwen
a11ba61b01
hf mf ecfill: add support for quick dump via backdoor auth
2024-10-13 22:55:41 +02:00
iceman1001
20a0bc3a81
style
2024-09-14 15:03:29 +02:00
iceman1001
cd0ce47d89
when dumping memory also try the MFC_B key
2024-09-13 13:40:24 +02:00
Philippe Teuwen
69d7a7e0c3
fm11rf08s: get advanced verification sector keys as well
2024-09-08 11:57:53 +02:00
iceman1001
72900d1bf9
fix and style
2024-09-06 22:36:44 +02:00
iceman1001
9c181dd83d
step one of bounds checking all responses when receiving ISO14443A frames... because @doegox find a missbehaving IC clone.....
2024-09-05 17:52:10 +02:00
Philippe Teuwen
17ddc2db82
trying to please codeQL
2024-09-03 23:00:50 +02:00
Philippe Teuwen
de86cd85d1
Added support for dumping FM11RF08S data at once
2024-09-03 11:43:57 +02:00
Philippe Teuwen
c73e2ea623
Added support for collecting all fm11rf08s nT/{nT}/par_err at once
2024-09-02 23:11:36 +02:00
iceman1001
5b64df9247
fix magic detection for MFU
2024-08-25 15:12:53 +02:00
Philippe Teuwen
62735e4440
hf mf isen: longer RF reset
2024-08-07 17:01:59 +02:00
Philippe Teuwen
099a37af91
add --hardreset to hf mf isen
2024-08-07 16:09:11 +02:00
Philippe Teuwen
5ca3013d23
hf mf fchk: fix single key mode
2024-08-02 11:02:41 +02:00
Philippe Teuwen
18a3d04de1
hf mf isen incblk2 increment to the next sector
2024-08-01 14:28:00 +02:00
Philippe Teuwen
dc287c232f
hf mf isen: support n=0 to just get first auth data
2024-07-30 13:23:08 +02:00
Philippe Teuwen
e7c4ae2b1e
hf mf isen for analyzing some static encrypted nonces MFC
2024-07-29 23:19:18 +02:00