Commit graph

506 commits

Author SHA1 Message Date
Iceman 5e20905a9d
Merge pull request #1687 from Doridian/fix/use-snprintf
Switch usage of sprintf to snprintf
2022-06-12 11:43:31 +02:00
Doridian 83943aafc8 and done 2022-06-11 16:16:56 -07:00
dx林 de0549a269 StaticNested fast decrypt(backdoor 2nt.). 2022-06-10 11:02:06 +08:00
iceman1001 2c61530cba minors stuff, added some blowfish decrypt 2022-06-06 12:59:09 +02:00
iceman1001 4195c9d901 fix logic 2022-06-02 20:44:37 +02:00
iceman1001 d4c3082741 refactoring loading dump files 2022-05-15 23:06:46 +02:00
iceman1001 f241bd4b4d added MAD key Sector0 detection and hf mf mad now takes a -f param for offline decoding of dump files 2022-05-15 11:37:06 +02:00
iceman1001 da81c6806b style 2022-04-19 19:01:04 +02:00
iceman1001 8141752d69 texts 2022-02-24 19:19:07 +01:00
Philippe Teuwen 05e7eda871 Add mfSectorTrailerOfSector 2022-02-17 01:41:56 +01:00
Philippe Teuwen 62e95f9220 fix some CodeQL warnings 2022-02-15 16:08:39 +01:00
iceman1001 d41c025f5c helptext unify 2022-02-06 23:13:20 +01:00
merlokk 3ae9070dd8 make style 2022-02-05 13:32:50 +02:00
iceman1001 08970f51c2 hf mf restore - now takes bin/eml/json as dump files. It also checks for ALL ZERO accessrights in dump and replaces them with default configuration instead to prevent unwanted experiences 2022-02-05 09:18:24 +01:00
iceman1001 ccf23146d6 style 2022-02-04 21:25:49 +01:00
merlokk 41b273e9f7 added mode for delete file 2022-01-13 17:07:34 +02:00
Philippe Teuwen 2269ad6914 Remove ARRAY_LENGTH, we've already ARRAYLEN 2022-01-09 14:19:48 +01:00
Philippe Teuwen 5a4584358c make style 2022-01-09 14:10:26 +01:00
iceman1001 0967ea1989 modified the default mfc hardcoded list to contain some more keys 2022-01-09 13:37:35 +01:00
iceman1001 28efc8b097 hf mf darkside - textual adaptation to current style 2022-01-09 13:36:29 +01:00
iceman1001 0254b2a63a cppcheck fixes 2022-01-08 15:29:11 +01:00
iceman1001 0a5ae04070 coverity fixes 2022-01-08 13:27:22 +01:00
Philippe Teuwen 30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
iceman1001 89a05b47a8 cppcheck fixes const 2022-01-07 19:31:19 +01:00
iceman1001 2bf2bb301a cppcheck fixes 2022-01-07 19:23:42 +01:00
iceman1001 a8ccba77d6 cppcheck fixes const 2022-01-07 19:13:24 +01:00
Matt Moran de30ba90d1 Merge remote-tracking branch 'upstream/master' into feat/hf-gallagher 2022-01-05 23:56:33 +13:00
Matt Moran caebfdca62 Update license from LGPL to GPL 2022-01-05 23:54:18 +13:00
Matt Moran 8ecfc4af34 Make variables & function names snake_case 2022-01-05 23:53:03 +13:00
Matt Moran e129bee161 Fix print level should be ERR, was FAILED 2022-01-04 18:06:20 +13:00
Matt Moran 7b0a85a0af Fix incorrect types in encodeCardholderCredentials 2022-01-03 16:39:18 +13:00
iceman1001 9a746db6f9 cppcheck fixes 2022-01-01 15:59:02 +01:00
Matt Moran 491c93e715 Add CardholderCredentials struct 2022-01-01 17:34:53 +13:00
iceman1001 9c2b5118df hf mf gview now support user supplied password 2021-12-31 09:24:10 +01:00
Matt Moran f0b82c6311 Extract gallagher encoding/decoding
Change input parameters to be `arg_u640` so that we can check they are the right lengths (and not have them silently truncated)
2021-12-29 23:10:48 +13:00
merlokk b3f2a18ec4 top level read command dynamic memory allocation 2021-12-24 19:14:48 +02:00
merlokk 74fc0a236c dynamic mem encoders/decoders 2021-12-24 12:27:01 +02:00
merlokk 02316e5fc3 DesfireExchangeEx dyn memory 2021-12-24 11:51:23 +02:00
merlokk f827b85cda low level dynamic memory 2021-12-24 11:46:16 +02:00
Philippe Teuwen 628766391e add mfValidateAccessConditions to warn when dealing with invalid MFC ACL 2021-12-17 21:29:09 +01:00
iceman1001 9123eeac2d added hf mf acl to decode and print MIFARE ACLs. Thanks for the idea @mwalker33! I know you did implement one but you never pushed it ;) 2021-12-17 03:08:35 +01:00
Philippe Teuwen dbec6edfa7 make style 2021-10-16 23:44:53 +02:00
Philippe Teuwen 232843477c typos 2021-10-16 23:44:53 +02:00
Philippe Teuwen 6f6a3161a9 Fix typos, applying Fix-spelling-errors.patch from Kali, thanks Sophie!
da550dbec7 (6e9d1bb9c071feb1a5ad25ec24296a3f6751f2d1)
2021-10-04 20:48:55 +02:00
iceman1001 e498b66ace fix #1504 - header or no header i keyblock dynamic memory. And clear trace log 2021-09-18 12:06:59 +02:00
iceman1001 7510fcee4f text 2021-09-17 18:28:12 +02:00
iceman1001 e930d49aa5 textual 2021-09-10 20:40:26 +02:00
iceman1001 cd4ee68cce text 2021-09-10 19:40:23 +02:00
merlokk 735edf60d1 increase buffer len 2021-09-08 21:43:36 +03:00
Philippe Teuwen 5eda1ea400 Fix cppcheck dereferencing null pointer fix 2021-09-04 02:14:48 +02:00