Commit Graph
6580 Commits
Author SHA1 Message Date
iceman1001 36a5c881d0 proper fix for ip, socket handling for win32 , proxspace env 2026-04-11 08:01:48 +07:00
iceman1001 a5140dd666 add win32 headers, will need to refactor the lf relay using win32 aswell 2026-04-10 17:05:12 +07:00
iceman1001 f070d8a06e lf relay - relays between two pm3 devices over internet. Defaults to port 8000, Thanks to Moreno for original source 2026-04-10 14:03:50 +07:00
iceman1001 1b80129132 text 2026-04-10 13:50:41 +07:00
team-orangeBlue b4da189aa7 Polish hf mf acl
Just cause...

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-04-09 23:43:47 +03:00
team-orangeBlue 9cf2f49d10 Add ACL command
Mifare Plus has an extra byte for ACL payloads.
That byte controls if data exchange can be plaintext or must be encrypted.

Support for decoding is added in this commit.

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2026-04-09 23:17:44 +03:00
kormax ad27ccae5c Remove use of printf in mfdes module 2026-04-09 00:20:31 +03:00
kormax 63a9a46b2d Replace space padding with dotted padding in 'hf mfdes getdelegateappinfo' 2026-04-09 00:16:52 +03:00
kormax f5d659235b Re-auth after failed response in 'hf mfdes brutedamslot' 2026-04-08 21:15:30 +03:00
kormax d6a18e0270 Implement 'hf mfdes brutedamslot' command 2026-04-08 20:50:44 +03:00
iceman1001 95845dfa6f style 2026-04-08 15:55:48 +07:00
Antiklesys 796ec85a6f Improved secc
Improved hf secc to use default apdu reply from the json file and not the hardcoded one (used as fallback now).
Removed old hardcoded functions no longer in use.
2026-04-08 16:23:50 +08:00
iceman1001 b011c76dd0 style 2026-04-07 08:35:30 +07:00
Matteo Scarlata 7b632dd1f0 client: fix lf hitag hts restore dump length handling 2026-04-07 01:59:41 +02:00
kormax c8f4430636 Implement DESFire delegated app info retrieval 2026-04-06 21:04:32 +03:00
Antiklesys 3bfc645a0a Added hf secc info command
Added `hf secc info` command to retrieve the Card Recognition Template
2026-04-06 18:43:30 +08:00
kormax 909e1c3f23 Fix secure channel issues with 'hf mfdes createdelegateapp' 2026-04-05 22:09:12 +03:00
kormax f9dc8319fb Add createdelegateapp to autocomplete 2026-04-05 11:26:39 +03:00
kormax 6e73038157 Guard against EV2, remove LRP, EV2 channel suggestions 2026-04-05 10:50:28 +03:00
kormax 9ab41dc875 Implement DESFire delegated application creation 2026-04-05 10:22:18 +03:00
kormax e78735e26e Fix DESFire ChangeKey 'keyNo' annotation value 2026-04-04 21:43:24 +03:00
Antiklesys 51c44843c9 Removed --credit from hf iclass legrec
Option wasn't working and caused unnecessary complexity in the workflow.
2026-04-04 01:07:47 +08:00
iceman1001 d8d221bc81 add reference to blacktears 2026-04-03 12:20:59 +07:00
Iceman 11e4fa3fd7 Merge pull request #3204 from Antiklesys/master
Huge hf iclass legbrute performance improvements (4x)
2026-04-03 11:31:34 +07:00
iceman1001 1767fbfff9 text list 2026-04-03 11:27:08 +07:00
Antiklesys b5fe39cf34 Update cmdhficlass.c
Signed-off-by: Antiklesys <syselkitna@gmail.com>
2026-04-03 12:17:34 +08:00
Antiklesys 2145bc8869 Update cmdhficlass.c 2026-04-03 12:03:59 +08:00
Antiklesys 51521fdad9 Fixed blacktears bugs 2026-04-03 12:00:56 +08:00
Antiklesys 10bd253eab Update elite_crack.c 2026-04-03 11:43:11 +08:00
Antiklesys f9474feec0 Update elite_crack.c
Leveraging doMAC_brute for speed gains.

