1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-26 08:28:20 +00:00
Commit Graph

395 Commits

Author SHA1 Message Date
Jens Steube
75d801e1d7 Compile macOS: Fixed makefile target 'clean' to correctly remove *.dSYM folders 2020-07-08 12:48:29 +02:00
philsmd
570d0ac090
Makefile: added .dictstat2, brain files and luks_tests to the distclean target 2020-07-01 10:45:38 +02:00
philsmd
78dd206bf2
Makefile: update clean/distclean targets 2020-06-27 12:37:48 +02:00
Vitaly Zaitsev
d259689e19
Fixed linkage against packaged version of minizip (part of zlib).
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-06-17 16:06:25 +02:00
Vitaly Zaitsev
eb8c398114
Allow GNU/Linux maintainers to select configure options without
patching of Makefile.

Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-06-17 12:50:33 +02:00
Jens Steube
9b3cda2d43 Unset PRODUCTION in src/Makefile 2020-06-17 11:02:04 +02:00
Jens Steube
13e2dec017 hashcat 6.0.0 2020-06-16 17:30:11 +02:00
philsmd
0ef0a1673f
fixes #2162: add -liconv to FreeBSD's Makefile LFLAGS 2020-06-15 14:55:12 +02:00
xambroz
6b253c15c6
Fix debugedit - canonicalization unexpectedly shrank by one character
Hello,
As some paths in the src/Makefile are containing trailing slash "/", this is causing that during compile time some sources get referenced with double "//" in the path. On RHEL7 this causing issue to debugedit and is reported as error during the RPM package build.

Please consider adding this patch to prevent issue with debugedit on RHEL7
if path during compilation contains // in the reference to the file, the debugedit then reports unexpected difference.

This is the sample error messahe from RHEL7 build:
extracting debug info from /builddir/build/BUILDROOT/hashcat-5.1.0-7.20200220git398e068.el7.x86_64/usr/lib64/libhashcat.so.5.1.0
/usr/lib/rpm/debugedit: canonicalization unexpectedly shrank by one character

https://download.copr.fedorainfracloud.org/results/rebus/infosec-rebus/epel-7-x86_64/01248605-hashcat/build.log.gz

diff -ru hashcat-398e06878d6e36460bcd00283d847c723a162be3/src/Makefile hashcat-398e06878d6e36460bcd00283d847c723a162be3.new/src/Makefile

