Commit Graph
62 Commits
Author SHA1 Message Date
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
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) 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
Aaron Tulino (Aaronjamt) dd47e10a3f Add new keyslot value in keyset 2025-12-18 15:15:37 -07: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
Aaron Tulino (Aaronjamt) 950c087702 Fix cmac writing out-of-bounds 2025-12-03 01:46:35 -07: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
Aaron Tulino (Aaronjamt) 8f13add397 [hf seos] Add keyslot parameter to seos_mutual_auth 2025-11-18 14:48:04 -07:00
Iceman d29d912fff Merge pull request #3025 from aaronjamt/patch-3
[hf seos] Support variable length SIO
2025-11-15 09:50:13 +01:00
Aaron Tulino (Aaronjamt) 25140d9c8b [hf seos] Support variable length SIO 2025-11-14 23:23:46 -07:00
Aaron Tulino (Aaronjamt) ff344e6473 [hf seos] Fix buffer overflow 2025-11-14 23:08:13 -07:00
Aaron Tulino (Aaronjamt) 9ee9b1a73f Proper TLV parsing for Seos 2025-11-14 21:10:46 -07:00
Tiernan Messmer 781f235a85 Fix hf seos adf/pacs handling of cards with different diversifier lengths and different ADF OIDs 2025-11-11 01:25:04 +10:00
Jakub Kramarz 2163d78126 cmdhfseos: fix invalid memory access in select_DF_verify
The real default key index in CmdHfSeosGDF passed to select_DF_verify was different than documented, resulting in out of bound read.
2025-05-09 00:05:43 +02:00
Jakub Kramarz 0655b6389e cmdhfseos: fix stack buffer overflow in select_DF_verify
increased CMAC buffer size, otherwise memset in aes_cmac writes 16-bytes to 8-byte buffer
2025-05-08 23:52:01 +02:00
iceman1001 1c52bee9a1 text and style 2025-03-21 11:25:31 +01:00
iceman1001 a5dcb4a812 text and style 2025-03-21 08:30:13 +01:00
Eric Betts cfa1bb3a0f Correct oid_hex for hf seos adf and hf seos pacs 2025-03-10 16:42:22 -07:00
iceman1001 98f6b263ff wiegand decode now accepts --new parameter to decode new padding format <len 1byte><pacs bytes> where len denotes number of zeros bits added in the end of the pacs bytes. You will need to shift accordingly. 2025-02-23 23:10:13 +01:00
iceman1001 66b1a48536 style 2025-02-23 21:16:34 +01:00
iceman1001 2fcdea68d1 style and text 2025-02-23 21:08:16 +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
Philippe Teuwen 53a1d5be01 better fix, thanks @iceman 2025-02-03 16:14:28 +01:00
Philippe Teuwen 80942c8bad Fix ARM GCC14 warning
error: '%02X' directive output may be truncated writing between 2 and 4 bytes into a region of size 3 [-Werror=format-truncation=]
2025-02-03 10:11:34 +01:00
iceman1001 903489f7e5 different key slots 2025-01-27 22:08:17 +01:00
Jakub Kramarz 550af14502 cmdhficlass, cmdhfseos: fixed data argument parsing 2025-01-27 20:57:24 +01:00
Jakub Kramarz 098e3765c0 cmdhfseos: fixed typo 2025-01-27 20:34:52 +01:00
Jakub Kramarz e05c36d4ea cmdhfseos: change from SendCommandMix to SendCommandNG 2025-01-27 20:23:23 +01:00
Jakub Kramarz 5750d47ba3 rename util_hidsio to hidsio 2025-01-27 20:17:44 +01:00
Jakub Kramarz e3e9ca504e cmdhfseos less verbose args parsing 2025-01-27 20:17:44 +01:00
Jakub Kramarz 2ae2388cef util_hdsio: extract getSioMediaTypeInfo 2025-01-27 20:17:43 +01:00
iceman1001 c32ef83812 style 2025-01-14 18:20:55 +01:00
Jakub Kramarz 15a37ef9df seos_sam: ran make style 2025-01-07 00:30:49 +01:00
Jakub Kramarz dd30781608 extract PACS-parsing routines to wiegand_formats.c 2025-01-07 00:15:41 +01:00