Commit graph

483 commits

Author SHA1 Message Date
Philippe Teuwen
d7e16ba888 pm3_tests: add mkversion sha256 check. Note: moved from grep to egrep, let's see how OSX reacts... 2022-02-27 22:10:52 +01:00
Philippe Teuwen
4c8b4af337 mkversion: indicate when no sha256 generated 2022-02-27 12:46:55 +01:00
Philippe Teuwen
738963306e mkversion: Change grep by cut because of weird grep behavior on OSX 2022-02-27 12:40:17 +01:00
iceman1001
21f4ff1287 added samples for pk recovery desfire ev2 xl 2022-02-26 20:14:29 +01:00
iceman1001
2671795b8b textual 2022-02-26 17:15:32 +01:00
Iceman
1c6abece54
Merge branch 'master' into sha 2022-02-25 11:42:20 +01:00
Philippe Teuwen
cb209a9b47 mkversion: ignore fpga_version_info as it might be unavailable when mkversion is called by client compilation 2022-02-25 00:01:09 +01:00
iceman1001
2879b23a1c unify text 2022-02-24 17:38:01 +01:00
iceman1001
06ccaf555c coverity cid #386958 - tainted value 2022-02-21 21:41:11 +01:00
Philippe Teuwen
14f62eaa88 armsrc check: skip if no src available; postpone warning 2022-02-17 01:43:41 +01:00
Philippe Teuwen
bbf49ab560 Add a fingerprint of the ARM OS source files to detect when a client expects another ARM image 2022-02-17 01:43:39 +01:00
Philippe Teuwen
d0526d3ba9 Remove mkversion.pl 2022-02-17 01:43:00 +01:00
Philippe Teuwen
c2092ee2ed make style 2022-02-17 01:41:56 +01:00
iceman1001
6d5bb3eace fix compilation 2022-02-16 22:56:38 +01:00
iceman1001
841d8e1b09 missed a file. MIT license 2022-02-16 21:58:01 +01:00
iceman1001
e17b0e43fb mfd_multi_brute, a new tool that targets all crypto modes and six different LCG 2022-02-16 21:44:06 +01:00
Uli Heilmeier
12ed4f1fdf Standalone mode hf_legicsim
Add a standalone mode to simulate Legic Prime dumps stored on flash
2022-02-15 17:26:05 +01:00
Philippe Teuwen
87ac62a869 fix some CodeQL warnings 2022-02-15 15:56:14 +01:00
Philippe Teuwen
0751fbb701 Fix compilation error on mfd_aes_brute 2022-02-14 19:19:08 +01:00
iceman1001
549779d988 textual 2022-02-13 12:19:06 +01:00
Łukasz Jurczyk
0d62e01027
Added new standalone mode lf_em4100rsww 2022-02-10 17:49:58 +01:00
merlokk
3ae9070dd8 make style 2022-02-05 13:32:50 +02:00
iceman1001
df083bffb8 remove cflags 2022-02-03 18:35:29 +01:00
İlteriş Yağıztegin Eroğlu
87400b6156 don't define _POSIX_C_SOURCE in mfd_aes_brute.c if macos
unistd.h in macos has this snippet:

 #if __DARWIN_C_LEVEL >= __DARWIN_C_FULL
 #define _SC_NPROCESSORS_CONF            57
 #define _SC_NPROCESSORS_ONLN            58
 #endif /* __DARWIN_C_LEVEL >= __DARWIN_C_FULL */

__DARWIN_C_FULL is 900000L.

If _POSIX_C_SOURCE gets defined without __DARWIN_C_SOURCE being defined,
__DARWIN_C_LEVEL will be assigned to __DARWIN_C_ANSI, which is 010000L.

Thus this definition will remove _SC_NPROCESSORS_CONF.

If we don't define _POSIX_C_SOURCE, __DARWIN_C_LEVEL will be equal to
__DARWIN_C_FULL, and _SC_NPROCESSORS_CONF will be available.

