Commit Graph

21217 Commits

Author SHA1 Message Date
jof Lassoff
ad3885a9bb Add Vanderbilt ACT pattern-based key generation to hf mf keygen
- Implements mfc_algo_vanderbilt_one() and mfc_algo_vanderbilt_all()
- Generates keys using 'Acces' + block ID pattern (416363657300-4163636573FF)
- Supports all 40 sectors for 4K cards
- Eliminates need for 256+ keys in dictionary file
- Keys generated dynamically on-demand
2026-03-10 15:49:39 +00:00
jof Lassoff
54f067a21a mfc: dic: Vanderbilt ACT 2026-03-09 23:36:54 +00:00
Iceman
d27885cf43 Merge pull request #3116 from apply-science/master
hf mfp dump implementation
2026-03-09 14:17:20 +07:00
Tomas Nilsson
7159711734 Auto-detect key files by UID in hf mfp dump
When no --keys or --mfc-keys arguments are given, automatically
look for hf-mfp-<UID>-key.json and hf-mf-<UID>-key.bin files,
matching the output of hf mfp chk --dump and hf mf chk --dump.
Fail with helpful message if no keys are available, matching
the behaviour of hf mf dump.
2026-03-08 19:18:32 +01:00
apply-science
8345a240fe Merge branch 'master' into master
Signed-off-by: apply-science <106422483+apply-science@users.noreply.github.com>
2026-03-08 18:47:56 +01:00
Tomas Nilsson
03d6da87e2 Simplify hf mfp dump: remove key probing, load-and-read only
Restructure hf mfp dump to match hf mf dump pattern: load keys
from files, read sectors, save. Remove all key probing/checking
logic (use hf mfp chk and hf mf chk separately for key discovery).
Use MF_KEY_A/MF_KEY_B defines instead of magic numbers.
Replace custom JSON parser with existing loadFileJSON infrastructure.
2026-03-08 18:35:37 +01:00
Iceman
a8af100913 Merge pull request #3117 from kormax/felica-seac-info
Introduce 'hf felica seacinfo' command
2026-03-08 08:44:44 +01:00
kormax
a413c906ed Introduce 'hf felica seacinfo' command 2026-03-08 08:39:04 +02:00
apply-science
7bdd677e36 Update CHANGELOG with new commands and features
Signed-off-by: apply-science <106422483+apply-science@users.noreply.github.com>
2026-03-07 17:55:28 +01:00
Tomas Nilsson
3e8d52db58 Optimize hf mfp dump: phased SL classification and quiet probing
Restructure dump into 4 phases:
1. Classify sectors via single MFC probe (SL3 vs SL1)
2. AES dictionary only on SL3 sectors
3. MFC dictionary only on SL1 sectors
4. Read with found keys

