Commit Graph

21546 Commits

Author SHA1 Message Date
kormax 26dfceaea9 Add 'STiD Mobile ID' entries to 'aidlist.json' 2026-04-07 18:01:58 +03:00
Iceman 322f219041 Merge pull request #3219 from Antiklesys/master
Improved crypto on secc
2026-04-07 10:54:16 +07:00
Antiklesys 21de0c211c Improved crypto on secc
Improved crypto on secc
2026-04-07 09:40:01 +08:00
iceman1001 b011c76dd0 style 2026-04-07 08:35:30 +07:00
iceman1001 bdd39fb152 style 2026-04-07 08:08:36 +07:00
Iceman 374e6d7b95 Merge pull request #3218 from winterdeaf/master
client: fix lf hitag hts restore dump length handling
2026-04-07 08:01:59 +07:00
Matteo Scarlata 7b632dd1f0 client: fix lf hitag hts restore dump length handling 2026-04-07 01:59:41 +02:00
Iceman 698cd8906e Merge pull request #3217 from kormax/mfdes-getdelegateappinfo
Implement DESFire delegated app info retrieval
2026-04-07 06:22:18 +07:00
kormax 25dd37c48a Update CHANGELOG 2026-04-06 21:10:27 +03:00
kormax c8f4430636 Implement DESFire delegated app info retrieval 2026-04-06 21:04:32 +03:00
Iceman eb831290dd Merge pull request #3216 from Antiklesys/master
Added `hf secc info` command
2026-04-06 17:57:21 +07: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
Iceman bd16ede5f1 Merge pull request #3215 from Antiklesys/master
Fix hf iclass sim simulation bug
2026-04-06 14:49:21 +07:00
Antiklesys 459c812e29 Update iso15693.c 2026-04-06 15:23:42 +08:00
Antiklesys fb8f94fa25 Fixed simulation bug
The data_available() check in iso15693.c:1574 fires at any point during the DMA receive loop — including mid-frame while the reader is actively transmitting. When it fires during a CHECK response or during UPDATE transmission, the decoder exits early with -2, iclass.c drains the USB queue and continues — dropping the frame entirely. The reader times out waiting for a response, and restarts from READCHECK.

The fix is minimal: gate the data_available() check on the decoder being in STATE_READER_UNSYNCD (i.e., between frames, before SOF detection). Once SOF starts being received, the state transitions away from UNSYNCD and the check won't fire mid-frame.
2026-04-06 15:06:09 +08:00
Iceman ab60ab41e6 Merge pull request #3213 from Antiklesys/master
Updated readme.md
2026-04-06 11:42:47 +07:00
Antiklesys efa5176638 Merge branch 'RfidResearchGroup:master' into master 2026-04-06 12:37:15 +08:00
Antiklesys 41295e507d Update README.md 2026-04-06 12:36:57 +08:00
Iceman b3980a4976 Merge pull request #3212 from Antiklesys/master
legrec_legbrute_doc
2026-04-06 11:27:53 +07:00
Antiklesys f7a8c3348f Updated doc name 2026-04-06 12:09:16 +08:00
Antiklesys d19f08dbbc Create iclass_key_recovery.md 2026-04-06 12:06:45 +08:00
Iceman 37e0bba0ae Merge pull request #3210 from kormax/mfdes-createdelegateapp-secure-channel-fix
Fix secure channel issues with `hf mfdes createdelegateapp`
2026-04-06 07:39:10 +07:00
kormax 909e1c3f23 Fix secure channel issues with 'hf mfdes createdelegateapp' 2026-04-05 22:09:12 +03:00
iceman1001 a72f66bcbb text 2026-04-05 22:31:20 +07:00
iceman1001 aa1c1510fd remove debug text 2026-04-05 22:30:54 +07:00
Iceman 0285c4d771 Merge pull request #3209 from kormax/mfdes-create-delegated-app
Add `hf mfdes createdelegateapp` command
2026-04-05 15:34:00 +07:00
kormax f9dc8319fb Add createdelegateapp to autocomplete 2026-04-05 11:26:39 +03:00
kormax fb910d6865 Update CHANGELOG 2026-04-05 11:03:56 +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
Iceman 8442f3d6fd Merge pull request #3207 from kormax/mfdes-changekey-annotation
Fix DESFire ChangeKey 'keyNo' annotation value
2026-04-05 08:39:59 +07:00
kormax e78735e26e Fix DESFire ChangeKey 'keyNo' annotation value 2026-04-04 21:43:24 +03:00
Iceman 2e49d441b9 Merge pull request #3205 from Antiklesys/master
Removed --credit from hf iclass legrec & stabilized --fast timing
2026-04-04 08:06:48 +07:00
Iceman 5442507210 Merge pull request #3206 from kormax/aidlist-more-sources
Add more sources to existing 'aidlist.json' mobile entries
2026-04-04 08:05:24 +07:00
kormax e4ed0b4d4f Add more sources to existing 'aidlist.json' mobile entries 2026-04-03 23:28:13 +03:00
Antiklesys 2bdbd5a73c Stability update
Benchmarked multiple cards. This is a stable value with the least performance loss.
2026-04-04 02:01:29 +08: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
iceman1001 c33f10f56b style 2026-04-03 11:46:58 +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 6da8aa2e98 style 2026-04-03 11:27:38 +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 e1e689e266 Fixed bug causing retries loop to be skipped
Fixed bug causing retries loop to be skipped
2026-04-03 03:32:00 +08:00
Antiklesys 8380c02a54 Fixed legrec grammar error and checks 2026-04-03 03:22:32 +08:00
Antiklesys a0f89d09e8 Merge branch 'RfidResearchGroup:master' into master 2026-04-03 01:19:39 +08:00