This commit also includes homebrew and macports prefix definitions for mfd_aes_brute.

Signed-off-by: İlteriş Yağıztegin Eroğlu <ilteris@asenkron.com.tr>
2022-01-31 15:41:06 +03:00
iceman1001
ce74a25d06 use macros instead 2022-01-29 15:12:42 +01:00
iceman1001
1013320aa0 osx needs to link to openssl, since it uses libressl instead 2022-01-29 11:31:18 +01:00
iceman1001
48a872bd52 string formatter 2022-01-29 11:03:30 +01:00
iceman1001
3df14034fe coverity #373452 - tainted value 2022-01-29 10:39:49 +01:00
iceman1001
5b803d2dd4 should fix thread safe call on Mingw (thanks to @gator96100) 2022-01-27 06:10:20 +01:00
Philippe Teuwen
33d3027b70 fix pm3_tests for real 2022-01-26 20:42:11 +01:00
Philippe Teuwen
33860b3689 fix pm3_tests 2022-01-26 20:38:22 +01:00
iceman1001
2bac77a84f add new bruteforce tools for teleno's compasX software 2022-01-26 19:57:10 +01:00
Philippe Teuwen
dee65c8036 recover_pk: better warning if OpenSSL doesn't provide required curve (Fedora I'm looking at you)
cf https://bugzilla.redhat.com/show_bug.cgi?id=1019390#c25
2022-01-09 17:49:46 +01:00
Philippe Teuwen
f11ae25213 Disable ht2crack5gpu as ht2crack5opencl supercedes it and ht2crack5gpu can be difficult to get running on setups supporting OpenCL on more than one Nvidia GPU 2022-01-09 16:34:31 +01:00
Philippe Teuwen
5a4584358c make style 2022-01-09 14:10:26 +01:00
iceman1001
7c8be44dd6 cppcheck stuff 2022-01-09 13:38:16 +01:00
iceman1001
fe9348768d use calloc instead 2022-01-09 00:33:33 +01:00
iceman1001
7c7dfa7d39 cppcheck fix 2022-01-08 15:05:03 +01:00
iceman1001
7b34b210b4 cppcheck fixes 2022-01-08 15:02:16 +01:00
Nate Glaser
169f7dfc47 added build_all_firmware changes 2022-01-07 19:12:13 -05:00
iceman1001
deb48d2311 cppcheck fix const 2022-01-06 21:53:39 +01:00
Philippe Teuwen
ad5e2b46a1 fix tests 2022-01-06 21:00:52 +01:00
Philippe Teuwen
014817f854 Adding AUTHORS and changing licensing terms from 'GPLv2 or later' to 'GPLv3 or later' to comply with components available only under 'GPLv3 or later'. Details:
Initial releases by Jonathan Westhues in 2005-2007 were made under GPL
"either version 2 of the License, or (at your option) any later version"

Since then, a number of dependencies and files were integrated to the project, but under a "GPLv3 or later" license. These components are reveng, desfire_crypto and lrpcrypto. Note that compnents cryptorf, hitag2crack and fpga-xc3s100e are also under GPLv3+ but not bound to the firmware or client source code.

Therefore, we must mechanically upgrade the license of the whole project to GPLv3+, as made possible by the initial licensing terms and as mandated by the inclusion of GPLv3+ code.

Still to do: update each source file header:

    Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
2022-01-06 00:22:44 +01:00
iceman1001
92d4cea919 text.. plus.. the deprecated code is way behind 2022-01-03 22:13:26 +01:00
iceman1001
334e80435a added a ndef test URI 2021-12-26 05:57:22 +01:00
Philippe Teuwen
0379f01d74 checks: Add missing standalone and adapt checklist instructions 2021-12-13 01:06:29 +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
d8e943e03c Change dest dir for build_all_firmwares.sh to avoid confusion 2021-10-12 00:00:46 +02:00
Philippe Teuwen
f125cddc3a pm3_tests: cover cmd/lua/py scripts (python support autodetected) 2021-10-11 22:17:43 +02:00