1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-24 07:28:10 +00:00
Commit Graph

412 Commits

Author SHA1 Message Date
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
jsteube
95b420dfb4 Use special CFLAGS for LZMA compile 2018-08-06 21:50:01 +02:00
jsteube
634dd71384 Remove some suppressed warnings 2018-08-06 21:04:48 +02:00
jsteube
1d7e1ba7e5 Unset PRODUCTION 2018-08-03 22:42:09 +02:00
jsteube
bdec457951 TrueCrypt/VeraCrypt cracking: Do an entropy check on the TC/VC header on start 2018-07-31 16:18:45 +02:00
Jens Steube
0e2c94c695
Merge pull request #1635 from RAN1/master
Add macOS library install pathnames
2018-07-29 15:30:17 +02:00
RAN1
276538b141 Use only library install path for macOS library 2018-07-27 13:55:51 -04:00
jsteube
cc390f200e Fix typo 2018-07-27 16:02:05 +02:00
RAN1
5bfdf79ed8 Add macOS library install pathnames 2018-07-24 19:04:20 -04:00
RAN1
fa75e85896 Fix shared install on macOS 2018-07-23 17:09:37 -04:00
jsteube
2530f83029 Move LZMA SDK files into separate folder for compiling 2018-07-23 13:36:23 +02:00
jsteube
81f909e229 Prepare for v4.2.0 release 2018-07-23 12:12:33 +02:00
Jens Steube
f6cfcbbc3a
Merge pull request #1529 from yarda/system-lzma-sdk
Add support for building with system lzma-sdk
2018-03-03 18:37:29 +01:00
magnum
a3759d77cf Fix a problem with 'make install' on macOS if user has a GNU sed before
the native one in PATH (we would end up giving incompatible options).