Best regards
Michal Ambroz
2020-02-24 03:17:48 +01:00
Jens Steube
08163501cf Add option to disable cubin cache binaries and moved some redundant kernel load code into specific function 2020-01-31 17:50:53 +01:00
Jens Steube
7672c49f7e gcc: disable picky gcc-8 function pointer warnings 2020-01-14 13:17:45 +01:00
Jens Steube
8039290cd0 Update -m 10700 unstable warning and disable JiT compiler optimization for AMD GPU PRO, too 2020-01-06 13:36:17 +01:00
Jens Steube
4bef41ed1b Update -m 10700 unstable warning and disable JiT compiler optimization in pure kernel mode 2020-01-06 13:24:47 +01:00
philsmd
d07f002337 electrum 4/5: improve speed (rm hook) 2019-12-05 10:43:42 +01:00
Jens Steube
48f60cc0f5 Get rid of cast-function-type warnings on newer GCC 2019-11-27 09:40:47 +01:00
philsmd
31d8445c37 re-enable USE_SYSTEM_LIBSECP256K1 = 1 2019-11-17 13:11:19 +01:00
philsmd
db91fe6981 Added -m 21700 = Electrum 4 and -m 21800 = Electrum 5 2019-11-16 10:48:52 +01:00
Gabriele Gristina
b54ad7981f update repo and re-apply zip patch 2019-07-29 18:42:50 +02:00
Gabriele Gristina
28a04d80b1 remove useless objs from OBJS_ZLIB 2019-06-30 19:28:42 +02:00
Gabriele Gristina
60a683daa8 Hide warning about implicit declaration of function 2019-06-29 15:13:07 +02:00
Gabriele Gristina
e86cbf426a add workaround for zlib with cygwin build (v2) 2019-06-29 14:46:33 +02:00
Gabriele Gristina
9673dedebf Force undef WIDECHAR in cygwin build 2019-06-29 13:48:22 +02:00
Gabriele Gristina
398c89c75c switch almost all FILE ops, potfile is the only missing 2019-06-26 19:06:46 +02:00
Gabriele Gristina
6cb4abd526 Add zlib support v2 2019-06-21 21:56:38 +02:00
Gabriele Gristina
ec41a3f84e switch to /usr/bin/ar 2019-06-21 21:15:59 +02:00
Gabriele Gristina
b75fcef780 Fix fatal OSX build errors 2019-06-20 20:24:12 +02:00
Jens Steube
a01cc28ec6
Merge pull request #2014 from hashcat/master
Backports
2019-05-07 21:48:47 +02:00
philsmd
f45a726376
fixes #2012: add Deflate support for 7-Zip using zlib 2019-05-07 15:31:11 +02:00
Jens Steube
50a6e720ca More OpenCL variables rename 2019-05-02 17:30:46 +02:00
Jens Steube
a6fa7a2749 Add support for some first CUDA module loader 2019-05-02 14:58:52 +02:00
Jens Steube
6fd936b43a Removed --opencl-platforms filter in order to force backend device numbers to stay constant 2019-04-30 16:24:13 +02:00
Jens Steube
e3500ff4aa Add CUDA device attributes to -I 2019-04-30 13:38:44 +02:00
Jens Steube
4045e60021 Add nvrtc wrapper for later use 2019-04-26 10:03:16 +02:00
Jens Steube
4b986de5fb Prepare native CUDA hybrid integration 2019-04-25 14:45:17 +02:00
jsteube
91d9475c11 Plugin refactorization should be finished, no more need for these flags 2019-04-03 20:55:06 +02:00
jsteube
56ecfc3991 No need to risk stability for 400k binary size 2019-04-03 20:52:49 +02:00
jsteube
5951322f72 Testcommit using ar tool in Makefile 2019-04-03 15:37:29 +02:00
jsteube
b8d609ba16 WPA/WPA2 cracking: In the potfile, replace password with PMK in order to detect already cracked networks across all WPA modes 2019-04-02 11:24:22 +02:00
Jens Steube
0fb3b3c83e Declare internal functions in OpenCL kernels as static 2019-03-26 11:03:25 +01:00
jsteube
2bb594b385 Remove add3() from bitops, replaced with the ones in inc_common.cl 2019-03-25 16:40:39 +01:00
jsteube
ecbd4a51c8 Add remaining emu_inc_* sources to Makefile 2019-03-25 16:15:58 +01:00
jsteube
5b667d2c01 Get rid of src/cpu_aes.c, src/cpu_des.c, src/cpu_md5.c and src/cpu_sha256.c 2019-03-25 15:54:58 +01:00
jsteube
fb8a9d7c40 Get rid of cpu_sha1.c 2019-03-25 14:08:59 +01:00
jsteube
66d94b06e4 Get rid of src/rp_kernel_on_cpu.c and src/rp_kernel_on_cpu_optimized.c and use OpenCL emulated kernel version 2019-03-25 12:24:04 +01:00
jsteube
0a6fc35707 Fix includes in Makefile 2019-03-22 21:58:54 +01:00
jsteube
7d4bea41a0 Get rid of OpenCL/inc_hash_constants.h and OpenCL/inc_hash_functions.cl 2019-03-21 23:00:38 +01:00
jsteube
d2d1278bf7 Reenable brain support by default 2019-02-26 15:26:10 +01:00
jsteube
11b1189e53 Fix makefile targets 2019-02-22 21:58:33 +01:00
jsteube
68d6d36761 Binary Distribution: Removed 32 bit binary executeables 2019-02-22 21:36:02 +01:00
jsteube
64540dee37 Limit the compiler threads, otherwise this consumes a lot of memory resources due to the new module sources 2019-02-15 09:24:30 +01:00
jsteube
0c08e2fcab Add missing cpu_sha256 in module linking 2019-02-07 17:14:55 +01:00
jsteube
5779fa9df6 Add missing modules 6800, 11300, 13400 and 13500 2019-01-31 10:39:53 +01:00
jsteube
91f6d7c32e Add -m 99999 module 2019-01-26 21:13:53 +01:00
jsteube
8eb2558a7e Add -m 6211 module and moved some code around 2019-01-26 16:54:29 +01:00
jsteube
b729fe04b7 Add module and unit test for -m 11600 2019-01-25 11:24:17 +01:00
jsteube
4b9b59a3cb Add module 5500 2019-01-21 13:28:52 +01:00
jsteube
4b49ceea46 Fix module suffix on msys 2019-01-20 19:27:54 +01:00
jsteube
7d7c618629 Go back to code linking into modules until there's a better solution 2019-01-20 18:24:54 +01:00
jsteube
4557bcfbd9 Add modules back to default target 2019-01-20 17:18:22 +01:00
jsteube
e493704e5f Add modules to make install target 2019-01-20 12:26:33 +01:00
jsteube
550b9018f9 Add -m 16801 module 2019-01-20 11:28:57 +01:00
jsteube
06a5e736b9 Add -m 500 unit test 2019-01-19 20:09:32 +01:00
jsteube
05b71b6bc0 Get rid of the compiler warnings caused by LZMA SDK 2019-01-18 08:34:36 +01:00
jsteube
f6ea21449b Add -m 5600 module 2019-01-14 16:16:34 +01:00
jsteube
79c8618025 Fix cross-compiled binaries and modules 2019-01-14 15:15:21 +01:00
jsteube
083d6e1fb2 Refresh dynloader management 2019-01-14 10:11:23 +01:00
jsteube
0cd2c5ab35 Use -export_dynamic instead of --export-dynamic on OSX 2019-01-14 09:24:58 +01:00
jsteube
56d7b8ceaa Do not compile modules by default during migration 2019-01-14 09:08:03 +01:00
jsteube
555318f843 Replace -rdynamic with more cross-platform compatible --export-dynamic 2019-01-13 19:34:01 +01:00
jsteube
036e4eba2c Use -rdynamic instead of including sources of depencies for module compilation 2019-01-13 19:16:00 +01:00
jsteube
b71e06fca8 Move module sources to src/modules 2019-01-13 15:28:42 +01:00
jsteube
2d4834b735 Add md5crypt based modules 2019-01-13 00:35:22 +01:00
jsteube
bc22bfee2e Some cleanup 2019-01-12 15:05:33 +01:00
jsteube
74265307fe Automate module interface version management 2019-01-12 00:39:13 +01:00
Gabriele Gristina
7d3fee8a55 Fix Makefile DEBUG flags for OSX, add modules compiles by default 2019-01-08 16:32:27 +01:00
jsteube
73af860f43 Add functionality in test.pl to allow empty hash returns. This is required to enable hash-mode depending password length checks. NTLM supports just 27 characters in optimized mode, but single mode would produce 32, resulting in a non found password 2018-12-21 09:48:51 +01:00
jsteube
ce0e19f185 Compile module as .dll example 2018-12-19 16:18:40 +01:00
jsteube
4028bae578 Use dynloader.c instead of dlopen() directly 2018-12-19 16:09:28 +01:00
jsteube
15f546bc4e Update appveyor to not check dev branch 2018-12-19 15:20:48 +01:00
R. Yushaev
031094552b Add Makefile target 'modules'
Allows to build all shared objects in modules directory using the
command 'make modules'. Also add objects to gitignore.
2018-12-19 14:31:32 +01:00
jsteube
7e1e1d34f8 Use real dlopen() to load the module 2018-12-19 13:43:45 +01:00
Jens Steube
bd37903131 Add hook_size, tmp_size, hook_salt_size 2018-12-14 17:18:17 +01:00
Jens Steube
222d76f01e Replace parse_func() with module_hash_decode() 2018-12-14 12:22:13 +01:00
Jens Steube
55add7c60e The goal of this branch to develop a plugin like interface for hashcat kernels.
The modification of existing core source files to add new hashcat kernels conflicts with the idea of having private hashcat kernel repositories especially when backporting latest hashcat core changes and new features.
The final outcome of this should be a plugin format that does not require modifications on the core soruce files.
Also convert all existing hash-modes to hashcat modules.
We'll start with dynamic loading the modules at runtime rather than linking them at compile time.
This will require some extra code for different OS types but should beneficial on a long term.
This commit add some first ideas of how such modules could look like, however there's no dynamic loading interface yet.
Next steps will be removing all hash-mode depending special code from source files and move them to the modules.
Finally merge with master.
2018-12-06 14:02:10 +01:00
philsmd
2ee7306322
Set github master to non-production mode 2018-12-04 11:54:05 +01:00
Jens Steube
72319875d8 Update version to 5.1.0 2018-12-02 11:58:48 +01:00
Jens Steube
5d5ac1c935 Prepare for on-the-fly keyboard layout substituations required to crack booting TrueCrypt/VeraCrypt volumes 2018-11-15 14:35:51 +01:00
Jens Steube
9edc45e5d8 Fix copy/paste error 2018-11-08 13:23:36 +01:00
Jens Steube
4177e1ee28 Replace gitmodules with files and add support for system-wide libraries 2018-11-08 12:52:06 +01:00
Jens Steube
81a4604964 Set github master to non-production mode 2018-10-31 08:56:15 +01:00
Jens Steube
dc39deba0f Update version to 5.0.0 2018-10-28 16:51:00 +01:00
Jens Steube
d6fe2c7cd4 The hashcat brain 2018-10-28 16:47:13 +01:00
jsteube
32b915fd01 Get rid of some old compiler warning flags in Makefile 2018-10-20 17:35:54 +02:00
Jens Steube
8ca4e46f2c Remove some debugging code 2018-10-20 11:52:27 +02:00
Jens Steube
a4ac370496 Test fix for plain_t in 32 bit mode 2018-10-20 09:46:24 +02:00
Jens Steube
6f8b90a11a Add support for latest OpenCL headers from Khronos 2018-10-14 12:39:11 +02:00
jsteube
5f797147fb Link ws2_32 in order to make use of select() 2018-09-01 14:09:24 +02:00
jsteube
52c52836e3 Add new option --slow-candidates which allows hashcat to generate passwords on-host 2018-09-01 12:31:17 +02:00
jsteube
762e5d5cda Go back into development mode 2018-08-08 23:01:32 +02:00
jsteube
4963357fac Update to v4.2.1 2018-08-07 14:04:04 +02:00