Commit Graph
565 Commits
Author SHA1 Message Date
iceman1001 115e85e5d4 missing defines 2023-10-02 21:01:08 +02:00
Rick Farina (Zero_Chaos) 6b648396e7 fix -Wstringop-overread error
We are reading this 26 bytes into a 32 byte buffer, is this even any
worse?
Fixes: https://github.com/RfidResearchGroup/proxmark3/issues/2060
2023-07-31 23:33:36 -04:00
iceman1001 8bfb915624 adapt the leftovers 2023-07-27 19:01:46 +02:00
iceman1001 fc3a518f28 There is a race condition when we go from iclass commands to mf command. Especially noticable when eload large files where we used to spam the device with usb packages.\ntry iclass eload, then mf eload, and you see the client hang. With this change we trigger a preload of the fpga image before we start uploading to the device. Current places I could trigger this bug was in eload and gsave. With this patch only the first call takes some time if fpga image must be loaded. The following goes fast.\n\n if you find that the client hangs when going between, this could be the root cause. 2023-07-26 23:47:55 +02:00
iceman1001 72057f9b81 text 2023-07-24 13:34:24 +02:00
iceman1001 38034480ca text 2023-07-24 01:42:24 +02:00
iceman1001 ed0d18f05d QL88 tag identification. Thanks to AnnPlusPluss and Atlab for finding the key 2023-06-28 13:27:50 +02:00
iceman1001 74f02fef8a style 2023-06-24 17:16:28 +02:00
iceman1001 55b780074f move defines 2023-06-23 18:59:16 +02:00
iceman1001 88e2618131 function to support figuring out if block 0-3 , 0-15 is sectortrailer. The previous function uses 0-255.. 2023-06-23 17:08:32 +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
iceman1001 7fe02233d8 textual changes to MAD output 2023-06-23 13:56:59 +02:00
iceman1001 d65094b7e0 fixed some color to mad directory printings and fixed a sector issue in when saving keyfiles to Mifare Plus cards 2023-06-19 15:01:40 +02:00
iceman1001 97eb0238b1 style 2023-06-02 10:45:04 +02:00
iceman1001 15c751231f adapting default keys array 2023-05-26 05:11:17 +02:00
iceman1001 9ee7bd2936 adjust potential type conversion 2023-05-25 07:15:43 +02:00
iceman1001 5e3710c232 rearranged for easier testing 2023-05-24 14:02:54 +02:00
iceman1001 27576be5c2 trying to extract ndef data from dumps by looking at MAD 2023-05-05 22:26:44 +02:00
iceman1001 ed555be180 fix wrong copying when skipping sector trailers 2023-05-05 13:18:53 +02:00
Philippe Teuwen 3bc472c9bb hf mf cwipe: use same default ACL as for hf mf wipe 2023-04-17 23:22:48 +02:00
iceman1001 1bb78e02a4 fix MFP check with defines and easier logic 2023-04-15 20:44:52 +02:00
iceman1001 52f432a967 fix memory alloc in hf mf rdsc, when sector was larger than 32 2023-04-08 09:03:32 +02:00
AloneLiberty d434eeae60 Supercard gen1/gen2 detection in MifareCIdent 2023-03-26 17:50:17 +03:00
AloneLiberty fae8ffda44 Fix formatting and run make style 2023-03-26 16:12:39 +03:00
iceman1001 07f6162780 added support for the magic card called GDM. 2023-03-21 19:49:52 +01:00
iceman1001 7abfff4095 moved and unified some reverse array fct 2023-03-05 19:19:15 +01:00
Philippe Teuwen 8ac8e3d7d0 reduce variable scopes 2023-01-15 02:23:19 +01:00
Philippe Teuwen 0e1ea167a4 vigik: use mfc_vigik_t in API and remove warning about increased alignment 2023-01-14 23:32:35 +01:00
Philippe Teuwen 5d5d9d9be0 make style 2023-01-14 22:22:04 +01:00
iceman1001 67b340d838 swapped to ISO7816 defines 2023-01-14 12:26:30 +01:00
iceman1001 9888eef8dc changed hf mf wrbl and view command to look for strict readonly ACL in the data. 2023-01-06 23:53:25 +01:00
iceman1001 d170f68a00 fix compilation error, and more debug statements 2022-12-04 15:34:35 +01:00
iceman1001 37100a8a18 fix compilation error 2022-12-04 15:15:24 +01:00
iceman1001 9af951c22b fix compiling 2022-12-04 09:27:13 +01:00
iceman1001 e3a6f8fe27 look up vigik service code 2022-12-03 21:11:29 +01:00
iceman1001 e4339bd846 wip - testing of a vigik annotater 2022-12-03 20:30:13 +01:00
DidierA 9a0427d4d2 Add Magic Gen4 GTU detection and symbols for Gen4 GTU protocol. 2022-11-25 10:13:33 +01:00
iceman1001 317ddf42bc style 2022-11-20 16:47:49 +01:00
iceman1001 6c163fa262 added a check for static encrypted nonces when collecting encrypted nonces for hardnested to run. Will abort the collection if detected. 2022-11-15 07:07:26 +01:00
Didier Arenzana 2f49b2c8cf Merge branch 'RfidResearchGroup:master' into hf_mf_gen4_rewrite 2022-11-13 00:46:07 +01:00
iceman1001 c393b0caca adapted hardnested and autopwn to detect MFC Ev1 cards and use the known sector key in the key recovery vectors 2022-11-12 09:39:28 +01:00
DidierA 885911c469 Rewrite of magic Gen4 GTU commands : refactor and speed 2022-11-09 15:49:07 +01:00
DidierA 876abf2818 Add hf mf gload, ggetblk, gsetblk 2022-11-05 19:40:38 +01:00
Jean-Michel Picod 32d47cb6a4 Fix prolematic return codes in mifare.
Parts of the code returned positive values for error codes, which
could result in the client exiting (return value 2).
2022-11-04 11:06:59 +01:00
iceman1001 fede61296b fix return types to follow our style better. 14a/mf needs more love 2022-11-02 14:34:07 +01:00
iceman1001 8d24e105ea text 2022-10-24 18:49:08 +02:00
iceman1001 8940982c85 changed "hf mfdes lsapp" to print dfname regardless if it is not a genuine strign 2022-10-23 18:45:20 +02:00
iceman1001 ac29a893cf fix hf md ndefread, to correctly skip non ndef formatted sectors 2022-10-23 02:15:47 +02:00
iceman1001 9e9d8ddbde style 2022-10-20 17:31:23 +02:00
iceman1001 acb6fcb970 changed "hf mf cwipe" - add a genuine block0 2022-10-20 17:31:01 +02:00