Precomputation (lines 330-346): Before the loop, sel_brute_idx[i] is set to the brute-byte index j if key_index[i] == bytes_to_recover[j], or 0xFF if that key_sel position is from a already-cracked constant entry. Fixed positions are filled into key_sel once here.

Hot loop (lines 356-361): Replaces:

numbytes_to_recover keytable writes + 8 keytable reads + 8 & 0xFF masks
With: up to numbytes_to_recover (1-3) direct shifts from brute — no keytable touches at all.

Success path (line 386): (brute >> (i * 8)) & 0xFF recovers the exact byte value that was just used for the winning iteration, equivalent to the old keytable[bytes_to_recover[i]] & 0xFF which was the same value that had just been written into the keytable from brute.
2026-04-03 11:38:08 +08:00
Antiklesys 8380c02a54 Fixed legrec grammar error and checks 2026-04-03 03:22:32 +08:00
Antiklesys 6b2e6ab1e8 Huge hf iclass legbrute performance improvements (4x)
Optimized `hf iclass legbrute` throughput: replaced recursive `suc()`/`output()` cipher functions with iterative loops, added 256-entry LUT for the `select()` function eliminating redundant bit arithmetic and halving key lookups per state step, switched successor state to in-place pointer update removing per-call struct copies, added `doMAC_brute()` with byte-wise LSB-first processing and direct output bit packing eliminating all bitstream struct overhead and output reversal calls per key candidate, and replaced per-iteration 64-bit modulo progress check with a countdown counter
2026-04-03 01:18:55 +08:00
Antiklesys 39b5153382 Improved hf iclass legbrute: fixed multithreaded
Improved `hf iclass legbrute`: fixed multithreaded key-range partitioning so threads cover non-overlapping slices of the 40-bit keyspace, added ETA display, keyboard abort with resume hint, `_Atomic` correctness for shared state, `pthread_create` error handling, and thread count capped at available CPUs .
2026-04-02 23:50:41 +08:00
Antiklesys a32b92a0cd Update cmdhfsecc.c 2026-04-02 21:33:15 +08:00
Antiklesys 94a834bf10 Merge branch 'master' of https://github.com/Antiklesys/proxmark3 2026-04-02 21:02:30 +08:00
Antiklesys 519884aa01 Added secc support to jam custom payload values 2026-04-02 21:02:15 +08:00
iceman1001 489940cf76 helptexts 2026-04-02 19:43:24 +07:00
Iceman 52153d7863 Merge pull request #3199 from aaronjamt/patch-seos-sim-help-text
[hf seos] Improve sim help text
2026-04-02 19:14:24 +07:00
Aaron Tulino (Aaronjamt) 706b942624 [hf seos] Improve sim help text 2026-04-02 02:40:11 -07:00
Antiklesys 3c45263492 Added wildcard support for hf iclass secc sim payloads
Improved hf iclass secc sim adding additional ways to process payloas and responses for when wildcard characters are needed.
2026-04-02 13:05:59 +08:00
Antiklesys dd9c1d2429 Updated secc function names 2026-04-01 17:27:06 +08:00
Iceman f8dd296884 Merge pull request #3107 from kormax/hf-field-timeout
Add 'hf.field.timeout' to prefs
2026-04-01 10:06:28 +07:00
Philippe Teuwen dfb6663990 commands list helper: compute dynamically column width if > 16 2026-03-31 21:21:41 +02:00
kormax 75a49716a9 Update to 'hf.field.timeout_sec' 2026-03-31 17:03:23 +03:00
iceman1001 e5385103dc fix mistake 2026-03-31 18:43:37 +07:00
kormax b443fc7723 Add 'hf.field.timeout' to prefs 2026-03-31 12:02:23 +03:00
Antiklesys fd5a058674 Fixed menu spacing
Signed-off-by: Antiklesys <syselkitna@gmail.com>
2026-03-31 03:04:39 +08:00
Antiklesys cce48aa6e9 Update cmdhf.c 2026-03-30 23:52:56 +08:00
Antiklesys 5236a13066 SECC Part 2 (fixed) 2026-03-30 23:50:58 +08:00
Antiklesys 128e4006bf SE Conf Card Sim Base
Added `hf secc` to build a base for simulating basic function of iclass SE config cards
2026-03-30 22:58:52 +08:00