Also omit the '-s' in LFLAGS for macOS, the linker just warns about that
option being obsolete and ignored.
2018-02-28 16:48:13 +01:00
jsteube
83f07febfc Initial v4.1.1 deverloper mode commit 2018-02-28 11:25:23 +01:00
Jaroslav Škarvada
83ce54a736
Add support for building with system lzma-sdk
Fixes: #1528

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2018-02-28 11:21:46 +01:00
jsteube
09261dad0e Prepare for v4.1.0 release 2018-01-30 11:24:21 +01:00
jsteube
01a7476ff8 Link hashcat native binary with -lrt to workaround problems with clock_gettime() on libc versions < 2.17 2018-01-26 23:24:01 +01:00
jsteube
213de0ba43 Simplify production versioning and fix variable content if there's no git installed 2018-01-26 23:15:11 +01:00
jsteube
084eed0a0d Moved some gcc options around to different places in Makefile 2018-01-26 20:04:32 +01:00
TomasKorbar
8222b361f1 Modified makefile to add soname for libhashcat
closes #1496
2018-01-26 19:03:56 +01:00
jsteube
e21779112f Fix some tabs in Makefile 2018-01-26 16:29:03 +01:00
philsmd
caa5c052ec
Makefile: disallow running 'make install' on windows systems (including cygwin/msys etc) 2018-01-26 08:20:12 +01:00
philsmd
0b79d65682
Makefile: fixed whitespace by using spaces instead of tabs where possible 2018-01-26 07:58:45 +01:00
jsteube
7c1fb0140c Files: Copy include/ folder and its content to case SHARED is set to 1 in Makefile 2018-01-18 12:09:51 +01:00
Gabriele Gristina
43ce4f6135 Add checks for clock_gettime() support in Makefile 2017-12-26 14:09:30 +01:00
Rosen Penev
1c5915cae3 remove special time handling in hashcat.
There's a way to get 64-bit time_t and 64-bit stat in MinGW, so use that.
2017-12-09 16:40:45 -08:00
jsteube
b864fa5ba7 Removed option --gpu-temp-retain that tried to retain GPU temperature at X degrees celsius, please use driver specific tools
Removed option --powertune-enable to enable power tuning, please use driver specific tools
2017-12-01 15:19:10 +01:00
jsteube
4b5110281d Unset production flag during development phase 2017-11-07 10:28:16 +01:00
jsteube
f2ea05ca69 Final v4.0.1 commit 2017-11-07 10:15:03 +01:00
philsmd
d93b591dc5
cosmetic: updated comment about VERSION_EXPORT 2017-11-06 13:00:05 +01:00
philsmd
7825846e00
for 1414: add dependency on the shared root folder, fix parallel builds 2017-11-06 12:46:56 +01:00
Jens Steube
e6978c23c0
Merge pull request #1408 from neheb/patch-2
Switch debug to -Og
2017-10-28 13:38:48 +02:00
philsmd
c06c5ddd48
fixes #1412: sed for VERSION_EXPORT fixed compilation problem 2017-10-28 13:28:07 +02:00
jsteube
0ac3dcbf76 Unset production flag during development phase 2017-10-28 12:17:58 +02:00
Rosen Penev
8d4b08b3ab Switch debug to -Og
Og provides a more realistic debugging experience compared to -g (which uses the highly inefficient O0)
2017-10-27 00:08:56 -07:00
jsteube
c6d7fc845d Restore VERSION_TAG in Makefile 2017-10-26 13:31:21 +02:00
philsmd
1030f5b44e
fixes #1403: fixed extraction of the version number for archives without .git dir 2017-10-24 13:34:01 +02:00
jsteube
d0f5c9f2b3 Rename MacOS to macOS 2017-10-20 13:36:47 +02:00
jsteube
980f04a7b6 Rename instances of OSX to MacOS 2017-10-20 11:58:31 +02:00
jsteube
6c16b7f3ee Version tag rc6 2017-10-17 12:30:39 +02:00
jsteube
dae6bc8657 Version tag rc5 2017-10-14 12:55:52 +02:00
jsteube
d64f6e0912 Version tag rc4 2017-10-10 14:43:11 +02:00
jsteube
f55350584f Version tag rc3 2017-10-10 11:37:08 +02:00
jsteube
822ae7b9a9 RC2 2017-10-01 17:17:48 +02:00
Jens Steube
4a4eb0ef7f Merge pull request #1376 from neheb/make
Deny warnings with -Wno instead of commenting them out.
2017-09-29 11:33:04 +02:00
Rosen Penev
190fc9bf17 Deny warnings with -Wno instead of commenting them out.
Ease of use change. I usually replace -W with -Weverything and silencing these warnings involves adding a bunch of -Wno.

