Commit Graph

13061 Commits

Author SHA1 Message Date
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
Aaron Tulino (Aaronjamt) e0fd7414c2 Update docs 2025-12-21 20:55:26 -07:00
Aaron Tulino (Aaronjamt) 32f1e4b51c [hf seos] Allow short SIO 2025-12-21 03:55:28 -07:00
Aaron Tulino (Aaronjamt) f45d2798fb [hf seos] CommandTable formatting 2025-12-20 14:13:20 -07:00
Iceman 0cee5705f6 Merge pull request #3052 from aaronjamt/hex_conv_cleanup
Bytes->Hex conversions cleanup
2025-12-20 22:10:45 +01:00
Aaron Tulino (Aaronjamt) d7c9094cad More hex conversion cleanup
Found a few more places that can easily be switched to use `sprint_hex_inrow`
2025-12-20 13:49:05 -07:00
Aaron Tulino (Aaronjamt) d4034d4ea1 [hf seos] Cleanup OID buffer hex conversion 2025-12-20 13:48:10 -07:00
Aaron Tulino (Aaronjamt) 179e6c5681 [hf seos] Add write support 2025-12-20 13:32:41 -07:00
kormax 5dce150e43 Fix CMakeLists.txt 2025-12-19 14:29:55 +02:00
Iceman 4dab61815a Merge pull request #3044 from aaronjamt/patch-2
[hf seos] Make keyslot configurable
2025-12-19 12:10:54 +01:00
Iceman 42cd659b33 Merge pull request #3049 from kormax/nfc-b-polling-loop-annotations
Add polling loop annotation support for iso14443b
2025-12-19 12:09:55 +01:00
kormax 34f18a0002 Add polling loop annotation support for iso14443b 2025-12-19 09:29:31 +02:00
Aaron Tulino (Aaronjamt) dd47e10a3f Add new keyslot value in keyset 2025-12-18 15:15:37 -07:00
Travis Weathers 61f5493f55 Fix iCLASS block 7 decoder to strip sentinel bit
When decoding iCLASS block 7 Wiegand data, the decoder was showing
incorrect bit counts (27 for 26-bit, 36 for 35-bit, etc.) because
it wasn't stripping the sentinel bit that's added during encoding.

This fix:
- Detects when binary string has sentinel bit (leading '1' making
  length one more than common formats)
- Strips the sentinel bit and recreates u96 values from corrected
  binary string
- Uses corrected length for wiegand decoding

Fixes decoding for 26-bit, 35-bit, and other formats where sentinel
bit causes incorrect format detection.
2025-12-18 14:43:15 -05:00
Iceman bcf1b57ddd Merge pull request #3026 from henrygab/safer_safelok
Safer safelok routines
2025-12-18 15:10:59 +01:00
Sanduuz e0eb2a6993 Add qrcode source to CMakeLists 2025-12-18 15:49:29 +02:00
Sanduuz 035464e282 Updated aid_desfire list with newer finnish HRT card AID 2025-12-17 13:12:23 +02:00
Philippe Teuwen 61332b39a4 ulaes dump: read version, sig, counters, etc 2025-12-17 10:06:46 +01:00
Philippe Teuwen 23e11ae5f6 hf mfu info on ULAES: handle locked config more gracefully 2025-12-17 10:06:28 +01:00
Sanduuz 3e0d00bb13 Typo fix in hfmfdes help (0ffset -> offset) 2025-12-16 17:01:37 +02:00
Aaron Tulino 8a929015c9 Make PR more readable 2025-12-11 02:53:54 -07:00
Aaron Tulino (Aaronjamt) b602436a6e [hf seos] Carry when incrementing 2025-12-09 15:37:32 -07:00
Trigat cf96e4882b Enhance user prompts and add long input handling
Updated user prompts and error messages to include warning symbols for better visibility. Added a new function to read long user input on POSIX systems. Allow writing large inputs by splitting user data into smaller, fixed-size chunks.

Signed-off-by: Trigat <trigat@protonmail.com>
2025-12-05 15:22:32 -06:00
Aaron Tulino (Aaronjamt) 950c087702 Fix cmac writing out-of-bounds 2025-12-03 01:46:35 -07:00
Iceman 046a26c235 Merge pull request #3039 from kormax/desfire-expanded-type-recognition
Fix output formatting for unrecognized DESFire card types; detect more DESFire card types
2025-12-02 18:58:28 +01:00
kormax 09b087d5e7 Fix output formatting for unrecognized DESFire card types; detect more DESFire card types 2025-12-02 19:30:51 +02:00
Iceman 3a5c0d81ff Merge pull request #3038 from kormax/improve-felica-scsvcode-output-format
Improve felica scsvcode output format
2025-12-01 11:40:40 +01:00
kormax 9cf1576c88 Improve output format for hf felica scsvcode 2025-11-29 18:29:19 +02:00
kormax 53ee5d68e8 Improve output format of hf felica rdbl; fix wrong response struct format 2025-11-29 18:26:03 +02:00
kormax 8c8bf54f4f Remove wrong use of AddCrc in cmdhffelica 2025-11-29 13:56:34 +02:00
kormax fe0a33ad51 Band-aid fix to strip erroneous length byte and CRC from client payload when sending FeliCa frames 2025-11-29 13:27:47 +02:00
Aaron Tulino (Aaronjamt) a20856730c [hf seos] Fix wrapped command padding 2025-11-28 16:45:48 -07:00
Aaron Tulino (Aaronjamt) 7d198c9a9a [hf seos] Correct command padding size 2025-11-26 19:59:56 -07:00
Iceman 9b2e3eeeb4 Merge pull request #3029 from aaronjamt/patch-3
[hf seos] Clean up and clarify "tag data"
2025-11-26 05:17:10 +01:00
Iceman 34adba543d Merge pull request #3030 from aaronjamt/patch-5
[hf seos] Only allow read/write while Proxmark connected
2025-11-26 05:15:07 +01:00
Iceman cbba121711 Merge pull request #3028 from aaronjamt/patch-2
[hf seos] Add keyslot parameter to `seos_mutual_auth`
2025-11-26 05:14:09 +01:00
Aaron Tulino (Aaronjamt) 89e6e9a7d0 [hf seos] Fix cmac input length 2025-11-21 22:58:03 -07:00
Aaron Tulino (Aaronjamt) eaaa75957a [hf seos] Only allow read/write while Proxmark connected 2025-11-19 19:09:32 -07:00
Aaron Tulino (Aaronjamt) 7df4361031 [hf seos] Clean up "tag data" 2025-11-19 16:49:20 -07:00