Suppress firmware debug output during key probing to prevent
auth error message flood, matching MifareChkKeys behavior.
2026-03-07 17:23:59 +01:00
Tomas Nilsson
44a40064b7 Fix SL1 key probing hang in hf mfp dump
Replace mf_check_keys (which hangs in firmware infinite retry loop)
with mf_read_sector for SL1 key probing. Defer MFC key probing to
the read phase so it only runs per-sector when SL3 auth fails.
Also fix mfcProbeKeys memory leak on early exit paths.
2026-03-07 16:41:26 +01:00
Tomas Nilsson
fded3e9cef Implement 'hf mfp dump' command with SL1/SL3 mixed mode support 2026-03-07 15:23:48 +01:00
Iceman
37d59daa07 Merge pull request #3115 from kormax/mfdes-brutefid
Implement 'hf mfdes bruteisofid' command
2026-03-07 08:24:09 +01:00
kormax
22a307dd69 Implement 'hf mfdes bruteisofid' command 2026-03-07 07:58:00 +02:00
Iceman
8bbdbb1a1a Merge pull request #3114 from kormax/desfire-aid-leaf
Add LEAF DESFire AID values to dictionary
2026-03-07 02:42:58 +01:00
Iceman
a6ccca8270 Merge branch 'master' into desfire-aid-leaf
Signed-off-by: Iceman <iceman@iuse.se>
2026-03-07 02:42:50 +01:00
Iceman
90c421fc19 Merge pull request #3113 from kormax/mfdes-bruteaid-improvements
Improve `hf mfdes bruteaid`
2026-03-07 02:41:41 +01:00
kormax
4bcc35cddc Add AID candidate generation presets to 'hf mfdes bruteaid' 2026-03-06 18:19:21 +02:00
kormax
21f76d173a Handle tag loss & recovery in 'hf mfdes bruteaid' 2026-03-06 18:19:19 +02:00
kormax
2fce3393ea Add LEAF DESFire AID values to dictionary 2026-03-06 18:18:33 +02:00
Iceman
a54e88ee94 Merge pull request #3111 from Antiklesys/master
Added --credit option for hf iclass legrec
2026-03-06 08:56:21 +01:00
Iceman
2c5afe2592 Merge pull request #3112 from kormax/felica-info-improvement
Extract more information with 'hf felica info'
2026-03-06 08:55:57 +01:00
kormax
90c6884f4c Improve output format for 'hf felica info' 2026-03-05 20:59:41 +02:00
kormax
10a3fa7e6d Add request specification version to 'hf felica info' 2026-03-05 20:30:30 +02:00
kormax
ec25ea77a4 Extract more information with 'hf felica info' 2026-03-05 17:11:30 +02:00
Antiklesys
0d2741d757 Unused variables code cleanup
Code cleanup of unused payload variables for iclass legrec
2026-03-05 21:38:16 +08:00
Antiklesys
5041fbffa7 Added --creidit option for hf iclass legrec
Added --creidit option for hf iclass legrec
2026-03-05 19:32:52 +08:00
Iceman
20eb4294f1 Merge pull request #3110 from kormax/felica-retries
Refactor helpers for 'hf felica' commands; add retries
2026-03-05 05:08:31 +01:00
kormax
2e4290c5fe Refactor helpers for 'hf felica' commands; add retries 2026-03-04 18:50:21 +02:00
Iceman
dc04f82393 Merge pull request #3109 from kormax/felica-handle-inverted-polarity
Handle inverted polarity RX frames in 'hf felica'
2026-03-04 10:18:12 +01:00
kormax
f855866ce0 Handle inverted polarity RX frames in 'hf felica' 2026-03-04 09:49:23 +02:00
CaffeinatedOpe
b1a77328b8 move shell.nix file into tools, updated docs 2026-03-03 15:37:07 +01:00
CaffeinatedOpe
aea877a2c2 fix typo in documentation 2026-03-03 15:37:07 +01:00
CaffeinatedOpe
106f1abcac update documentation 2026-03-03 15:37:07 +01:00
CaffeinatedOpe
44e3366770 add nix.shell, all build requirements fulfilled 2026-03-03 15:37:07 +01:00
Iceman
a5cfd35120 Update Troubleshooting.md
Signed-off-by: Iceman <iceman@iuse.se>
2026-03-03 12:23:20 +01:00
Philippe Teuwen
e2b11e937f 2026-03-02 12:50:34 +01:00
Iceman
fee0467ad7 Merge pull request #3105 from msaribekyan/master
26ABFC3C24FB
2026-03-02 04:31:04 +01:00
Iceman
8232806f12 Merge pull request #3106 from kormax/aliro-stepup
Add StepUp flow support to 'hf aliro read' command
2026-03-02 04:30:20 +01:00
kormax
6b66d10acc Add StepUp flow support to 'hf aliro read' command 2026-03-01 23:01:30 +02:00
Mher Saribekyan
2a45283263 26ABFC3C24FB 2026-03-02 00:49:51 +04:00
Philippe Teuwen
64247b33b1 Init PLATFORM_DEFS 2026-03-01 21:00:05 +01:00
Philippe Teuwen
0304977eba tabs 2026-03-01 15:27:31 +01:00
Philippe Teuwen
5175c32c35 Fix makefile warning when there is no qt6 available 2026-03-01 15:27:18 +01:00
Philippe Teuwen
c682ad3503 reintroduce a ubuntu 22.04 dockerfile to test old setups (e.g. old WSL) 2026-03-01 13:27:53 +01:00
Philippe Teuwen
55df8edbba Add support for Qt 6.2.4 (Ubuntu 22.04) 2026-03-01 13:23:07 +01:00
Philippe Teuwen
a3996fe38c guard some hardening flag for gcc < 12 2026-03-01 13:04:41 +01:00
Philippe Teuwen
14a26b3f90 doc 2026-03-01 12:42:57 +01:00
Philippe Teuwen
fe212d7f7f Fix mqtt compilation in Proxspace with Qt6 and cmake
D:/a/proxmark3/proxmark3/client/deps/mqtt/win32_sockets.h: In function 'open_nb_socket':
D:/a/proxmark3/proxmark3/client/deps/mqtt/win32_sockets.h:35:25: error: format '%s' expects argument of type 'char *', but argument 3 has type 'WCHAR *' {aka 'short unsigned int *'} [-Werror=format=]
   35 |         fprintf(stderr, "error: getaddrinfo: %s", gai_strerror(rv));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~
2026-03-01 11:27:44 +01:00
Philippe Teuwen
7b8b759d95 Test Qt6 in Proxspace 2026-03-01 10:54:01 +01:00