Also sorted alphabetically.
2017-09-27 20:04:21 -07:00
philsmd
48f153b5e2
typo in Makefile 2017-09-21 14:17:16 +02:00
jsteube
036d4874c7 Update version numbers to v4.0.0-RC1 2017-09-20 16:06:27 +02:00
jsteube
2517292ac1 Removed option --weak-hash-check (zero-length password check) to increase startup time, it also causes many Trap 6 error on OSX 2017-09-19 12:04:05 +02:00
jsteube
e47506c610 Use pure kernel rule engine for --stdout 2017-08-12 12:11:48 +02:00
Jens Steube
4833d6c4d7 Fix Makefile and test.sh script 2017-07-14 14:18:59 +02:00
jsteube
c4098e2230 Fix invalid use of a non-vector function from within a vector function 2017-07-14 14:16:48 +02:00
jsteube
8abd7ae9d1 Fix some old GCC compiler warnings 2017-07-06 10:35:25 +02:00
jsteube
83d5302256 Fix install makefile target for use with hashcat.hcstat2 2017-06-24 10:50:39 +02:00
Jens Steube
08fc0ec1fb Added self-test funcionality for OpenCL kernels on startup
Fixed a parser error for mode -m 9820 = MS Office <= 2003 $3, SHA1 + RC4, collider #2
2017-06-13 19:07:08 +02:00
jsteube
9a8f4036ec Set github master back into development mode 2017-06-10 13:02:20 +02:00
Jens Steube
acd93cf780 Mark release for production 2017-06-09 17:37:01 +02:00
Jens Steube
086a07264a Switch from libiconv to win-iconv 2017-04-19 12:58:25 +02:00
Jens Steube
79609e8a54 Building: On binary release package, link libiconv static for windows binaries 2017-04-19 10:51:28 +02:00
Pierre-Antoine Haidar-Bachminska
4e30ec5489 Fix compilation error on macOs (missing iconv linking) 2017-04-14 18:54:34 +02:00
Jens Steube
7cabb848d2 Wordlist encoding: Support added for internal convert from and to user-defined encoding during runtime
Wordlist encoding: Added parameters --encoding-from and --encoding-to to configure wordlist encoding handling
Dictstat: Structure for dictstat file changed as it has to include --encoding-from and --encoding-to parameter now
2017-04-14 16:36:28 +02:00
sgroat
21efc80975 fix string 2017-04-10 13:35:01 -07:00
magnum
ba0b2ee641 Ensure 'make clean' is a safe operation (eg. do not remove output and
session files). Add a 'make distclean' target for removing such files
as well. Closes #1218.
2017-04-06 11:39:29 +02:00
jsteube
67159b1936 Update Makefile: we're currently not in PRODUCTION=1 phase 2017-03-07 13:11:09 +01:00
Rosen Penev
df3c2e712e
Change c99 to gnu99. _GNU_SOURCE conflicts with c99 2017-03-04 18:51:46 -08:00
jsteube
5f58a25dcc Building: Removed compiler option -march=native as this created problems for maintainers on various distributions 2017-02-20 18:45:04 +01:00
jsteube
778f568d91 Prepare for v3.40 release 2017-02-17 18:28:16 +01:00
philsmd
2436972623
always use the native sed (not gsed) for OSX, #1036 2017-02-11 14:18:42 +01:00
Jens Steube
5d42f47c73 Merge pull request #1036 from gum0x/master
make install error on MacOS Sierra
2017-02-11 14:06:07 +01:00
jsteube
06c184aeea Do not use NULL for va_* variadic functions 2017-02-11 11:51:46 +01:00
Jens Steube
79513ce226 Building: Replaced linking of CRT_glob.o with the use of int _dowildcard 2017-02-09 10:42:35 +01:00
gum0x
f92d454ac0 Ident corrections 2017-02-09 01:56:20 +01:00
gum0x
5e52f20867 * Added Darwin OS version conditional in order to use sed instead of gsed if OS version is macOS Sierra (v16).
* Added a SEDOPS variable in order to manage BSD sed command syntax. BSD sed need explicitily especify a parametre for -i option.
2017-02-09 01:49:01 +01:00
Jens Steube
07dd639038 Revert "Adding windows appveyor builds" 2017-02-07 11:56:48 +01:00
Stephen
28d37be94a Update Makefile 2017-02-06 16:18:56 -08:00
Stephen
7826906f58 Update Makefile 2017-02-06 16:00:00 -08:00
jsteube
e0c3f447da Added hash-mode 4520 = sha1($salt.sha1($pass))
Added hash-mode  4522 = PunBB
OpenCL Kernel: Renumbered hash-mode 7600 to 4521
The mode 4520 is the first to support salt length up to 64
2017-01-31 11:44:58 +01:00
Jens Steube
0bea462bcd Fix default compile target on Msys2 2017-01-27 23:12:44 +01:00
jsteube
ac5d274845 Sessions: Move out handling of multiple instance from restore file into separate pidfile 2017-01-27 16:29:18 +01:00
jsteube
9408c2fec8 Fix install target for new SHARED variable in Makefile 2017-01-27 14:59:05 +01:00
jsteube
b7b2f1a79c Building: Add SHARED variable to Makefile to choose if hashcat is build as static or shared binary (using libhashcat.so/hashcat.dll) 2017-01-27 09:58:01 +01:00
jsteube
df0c61bf79 - Building: Split native compilation into two dedicated targets: "hashcat_static" and "hashcat_shared", default is "hashcat_static"
- Building: Removed the use of RPATH on linker level
Fixes https://github.com/hashcat/hashcat/issues/956
2017-01-24 16:07:59 +01:00
philsmd
6fe0173a79
#965: new hook function to support LZMA1/LZMA2 decompression for -m 11600 = 7-Zip 2017-01-24 10:28:35 +01:00