Commit graph

166 commits

Author SHA1 Message Date
iceman1001 e50459b2c5 style 2024-09-06 22:59:23 +02:00
iceman1001 b0dd246d94 const and bad OR 2024-09-06 09:52:30 +02:00
iceman1001 9c181dd83d step one of bounds checking all responses when receiving ISO14443A frames... because @doegox find a missbehaving IC clone..... 2024-09-05 17:52:10 +02:00
Philippe Teuwen ee8b9ca74b make style 2024-08-03 21:21:11 +02:00
Philippe Teuwen fb0b448c4f hf mf isen: add nt indexes 2024-07-31 00:41:50 +02:00
Philippe Teuwen e7c4ae2b1e hf mf isen for analyzing some static encrypted nonces MFC 2024-07-29 23:19:18 +02:00
Philippe Teuwen de326fc772 hf mf rdbl/wrbl/rdsc/nested: support extended AUTH 2024-07-29 22:38:30 +02:00
iceman1001 f5e976afa6 style 2024-02-16 21:59:45 +01:00
iceman1001 7990425a1c debug print lengths 2024-02-16 17:33:22 +01:00
iceman1001 99e7a647bf fix lengths 2024-02-16 17:30:14 +01:00
iceman1001 0079493a36 simplified aes auth 2024-02-16 13:19:24 +01:00
iceman1001 3a76523276 use CBC ... 2024-02-15 17:53:04 +01:00
iceman1001 701dba34e4 adapt debug messages to 16/32 2024-02-15 17:18:14 +01:00
iceman1001 fccaee37b5 aes is 16 bytes 2024-02-15 17:12:34 +01:00
iceman1001 a4759c4ecd length check 2024-02-15 16:47:21 +01:00
iceman1001 c4c1601446 added rudimentary functions for doing AES authentication against MIFARE UL AES tags. (wip) 2024-02-15 16:20:47 +01:00
iceman1001 414275802d style 2024-01-25 01:55:07 +01:00
iceman1001 6c1ebc3398 cleaning up redundant functions. the extra checks in bigbuff might affect simulation 2024-01-24 23:41:48 +01:00
merlokk 91892bc1bf add static encrypted nonce detection 2023-12-11 21:24:26 +02:00
iceman1001 89bcdcddbc style 2023-12-06 22:42:16 +01:00
iceman1001 64ea48e7d0 remove fct in header file.\nreverted this decline 2023-07-27 18:57:11 +02:00
iceman1001 6ba002725f rmeoved some fct devices side regarding eml get/ set 2023-07-27 18:55:41 +02:00
iceman1001 b696a2036f improved the eload upload times by using large chunks. Quite much faster now.\nAddapted the dots and text for eload / sim across the client 2023-07-26 23:39:27 +02:00
iceman1001 1cb15c84c1 adapting hf mf cget* commands to longer timeouts. Same with the quick eload used in autopwn among others.\nAlso adapted the return codes, so its more accurate in its reporting back to the client. Also added some more informative messages 2023-07-25 21:29:31 +02:00
nvx a9c0fd0b1c Fix regression caused by edd8e36 (PR #2021).
Mifare Classic KeyA/B were accidentally switched in some contexts.
2023-07-12 23:04:29 +10:00
nvx edd8e36d80 Cleanup arm-side reader-mode mifare classic block read/write code. 2023-07-04 00:11:01 +10:00
iceman1001 f36ec46455 minor rename 2023-06-26 15:01:44 +02:00
iceman1001 a4e22416b9 less debug output when an auth fails 2023-06-23 18:28:44 +02:00
iceman1001 419d0c1f5b adapt return codes for some mifare commands and their debug logging. this will reduce debug message on the client side 2023-06-23 16:25:43 +02:00
AloneLiberty 2b248e03e8
Merge branch 'master' into mf-supercard
Signed-off-by: AloneLiberty <111039319+AloneLiberty@users.noreply.github.com>
2023-04-03 21:45:32 +00:00
AloneLiberty 3524306bf4 Implement transfer to other block in hf mf value 2023-04-01 20:49:15 +03:00
AloneLiberty ac5dd0ffa8
Merge branch 'master' into mf-supercard
Signed-off-by: AloneLiberty <111039319+AloneLiberty@users.noreply.github.com>
2023-04-01 16:42:02 +00:00
AloneLiberty 0f0a5d7f04 Fix lost arguments 2023-03-28 17:25:03 +03:00
AloneLiberty d10d8c0039 And make style 2023-03-26 18:05:11 +03:00
iceman1001 71ddee1386 added "hf mf gdmsetcfg" to write GDM configuration 2023-03-26 16:50:59 +02:00
iceman1001 82f5c8512d mfc writes now support tear off 2023-03-26 13:58:27 +02:00
iceman1001 97e16ba764 renamed gdm getblk to config since that is what it does 2023-03-26 03:41:12 +02:00
iceman1001 ebe7cbf05f missing... 2023-03-25 15:52:18 +01:00
iceman1001 07f6162780 added support for the magic card called GDM. 2023-03-21 19:49:52 +01:00
Philippe Teuwen 8ac8e3d7d0 reduce variable scopes 2023-01-15 02:23:19 +01:00
iceman1001 b4255eea77 simplify save files 2022-06-06 13:20:39 +02:00
mwalker33 f5170f1d18 Mifare Classic Value operations
Added increment value, decrement value via the supplied commands and set value via the normal write command.  Also added "get" to read a value block and decode/display.
2022-06-05 16:58:53 +10:00
iceman1001 178f9bb142 pcs param is sometimes NULL here 2022-03-20 09:35:37 +01:00
Philippe Teuwen 9849156f37 arm 14a/mifare: Fix codeql warnings 2022-02-27 14:54:11 +01:00
mwalker33 3ca13ce293 Update mifareutil.c
Mifare debug bug.  nr is a uint8_t size of 4 and did note output correctly.
2022-01-31 17:19:44 +11:00
iceman1001 e550f8ccc8 cppcheck fixes for const 2022-01-06 15:40:11 +01:00
Philippe Teuwen bcafc5d03c some historical copyright adjustments, thanks @iceman1001! 2022-01-06 11:24:04 +01:00
Philippe Teuwen b703bb746b Adapting license headers, WIP 2022-01-06 02:20:38 +01:00
Philippe Teuwen 5b54385347 rename globals 2021-08-21 23:08:26 +02:00
Anže Jenšterle cd36770c5e
make style 2021-02-09 16:56:55 +01:00