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
Philippe Teuwen
88308ea727
typos
2021-10-10 01:35:45 +02:00
Sophie Brun
8a656da584
Fix the exit code of build_all_firmwares.sh
...
The command " $STATS && ( LANG=C arm-none-eabi-size armsrc/obj/[hl]f_*.o
|grep -v "filename" >> standalones_stats.txt )" is always false when
$STATS is false (by default). So the exit code of the script is "1" and
the build in Kali fails.
2021-10-08 14:43:23 +02:00
Philippe Teuwen
a09612da56
build_all_firmwares: chmod & create dest dir
2021-10-07 00:54:23 +02:00
Philippe Teuwen
d636586e30
Helper script build_all_firmwares.sh
2021-10-06 23:00:20 +02:00
Philippe Teuwen
b455ccedd4
tools gardening
2021-10-06 20:27:55 +02:00
Philippe Teuwen
25d73e832d
typo
2021-10-06 20:06:17 +02:00
Philippe Teuwen
1cc1a3857f
Display git info in pm3_tests.sh only if doable
...
This should fix the need for da550dbec7 (6ab816ab956024f7eb2767197fe7fa5a5d0c5b32)
2021-10-04 21:05:04 +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
Gabriele Gristina
0263b15885
fix crack5opencl queue/threads.c
2021-09-19 02:34:47 +02:00
Philippe Teuwen
ea12d31a31
cppcheck assigned val never used and reduce var scope
2021-09-14 23:29:21 +02:00
Philippe Teuwen
4c00cc5bcf
cppcheck assigned val never used and reduce var scope
2021-09-14 23:00:52 +02:00
iceman1001
405931d565
textual
2021-09-14 19:52:05 +02:00
iceman1001
825fd39b11
added a nfc decode test for vcard
2021-09-10 18:10:54 +02:00
Philippe Teuwen
9f36ce1b9d
cppcheck reduce variable scopes
2021-09-05 23:42:14 +02:00
Philippe Teuwen
0ed190936d
Show source version in the makefile logs
2021-09-05 01:18:42 +02:00
Philippe Teuwen
e79fb92074
Add fpga-xc3s100e and icopyx support
2021-08-21 23:45:46 +02:00
Philippe Teuwen
8280fc3c07
rename global version_information and its struct type
2021-08-21 20:11:22 +02:00
iceman1001
dd5f09287e
adapt test to new output
2021-07-26 17:35:48 +02:00
iceman1001
23bcc7515a
allow some tests to run also under --long
2021-07-09 17:51:08 +02:00
merlokk
65b92e0352
add tests to CI
2021-07-09 15:59:45 +03:00
Philippe Teuwen
3c31ee793d
make style
2021-07-08 09:53:50 +02:00
iceman1001
94236fa02c
added ht_reblay support python scripts (@salmg)
2021-07-07 13:39:52 +02:00
iceman1001
a29282c06c
python script to verify basic status and init of RDV4 device
2021-07-02 20:09:27 +02:00
iceman1001
eed0ca4796
textual
2021-06-24 18:23:10 +02:00
iceman1001
e50c7db17d
fix coverity CID 322762
2021-06-24 18:11:46 +02:00
merlokk
8aee946895
add command hf cipurse test
2021-06-23 18:20:30 +03:00
iceman1001
4e0fe278e4
added two tests for ndef parsing
2021-06-21 10:40:39 +02:00
iceman1001
70709ca0ed
fix coverity CID 349306 - resource leak
2021-06-20 11:13:49 +02:00
merlokk
c5f24a24a4
make style and small fix
2021-06-17 13:44:14 +03:00
Philippe Teuwen
0059cec493
fpga_compress decompress: truncate output files
2021-06-15 10:15:51 +02:00
Philippe Teuwen
339fd909c6
fpga_compress: allow decompression routine to deinterleave output in multiple files
2021-06-07 22:40:42 +02:00
Philippe Teuwen
1f27be076b
make miscchecks
2021-06-04 21:58:38 +02:00
Philippe Teuwen
4c44138557
make style
2021-05-30 14:29:05 +02:00
Philippe Teuwen
90dcccdaca
mf_nonce_brute, several fixes:
...
* Fix suggested in issue #1289 by @datatags
* Fix max count including 0xFFFF (else recovering key ffffffffffff fails)
* Fix help example of partial recovery
* Fix typo in var name
* Reenable regression test in pm3_tests
2021-05-26 17:39:03 +02:00
Philippe Teuwen
1e40db9a35
hitag2crack: support clang
2021-05-22 21:28:50 +02:00
iceman1001
8f9d8fa1bd
textual
2021-05-21 11:50:49 +02:00
Philippe Teuwen
9a00ad0230
rename version.c into version_pm3.c to avoid clash with mbedtls and other future clashes
2021-05-21 00:15:20 +02:00
iceman1001
436fedcbe4
fix coverity CID 344485, 344482, 344481
2021-05-20 10:11:41 +02:00
iceman1001
b822e0e046
fix coverity CID 322764
2021-05-19 10:15:45 +02:00
iceman1001
dfd07ccd69
fix coverity CID 322762
2021-05-19 10:15:10 +02:00
iceman1001
16c43bea2d
fix coverity CID 322671, 322668, and time now is zero padded
2021-05-19 10:13:37 +02:00
Philippe Teuwen
836e0fa206
accept multiple commands on stdin
2021-05-19 01:19:26 +02:00
Philippe Teuwen
a592b349cb
make style
2021-05-18 23:56:11 +02:00
iceman1001
c56d3dd42e
remove unused var
2021-05-16 23:04:48 +02:00
iceman1001
7d151057c2
update test for mf_nonce_brute
2021-05-15 10:49:15 +02:00
iceman1001
65e4d8e1fa
fix thread and clock issues
2021-05-15 10:43:51 +02:00
Philippe Teuwen
0b0ca6142d
remove unused var to avoid warning with gcc 11.1.0
2021-05-13 19:42:59 +02:00
iceman1001
1009c542a4
text
2021-05-07 11:02:29 +02:00
iceman1001
9da0073e0d
cppchecker fixes
2021-05-07 10:51:14 +02:00
iceman1001
2215ac3cb2
add shikra conf based on @NinjaStyle82 patch to the deprecated iceman fork
2021-05-07 08:46:00 +02:00
Philippe Teuwen
41259b8991
fix pm3_tests path to dicts with cmake
2021-05-04 22:57:02 +02:00
iceman1001
dfb4c9094b
added dictionary file tests
2021-05-04 12:00:15 +02:00
iceman1001
851eac8454
missing line...
2021-05-04 10:02:37 +02:00
iceman1001
15f87ae38e
added test for iclass lookup
2021-05-04 09:52:17 +02:00
iceman1001
3bdc9d1832
fix hid test, and spiffed up the output for @doegox pleasure
2021-04-30 11:38:12 +02:00
Philippe Teuwen
a2fa5cbc44
Add fulltext test
2021-04-19 23:12:27 +02:00
Philippe Teuwen
79bf006419
Makefile: remove ROOT_DIR
2021-04-18 18:52:48 +02:00
iceman1001
d2646122e7
style
2021-04-16 17:10:08 +02:00
Philippe Teuwen
4814b67e17
change pm3_tests mf_nonce_brute test
2021-04-16 00:47:57 +02:00
Philippe Teuwen
9ebdce9576
fix hardnested test in pm3_tests
2021-04-16 00:31:00 +02:00
Philippe Teuwen
741cdfc383
typos
2021-04-16 00:21:22 +02:00
iceman1001
62697ca460
text
2021-04-15 22:41:47 +02:00
iceman1001
92bb8d38bc
adapting text
2021-04-15 22:24:20 +02:00
iceman1001
8daf61876d
cleanup
2021-04-09 15:42:06 +02:00
iceman1001
c850b5376d
crack5opencl - textual
2021-04-09 15:41:00 +02:00