Commit Graph

126 Commits

Author SHA1 Message Date
Philippe Teuwen 6ba1dd51fa hitag2crack: document some tests for fast checking 2026-02-24 16:48:39 +01:00
Philippe Teuwen 69d26524cd hitag2crack crack3 & crack4 fixed for 32b archs 2026-02-22 14:17:46 +01:00
Philippe Teuwen d8ee084ffe hitag2crack refactor 2026-02-22 13:10:26 +01:00
Philippe Teuwen ca72cc5c88 hitag2crack refactor 2026-02-22 13:04:55 +01:00
Philippe Teuwen 8936f99886 hitag2crack fixes for some archs 2026-02-22 01:47:47 +01:00
Philippe Teuwen 92b78178ec ht2crack2: replace GLIB qsort_r by portable qsort 2025-09-11 16:37:03 +02:00
iceman1001 d3627920cd fix some cppchecker warnings, missing null checks, consts 2025-09-02 22:27:45 +02:00
iceman1001 7414cdf359 fix fct when called with a one byte array 2025-08-29 13:55:50 +02:00
iceman1001 875b3c44b4 unify text - step 1 2025-03-25 10:12:16 +01:00
Philippe Teuwen b2a7a91bbd cppcheck memory leak 2025-03-23 23:38:50 +01: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 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 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
iceman1001 b5ecdde19e fixes and textual 2024-08-29 12:27:11 +02:00
douniwan5788 d15537bbf1 Unified hitag naming style 2024-08-22 02:01:43 +08: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 98acac3fc2 fix unused warning 2024-05-28 09:52:27 +02:00
iceman1001 d3d701f538 the generation of NrAr is used in the regression tests. I readded the old way and if you call the hitag2_gen_nRaR.py with five params, you get the nice commands instead 2024-05-27 15:08:49 +02:00
iceman1001 c8849af5e0 This is the major changes made to the HITAG2 commands. Its heavly based on RFIDLers implementation and its been converted to work with Proxmark3. Special thanks to @kevsecurity for his amazing implementations of the Gone in 360 Seconds paper by Roel, Flavio & Balasch. Thanks to @adamlaurie for his RFIDler project. It wouldnt been doable without it. 2024-04-22 16:20:24 +02:00
iceman1001 1b45112ad0 style 2024-04-22 09:40:50 +02:00
iceman1001 042ba20d58 style 2024-04-22 09:36:42 +02:00
iceman1001 9a73e77d72 style 2024-04-11 22:08:25 +02:00
iceman1001 4e540053e9 style 2024-04-07 11:38:51 +02:00
iceman1001 ab2e3d5179 updated the OpenCL Headers from https://github.com/KhronosGroup/OpenCL-Headers/tree/main/CL. 2024-03-26 15:08:34 +01:00
iceman1001 529d57a181 style 2024-03-25 23:34:53 +01:00
iceman1001 140cc1d957 style 2024-03-25 23:33:44 +01:00
Philippe Teuwen ead228672a crack5opencl: Fix various printf compilation errors when enabling debug macros 2024-01-23 15:10:47 +01:00
Philippe Teuwen 4e29dfa2b5 crack5opencl: Fix MEMORY_FREE_ALL macro, fix segfault 2024-01-23 15:10:07 +01:00
iceman1001 482a6464a2 style. we use calloc 2024-01-07 20:47:07 +01:00
iceman1001 fc54e61890 fix optarg error 2024-01-02 23:23:40 +01:00
Philippe Teuwen 3cb023f560 arraylen 2023-11-11 18:24:34 +01:00
Philippe Teuwen 3aeb5c493f fix a few cppcheck warnings 2023-09-07 22:28:37 +02:00
Alex 6947a61d98 Whitespace 2023-08-09 14:30:07 +02:00
Philippe Teuwen eb23028514 cppcheck: add test to avoid dereferncing null pointer 2023-01-15 02:23:19 +01:00
Doridian 83943aafc8 and done 2022-06-11 16:16:56 -07: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 7b34b210b4 cppcheck fixes 2022-01-08 15:02:16 +01:00
iceman1001 deb48d2311 cppcheck fix const 2022-01-06 21:53:39 +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
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 88308ea727 typos 2021-10-10 01:35:45 +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