Commit Graph

589 Commits

Author SHA1 Message Date
iceman1001
fbdb268445 QL88 signature Public Key was identified as Manufacture Mifare Classic before. Now added tests and checks.\nnext step is to use the S17/B key to read the signature 2023-11-28 11:00:48 +01:00
Iceman
7d9326c60d Merge pull request #2176 from phreakmonkey/mfkey-pthreads
Fix pthreads on older gcc
2023-11-27 14:54:46 +01:00
iceman1001
c0dc9de43f fix for ultra recovery 2023-11-14 19:25:14 +01:00
K.C. Budd
8bf4e7c25e Fix pthreads on older gcc 2023-11-14 08:22:27 -08:00
Grayson Martin
e65263c73b run make style 2023-11-11 14:32:09 -06:00
Philippe Teuwen
3cb023f560 arraylen 2023-11-11 18:24:34 +01:00
Philippe Teuwen
ba8e90edfd make style 2023-11-11 18:24:34 +01:00
iceman1001
9ed6a3cb6c fix coverity ID 423236, 423235, 423234. Resource leak, use after free, out-of-bounds 2023-11-11 16:43:12 +01:00
iceman1001
da73a2896a text 2023-11-11 15:47:10 +01:00
iceman1001
ecd7f53eda added a staticnested program that uses two different implementations. The Chameleon Ultra impl and PM3 Impl.\nRunning the test script will show how the CU impl has some issues 2023-11-11 15:46:47 +01:00
iceman1001
a36cfbdb1f move keys check to pre-processing 2023-11-11 15:13:14 +01:00
iceman1001
918e11bac4 there are more requirements in all python scripts in this folder.\nneeds to be added if this file shall be relevant 2023-11-10 00:31:00 +01:00
iceman1001
a361118279 fixed checks where the decoded crypto stream compared, added hard coded default keys check, seperate old vs ev1 recovery, simplified thread loops.\nall samples works as expected again. 2023-11-10 00:29:46 +01:00
iceman1001
cd167b4632 added a python3 script that given a folder will try to extract all keys in the dump files and create a unique dictionary text file 2023-11-08 13:50:16 +01:00
iceman1001
1beab7e07b uncomment out 2023-11-07 21:31:25 +01:00
iceman1001
463356469a added test scenario for MIFARE Ultrlight AES. However openssl doesnt handle curve secp192r1. Which is odd because I was sure it did. 2023-11-07 21:20:39 +01:00
iceman1001
68f296cc14 compile for optimized speed execution 2023-11-03 11:36:10 +01:00
iceman1001
e94be650aa clean 2023-11-01 23:21:04 +01:00
iceman1001
c398e20eef macos 2023-11-01 23:20:14 +01:00
iceman1001
865052b4e9 compiler optimizations from user @np0 2023-11-01 23:05:35 +01:00
iceman1001
74347be52c added O3 compiler param 2023-11-01 17:03:10 +01:00
iceman1001
d738f3171c maur, thanks to Randy! 2023-10-16 10:14:38 +02:00
iceman1001
a35960c6d5 silence codegl 2023-10-15 12:47:45 +02:00
iceman1001
0f9f5f116c text 2023-10-15 10:11:27 +02:00
David Driscoll
bc701c8ddc Fixing macOS errors. 2023-10-02 10:31:50 -04:00
iceman1001
1234b08132 adapt to new sim module firmware version 2023-09-28 08:46:04 +02:00
Philippe Teuwen
e2f78edd8c recover_pk.py: more MFP EV1 samples 2023-09-18 09:06:39 +02:00
iceman1001
c73de57320 make sure pthread and atomic isnt called in macOS 2023-09-16 09:51:47 +02:00
iceman1001
22d7adf0c0 getting confused over pthread vs atomic... 2023-09-16 09:32:47 +02:00
iceman1001
908ae0c78c ...confused makefiles stuff 2023-09-15 21:53:52 +02:00
iceman1001
0443a60025 adapt Makefile to use MYxxxx flags instead 2023-09-15 19:08:24 +02:00
iceman1001
c26d33dfd3 forgot to set the var... 2023-09-12 20:47:59 +02:00
iceman1001
774f1c33ef fix atomic on macOS and all platforms 2023-09-12 20:22:04 +02:00
Leopoldo Pla Sempere
7f2433eb8b Fix linking in explicit libatomic devices
My Raspberry Pi Zero with latest Raspberry Pi OS thanks this after commit b17a733

Signed-off-by: Leopoldo Pla Sempere <lpla@dlsi.ua.es>
2023-09-12 09:44:16 +02:00
Philippe Teuwen
87bdbef851 pm3_tests: timings of slow executions and faster aes bruteforce 2023-09-08 11:06:18 +02:00
Philippe Teuwen
3aeb5c493f fix a few cppcheck warnings 2023-09-07 22:28:37 +02:00
Iceman
5a56504fc1 Merge pull request #2091 from nvx/misc_cleanups
Misc cleanups
2023-08-24 08:38:20 +02:00
nvx
8dd963d305 make style 2023-08-24 16:34:33 +10:00
David Driscoll
760bfbb399 Fix macOS errors while building after cryptoRF solvers was added. 2023-08-23 22:05:00 -04:00
startrekdude
0d442d7f19 Add hf_cardhopper standalone mode
Adds the hf_cardhopper standalone mode, as one component of my (Sam Haskins) and
Trevor Stevado's long-range relay attack on ISO 14443-4 Type A protocols, as
presented at DEF CON 31.
2023-08-22 01:10:21 -04:00
iceman1001
456af75b78 lets see if this makes osx happy by guarding the cpp code with defines 2023-08-21 16:10:26 +02:00
iceman1001
0d1b86cc46 added regressiontests for cryptoRF SMA code part 2023-08-21 13:08:08 +02:00
iceman1001
b17a733bdb modified some output and made sure a local state is used for multithreaded. Also added the mod fix from Doegox in sma.cpp 2023-08-21 12:36:02 +02:00
Alex
6947a61d98 Whitespace 2023-08-09 14:30:07 +02:00
iceman1001
c6f2785463 wrong fcloses 2023-08-03 15:33:16 +02:00
iceman1001
33876ea892 adapting fpga_compress to free memory and close file handles in exceptions 2023-08-03 13:01:49 +02:00
iceman1001
a2ea5e3a24 since mkversion doesn generate all the time and only writes to file the sha256, we check the string from --short instead 2023-08-03 07:43:30 +02:00
Philippe Teuwen
cb72897b17 mkversion.sh: now regenerates version_pm3.c (and consequently the binaries) only when needed
and add --force to forcibly regenerate version_pm3.c

and small fixes:
* document mkversion.sh usage
* remove call to mkversion.sh in client/experimental_lib/CMakeLists.txt on release
* remove call to old `mkversion.pl` in bootrom/Makefile
* just in case, mkversion.sh takes care of atomic write of the file
2023-08-03 01:03:24 +02:00
iceman1001
b7900816bd checking if calloc failed 2023-07-24 03:16:18 +02:00
iceman1001
cd2394b472 fix 2023-07-21 17:27:03 +02:00