Commit graph

17000 commits

Author SHA1 Message Date
Philippe Teuwen
3fd8be2a47 Avoid some unneeded rebuild and fix parallel call to fw rebuild when calling from install 2023-08-02 22:13:05 +02:00
Iceman
44352ac586
Merge pull request #2063 from ZeroChaos-/master
define proxguiqt.cpp depends to avoid parallel/shuffle build failure
2023-08-02 21:50:32 +02:00
iceman1001
d6a0f8edac use string instead 2023-08-02 19:56:29 +02:00
iceman1001
1e26d79ddd added a new command to lookup ATR arrays 2023-08-02 19:50:47 +02:00
iceman1001
1c35f14c76 thanks @DidierA for the sharp eyes 2023-08-02 19:49:26 +02:00
iceman1001
ce741d3b44 defines 2023-08-02 19:12:59 +02:00
Rick Farina (Zero_Chaos)
8f2b71ffc4
fix parallel build for proxguiqt.moc.cpp
seed shuffle=2866679623 found that proxguiqt.moc.cpp also needs the same
header so just defining the header and defining it's needs should make
everyone happy
2023-08-02 13:00:32 -04:00
iceman1001
2b3d339714 lto missing inits 2023-08-02 17:46:53 +02:00
iceman1001
602daa7fdd missing inits 2023-08-02 17:40:55 +02:00
iceman1001
4ee7b78a07 always make sure resp is initialized 2023-08-02 17:36:50 +02:00
Rick Farina (Zero_Chaos)
0b70a10145
proxguiqt.cpp also needs ui_image.h to build
This fixes the next parallel build failure in the current shuffle seed.
2023-08-02 11:30:18 -04:00
Rick Farina (Zero_Chaos)
f451be5877
proxguiqt.cpp needs ui_overlays.h to build
Fixes: https://github.com/RfidResearchGroup/proxmark3/issues/2062
2023-08-02 11:28:48 -04:00
Iceman
0388682591
Merge pull request #2061 from pentoo/master
fix -Wstringop-overread error
2023-08-02 15:57:34 +02:00
Iceman
c5dff6a55f
Merge pull request #2059 from ZeroChaos-/master
fix lto-type-mismatch in guidummy.cpp
2023-08-02 15:54:38 +02:00
Iceman
37882ed680
Merge pull request #2057 from kormax/master
Add new DESFire command code and annotation
2023-08-02 15:53:44 +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
Rick Farina (Zero_Chaos)
d522a46fca
fix lto-type-mismatch in guidummy.cpp
link time optimization requires all functions named the same to actually
operate the same.  I am pretty sure this fixes it without breaking
anything.
Fixes: https://github.com/RfidResearchGroup/proxmark3/issues/2058

src/proxgui.h:35:6: error: type of ‘ShowPictureWindow’ does not match original declaration [-Werror=lto-type-mismatch]
   35 | void ShowPictureWindow(uint8_t *data, int len);
      |      ^
src/guidummy.cpp:33:17: note: type mismatch in parameter 2
   33 | extern "C" void ShowPictureWindow(char *fn) {
      |                 ^
src/guidummy.cpp:33:17: note: type ‘void’ should match type ‘int’
src/guidummy.cpp:33:17: note: ‘ShowPictureWindow’ was previously declared here
2023-07-31 15:57:09 -04:00
kormax
ef79fb91eb Add annotation for new DESFire command code 2023-07-31 12:48:40 +03:00
kormax
d9d03aaf1f Add new DESFire command code
Update file formatting
2023-07-31 12:48:40 +03:00
iceman1001
9e8adce7a9 updated ATR list 2023-07-30 21:22:52 +02:00
iceman1001
48b61c6438 ATR from the flipper zero seader project 2023-07-30 21:21:59 +02:00
iceman1001
9943235e31 updated atr table 2023-07-30 21:20:32 +02:00
iceman1001
708cfca850 add default marking of crc bytes for these protocols 2023-07-30 20:32:56 +02:00
iceman1001
0c98550177 dont mark crc byte everywhere in the alias list. have to set it for those commands that would benefit from it 2023-07-30 17:17:08 +02:00
iceman1001
6df79e3926 missed to remove exclamation mark 2023-07-29 12:44:32 +02:00
iceman1001
97a1f97308 style 2023-07-27 23:42:06 +02:00
iceman1001
d9e867fa28 string formatters 2023-07-27 22:56:41 +02:00
iceman1001
944af6be95 fixed the missing erasing of flash memory bank. 2023-07-27 22:55:58 +02:00
iceman1001
4e6962864a fix loading mifare keys to flash memory, forgot to wipe the new area which we extended to 2023-07-27 22:53:01 +02:00
iceman1001
58f9ba0abf ugly hack to load the signature data if we are on a MFC Ev1 card. First we dont want to trigger the partial read unnecessary and secondly we dont save signature data in our MFC dump file. Need to adapt the JSON format for this 2023-07-27 22:23:33 +02:00
iceman1001
19251645e1 shorten LEN variable to match the available space in string 2023-07-27 20:12:42 +02:00
iceman1001
a44e2fbc36 text 2023-07-27 19:47:11 +02:00
iceman1001
39eecc917e improved the messages reported when loading json files fails. Usually because we have reserved the wrong size memory 2023-07-27 19:38:51 +02:00
iceman1001
8bfb915624 adapt the leftovers 2023-07-27 19:01:46 +02:00
iceman1001
64ea48e7d0 remove fct in header file.\nreverted this decline 2023-07-27 18:57:11 +02:00
iceman1001
8ef1cdbd75 inceased waiting time.. 2023-07-27 18:56:11 +02:00
iceman1001
6ba002725f rmeoved some fct devices side regarding eml get/ set 2023-07-27 18:55:41 +02:00
iceman1001
40533497d3 text 2023-07-27 18:50:41 +02:00
iceman1001
3b91c1a47f text 2023-07-27 18:50:19 +02:00
iceman1001
5faf625032 adapt name to match code style 2023-07-27 18:02:53 +02:00
iceman1001
d9f2d5287e maybe the return codes are wrong in legic sim now 2023-07-27 16:46:52 +02:00
iceman1001
7440e617e0 add stupid extra checks to see why this code overflows on pentoo... 2023-07-27 16:26:36 +02:00
iceman1001
795745ea32 text 2023-07-27 14:20:37 +02:00
iceman1001
42700d3c51 skip sector 16 at all since it seems to always be locked down even if the keys authenticate. MFC Ev1 related and less errrors in autopwn when running against a MFC Ev1 in the dumping phase 2023-07-27 12:40:04 +02:00
iceman1001
dc199b62ca text 2023-07-27 12:38:40 +02:00
iceman1001
96944aec69 reinstate less checks of data_available 2023-07-27 12:37:42 +02:00
iceman1001
7f5590d942 checks 2023-07-27 01:15:31 +02:00
iceman1001
a57cfdde70 size? 2023-07-27 01:12:08 +02:00
iceman1001
e1e4133564 coverity string formatter 2023-07-27 01:11:47 +02:00
iceman1001
123ef14667 style 2023-07-26 23:50:12 +02:00