Commit graph

555 commits

Author SHA1 Message Date
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
iceman1001 e8ff188868 added a test for cotag demodulation via data commands 2023-07-21 17:03:23 +02:00
Philippe Teuwen 8c4404134d fix test and add changelog 2023-07-15 23:20:48 +02:00
iceman1001 3f157d63d8 fix text since we changed description of command text 2023-07-10 00:46:12 +02:00
iceman1001 e43f6804a1 style 2023-07-06 22:37:34 +02:00
Alex 9a1f0356a6
Merge branch 'RfidResearchGroup:master' into master 2023-07-03 14:45:52 +02:00
iceman1001 9b2657294a adapt test for indala text changes 2023-06-25 14:51:51 +02:00
The-SamminAter 9f87b6dd9c Add ability to compile on iOS 2023-06-24 17:19:46 -07:00
Thomas f138e54db6 fix: missing includes when building with "gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)" 2023-06-22 22:34:49 +02:00
d18c7db c59bdec4f2 Unified fpga folders 2023-05-30 19:47:27 +02:00
iceman1001 32fcf5e870 make 16 bytes default cols 2023-05-27 17:00:28 +02:00
iceman1001 f5e93c0a1c added a test for ndef signatures 2023-05-05 22:27:00 +02:00
iceman1001 0c9a64438f 256kb version is too large 2023-05-05 10:45:35 +02:00
flamebarke dd28bc8e5d
Update build_all_firmwares.sh
Signed-off-by: flamebarke <39644720+flamebarke@users.noreply.github.com>
2023-05-04 22:29:14 +10:00
iceman1001 70f47aa93e added a new public key found for MIFARE Plus troika cards 2023-03-11 12:02:51 +01:00
iceman1001 c6a8f8cc89 fix test 2023-03-04 21:25:23 +01:00
iceman1001 8f20eed914 fix CID #405232 2023-03-04 20:10:46 +01:00
iceman1001 93d7d46776 fix proxspace build 2023-02-24 20:57:42 +01:00
iceman1001 02a801f665 fix CID #404863 printing 2023-02-23 20:58:45 +01:00
iceman1001 9a2e07e1a8 should fix time_t printing issues 2023-02-23 12:33:24 +01:00
iceman1001 628140fd88 correct string formatter in sscanf 2023-02-21 16:20:34 +01:00
iceman1001 49a475899a time is 64b better to accept the same size input timestamps 2023-02-21 04:40:48 +01:00
iceman1001 d8b286e5f5 adapt to fit GENRIC 256kb firmware images 2023-01-29 18:31:39 +01:00
Philippe Teuwen 2633a54e11 build_all_firmwares.sh: skip NFCBARCODE support for 256kb builds 2023-01-29 15:16:38 +01:00
Philippe Teuwen 248cec793c standalone: respect alphabetical order, else it's a mess to cross-check 2023-01-24 15:34:13 +01:00
Philippe Teuwen 844e6109b8 Add LF_PROX2BRUTE to build_all_firmwares.sh 2023-01-24 15:09:23 +01:00
Philippe Teuwen f54dd925d1 docker & tests 2023-01-15 18:46:35 +01:00
Philippe Teuwen 8d53184c81 shorter long test for mfd_aes_brute 2023-01-15 18:45:40 +01:00
Philippe Teuwen ad87e2051d build_all_firmwares.sh able to build HF_14ASNIFF HF_15SNIFF without flash 2023-01-15 02:34:01 +01:00
Philippe Teuwen 30ae0bf521 make style 2023-01-15 02:24:46 +01:00
Philippe Teuwen 951d6cd218 cppcheck uninitialized vars 2023-01-15 02:23:19 +01:00
Philippe Teuwen eb23028514 cppcheck: add test to avoid dereferncing null pointer 2023-01-15 02:23:19 +01:00
Philippe Teuwen 3936afcca9 cppcheck divide by zero 2023-01-15 02:23:19 +01:00
Philippe Teuwen 8ac8e3d7d0 reduce variable scopes 2023-01-15 02:23:19 +01:00
iceman1001 ad7b18fb2f use env instead 2023-01-14 18:52:59 +01:00