Commit graph

673 commits

Author SHA1 Message Date
Philippe Teuwen fbef3c0a21 Should allow reproducible builds 2024-09-15 14:10:08 +02:00
Philippe Teuwen 17bfed94da mfkey64: abort if key recovery failed 2024-09-15 00:10:21 +02:00
iceman1001 9ebe5ae8dd text 2024-09-14 14:55:23 +02:00
iceman1001 0fe568970b style 2024-09-13 13:44:16 +02:00
Arnaud Rebillout 09bcc13f2b mkversion: Fix readme location
While building proxmark3 in an environment without `git` installed, I
noticed the following errors on stderr:

```
mkversion create test                   env: 'git': No such file or directory
stat: cannot statx '../README.md': No such file or directory
```

The first line "env: 'git': No such file or directory" is expected, as
git is not installed.

However, the second line "stat: cannot statx '../README.md': No such
file or directory" is a real error: we're running from top-level
directory, so the correct path for README.md is just "README.md".
2024-09-13 10:44:39 +07:00
Rick Farina (Zero_Chaos) cd90af34a0
add opencl support to CheckFileExist()
CheckExecute() has a flag to tell it if a check needs opencl support or
not and can automatically disable the check if opencl checks are not
requested.  Mostly copy and paste the same feature into CheckFileExist
and add it where needed.
2024-09-11 16:21:29 -04:00
iceman1001 85ccccdce6 fix missing gitignore 2024-09-10 15:33:26 +02:00
iceman1001 e50459b2c5 style 2024-09-06 22:59:23 +02:00
iceman1001 ca0c662c22 bad char 2024-09-06 10:51:09 +02:00
iceman1001 b05ccae642 text, string formatter, and something still complains in the GH actions 2024-09-06 10:47:08 +02:00
iceman1001 abb8a72bb6 fixes 2024-09-06 10:13:19 +02:00
iceman1001 0b2081ff32 fix bad string formatters, we use calloc 2024-09-06 10:04:48 +02:00
iceman1001 d5015c8ba0 fix bad string formatters and pointer is always NULL no need to check 2024-09-06 10:01:32 +02:00
iceman1001 53c64858ef fix wrong string formatters 2024-09-06 09:58:25 +02:00
iceman1001 183b078969 text 2024-09-06 09:40:37 +02:00
iceman1001 713b6f80c4 fix consts 2024-09-06 09:35:30 +02:00
iceman1001 e7e836e33f fix memleak 2024-09-06 09:33:40 +02:00
iceman1001 68693ae187 adapt test 2024-09-05 22:41:32 +02:00
iceman1001 686ee3138e made a multi threaded version of ht2crack2search since the file lookups should benefit from it. In the friendly competition with @mwalker33 where I think his version beats mine 2024-09-05 22:29:55 +02:00
Philippe Teuwen 28076af96d Add : recovering partial nested authentication with known nT 2024-09-03 23:43:28 +02:00
Philippe Teuwen cce2c8e7ee mf_nonce_brute: allow clear nt. Fix the weird example half working with a clear nt provided as encrypted nt... 2024-09-02 11:38:46 +02:00
Philippe Teuwen 5b6a898fe7 uniformize tools/mfc/card_reader 2024-09-02 11:11:40 +02:00
iceman1001 b5ecdde19e fixes and textual 2024-08-29 12:27:11 +02:00
Philippe Teuwen 06e98f4643 Make mkversion.sh POSIX compliant (dash complains about [[) 2024-08-27 18:48:20 +02:00
douniwan5788 413a17a7a6 feature: Make the FPGA bitstreams working with SKIP_* define.
Now, you can enable at least two of your favorite technologies (such as LF and HF 14443A) attached a standalone mode and still have spare ROM space for other functionalities on a Proxmark3 Easy with a 256KiB ROM.
2024-08-26 20:55:59 +08:00
iceman1001 6a95f16102 style and text 2024-08-25 15:17:02 +02:00
Philippe Teuwen a17507d4d3 MFC authentication protocol example code, that served to generate the paper annexes and could be useful as implementation ref for other researches 2024-08-23 18:08:35 +02:00
douniwan5788 d15537bbf1 Unified hitag naming style 2024-08-22 02:01:43 +08:00
douniwan5788 2527b2a8c3 fix: sha256sum: command not found on macOS 2024-08-20 22:44:00 +08:00
Philippe Teuwen 691e76675a mfc/fudan: add paper ref 2024-08-16 17:46:00 +02:00
Philippe Teuwen b700b1cd08 fix tools compilation with clang 2024-08-14 21:23:43 +02:00
Philippe Teuwen 1e95f70386 fix staticnested_1nt 2024-08-05 20:51:19 +02:00
Philippe Teuwen ee8b9ca74b make style 2024-08-03 21:21:11 +02:00
Philippe Teuwen 1a20cb3e8a staticnested_0nt: better threading, should finish a bit faster 2024-08-03 21:08:29 +02:00
Philippe Teuwen f8ed473aec words 2024-08-02 21:04:23 +02:00
nvx 2432b4282a Fix staticnested_0nt on mingw/proxspace
Fixes keyCount_mutex[0] and keyCounts[0] not being properly initialised
Fixes progress reporting not properly clearing the line
Switch malloc(a*b) style calls to calloc(a, b)
2024-08-02 22:13:04 +10:00
Philippe Teuwen b63c689cf6 fix proxspace compilation issue with staticnested_0nt 2024-08-02 00:35:47 +02:00
Philippe Teuwen 9057371b2c pm3_tests: more staticnested* tests 2024-08-02 00:12:07 +02:00
Philippe Teuwen 045a4c7fc6 staticnested_2x1nt_rf08s: fix malloc bug 2024-08-02 00:10:52 +02:00
Philippe Teuwen c47578c048 sort mfc tools 2024-08-02 00:10:23 +02:00
Philippe Teuwen 4e0d4d3ad4 fix nonce2key example 2024-08-01 15:55:15 +02:00
Philippe Teuwen 78510f33a0 bit of doc... 2024-07-30 17:18:31 +02:00
Philippe Teuwen 7fec0d693c Added few tools to tackle FM11RF08S cards 2024-07-30 16:41:00 +02:00
Philippe Teuwen 30984174db document ST25TN512 KeyID 2024-07-29 11:50:04 +02:00
iceman1001 791d9e09ac write check wrong, write returns number of bytes written, hence always larger than 0. Thanks to @mwalker33 for the fix 2024-07-21 11:37:47 +02:00
iceman1001 8ee0df159d fix output 2024-07-12 15:41:45 +02:00
iceman1001 30c4f0a924 text 2024-07-11 11:04:40 +02:00
iceman1001 05b50a6c26 fix #2418 - the tool mf_nonce_brute has in some odd cases when bruteforcing the last upper 16 bits a chance of actually decrypt the four bytes into a valid mifare classic protocol command with a valid ISO14443-a CRC. See github issue for example.\n We now bruteforce all 0xFFFF keyspace and keep track of how many candidates was found. The output has been improved to help user in this case too. 2024-07-11 10:57:19 +02:00
iceman1001 6e6d00505f added the tears_for_fears.py script by Pierre Granier 2024-06-06 14:45:06 +02:00
iceman1001 98acac3fc2 fix unused warning 2024-05-28 09:52:27 +02:00