Rosen Penev [Tue, 26 Jul 2016 05:31:50 +0000 (22:31 -0700)]
Fix GCC sign warnings
jsteube [Mon, 25 Jul 2016 20:54:07 +0000 (22:54 +0200)]
Add support for @ rule (RULE_OP_MANGLE_PURGECHAR) to use on GPU
jsteube [Mon, 25 Jul 2016 19:51:04 +0000 (21:51 +0200)]
Slightly increased NVidias rule-processing performance by using generic instructions instead of byte_perm()
jsteube [Sun, 24 Jul 2016 20:26:40 +0000 (22:26 +0200)]
Fixed a bug where hashcat did not take into account how long it takes to prepare a session when auto-aborting with --runtime is in use
jsteube [Sat, 23 Jul 2016 21:30:42 +0000 (23:30 +0200)]
Workaround for OpenCL runtimes which do accept -I parameter in the OpenCL kernel build options, but do not allow quotes
jsteube [Thu, 21 Jul 2016 08:06:31 +0000 (10:06 +0200)]
Workaround for OpenCL runtimes which do accept -I parameter in the OpenCL kernel build options, but do not allow quotes
jsteube [Tue, 19 Jul 2016 19:07:30 +0000 (21:07 +0200)]
Some experiment. This should increase rule-based cracking on nvidia slightly
jsteube [Sun, 17 Jul 2016 18:32:47 +0000 (20:32 +0200)]
Output cracked hashes on Windows using \r\n and not \n
Replace RegGetValue() with RegQueryValueEx() to enable Windows XP 32 bit compatibility
This fixes https://github.com/hashcat/hashcat/issues/418
Jens Steube [Fri, 15 Jul 2016 11:30:25 +0000 (13:30 +0200)]
Fixed a bug where hashcat reported an invalid password for a zero-length password in LM
Fixes https://github.com/hashcat/hashcat/issues/434
jsteube [Wed, 13 Jul 2016 09:36:57 +0000 (11:36 +0200)]
Fix for -I parameter workaround, use chdir () before modifying cpath_real
Fixes https://github.com/hashcat/hashcat/issues/432
Jens Steube [Tue, 12 Jul 2016 10:02:14 +0000 (12:02 +0200)]
Merge branch 'master' of https://github.com/hashcat/hashcat
Jens Steube [Tue, 12 Jul 2016 10:01:55 +0000 (12:01 +0200)]
Add missing continue
jsteube [Mon, 11 Jul 2016 21:45:25 +0000 (23:45 +0200)]
Workaround OpenCL runtimes that do not accept -I parameter in the OpenCL kernel build options even if this is an OpenCL standard option
jsteube [Mon, 11 Jul 2016 15:15:57 +0000 (17:15 +0200)]
Do not error and exit if an OpenCL platform has no devices, just print a warning and continue with the next platform
Jens Steube [Mon, 11 Jul 2016 12:45:17 +0000 (14:45 +0200)]
Globally fix return parameter handling to not use brackets
Jens Steube [Sun, 10 Jul 2016 11:23:06 +0000 (13:23 +0200)]
Get rid of exit() calls in OpenCL wrapper library with the goal to have a better control which error can be ignored under special circumstances
Note, not all return codes from some of the subfunctions are uset yet, it would be too much changes at once
This is a preparation for https://github.com/hashcat/hashcat/issues/416
jsteube [Sat, 9 Jul 2016 12:35:38 +0000 (14:35 +0200)]
Allow the use of enc_id == 0 in hash-mode 10600 and 10700 as it takes no part in the actual computation
Fixes https://github.com/hashcat/hashcat/issues/423
Jens Steube [Sat, 9 Jul 2016 07:54:11 +0000 (09:54 +0200)]
Do not remove *.dictstat with make clean
jsteube [Fri, 8 Jul 2016 21:23:16 +0000 (23:23 +0200)]
Replace LINUX macro with compiler predefined macro __linux__
jsteube [Fri, 8 Jul 2016 21:14:57 +0000 (23:14 +0200)]
Replace DARWIN macro with __APPLE__
As discussed on https://github.com/hashcat/hashcat/pull/409
jsteube [Fri, 8 Jul 2016 20:57:27 +0000 (22:57 +0200)]
Rewrite some code to workaround strict aliasing rule violation for older compilers
Rewrite some variable initializers on older compilers
Jens Steube [Fri, 8 Jul 2016 12:46:44 +0000 (14:46 +0200)]
Missing save of original platform id
Jens Steube [Fri, 8 Jul 2016 12:39:15 +0000 (14:39 +0200)]
Merge branch 'master' of https://github.com/hashcat/hashcat
Jens Steube [Fri, 8 Jul 2016 12:38:57 +0000 (14:38 +0200)]
Make use of cl_context_properties[] to clCreateContext(), even if OpenCL specification allow the use of NULL, some runtimes fail without
Jens Steube [Fri, 8 Jul 2016 12:33:10 +0000 (14:33 +0200)]
Merge pull request #426 from philsmd/master
fixes -m #424: problem removing multiple already found WPA hashes
Jens Steube [Fri, 8 Jul 2016 12:32:59 +0000 (14:32 +0200)]
Merge pull request #421 from lifanov/freebsd-port
FreeBSD support
philsmd [Fri, 8 Jul 2016 10:38:49 +0000 (12:38 +0200)]
fixes -m 424: problem removing multiple already found WPA hashes
Nikolai Lifanov [Wed, 6 Jul 2016 14:33:46 +0000 (10:33 -0400)]
enable path resolution on FreeBSD
Nikolai Lifanov [Wed, 6 Jul 2016 14:20:46 +0000 (10:20 -0400)]
fix get_path_exe: not sure what I was thinking
Nikolai Lifanov [Wed, 6 Jul 2016 12:42:53 +0000 (08:42 -0400)]
add tty handling for FreeBSD
Nikolai Lifanov [Wed, 6 Jul 2016 12:24:09 +0000 (08:24 -0400)]
implement thread affinity for FreeBSD
Jens Steube [Wed, 6 Jul 2016 08:17:14 +0000 (10:17 +0200)]
Merge pull request #419 from philsmd/master
fixed problem where hashcat did not remove WPA/WPA2 hashes found in potfile
philsmd [Wed, 6 Jul 2016 08:05:34 +0000 (10:05 +0200)]
fixed problem where hashcat did not remove WPA/WPA2 hashes found in potfile
Nikolai Lifanov [Tue, 5 Jul 2016 19:43:03 +0000 (15:43 -0400)]
implement get_exec_path for FreeBSD
Nikolai Lifanov [Tue, 5 Jul 2016 19:16:24 +0000 (15:16 -0400)]
FreeBSD also needs stdio.h
Nikolai Lifanov [Tue, 5 Jul 2016 19:14:11 +0000 (15:14 -0400)]
use native compiler on FreeBSD
Nikolai Lifanov [Tue, 5 Jul 2016 19:12:05 +0000 (15:12 -0400)]
include the right cl.h on FreeBSD
Nikolai Lifanov [Tue, 5 Jul 2016 19:09:40 +0000 (15:09 -0400)]
Revert "make native build play well with external build systems"
This reverts commit
61efadb6843269e8274ac31f03358bcbbc894e2b.
Nikolai Lifanov [Tue, 5 Jul 2016 18:59:46 +0000 (14:59 -0400)]
make native build play well with external build systems
Nikolai Lifanov [Tue, 5 Jul 2016 18:58:28 +0000 (14:58 -0400)]
add FreeBSD Makefile target
Jens Steube [Tue, 5 Jul 2016 13:15:12 +0000 (15:15 +0200)]
Merge pull request #417 from philsmd/master
this fixes #400: --loopback was not working
philsmd [Tue, 5 Jul 2016 13:13:45 +0000 (15:13 +0200)]
Merge remote-tracking branch 'upstream/master'
Conflicts:
docs/changes.txt
philsmd [Tue, 5 Jul 2016 13:00:26 +0000 (15:00 +0200)]
this fixes #400: --loopback was not working
Jens Steube [Tue, 5 Jul 2016 07:22:36 +0000 (09:22 +0200)]
Merge pull request #415 from anthraxx/master
extend global CFLAGS and LDFLAGS to aid distro packaging
jsteube [Mon, 4 Jul 2016 19:41:20 +0000 (21:41 +0200)]
Make scrypt thread count fixed only for non-CPU OpenCL devices
jsteube [Mon, 4 Jul 2016 19:13:23 +0000 (21:13 +0200)]
Fixed a bug where hashcat crashes in case of a scrypt P setting > 1
anthraxx [Mon, 4 Jul 2016 19:01:51 +0000 (21:01 +0200)]
extend global CFLAGS and LDFLAGS to aid distro packaging
This preserves globally defined CFLAGS and LDFLAGS and simply
extends those variables to aid distro based packaging toolchains
and predefined distro wide defaults like SSP, relro etc.
Jens Steube [Mon, 4 Jul 2016 12:03:55 +0000 (14:03 +0200)]
Merge pull request #413 from philsmd/master
special case handling for commas within masks of .hcmask file
philsmd [Mon, 4 Jul 2016 10:47:16 +0000 (12:47 +0200)]
special case handling for commas within masks of .hcmask file
Jens Steube [Mon, 4 Jul 2016 07:18:05 +0000 (09:18 +0200)]
Merge pull request #409 from joshdekock/patch-2
hashcat.c: change osx to OSX use shared_dir
Jens Steube [Mon, 4 Jul 2016 07:15:24 +0000 (09:15 +0200)]
Merge pull request #407 from joshdekock/patch-1
Fix makefile on OSX
Josh de Kock [Fri, 1 Jul 2016 23:48:56 +0000 (00:48 +0100)]
hashcat.c: change osx to OSX use shared_dir
Fixes #408
Josh de Kock [Fri, 1 Jul 2016 23:11:37 +0000 (00:11 +0100)]
Makefile: remove .app for OSX
Josh de Kock [Fri, 1 Jul 2016 23:08:12 +0000 (00:08 +0100)]
Makefile: fix sed on OSX
sed on OSX doesn't have -r so default to the usage of GNU sed
jsteube [Fri, 1 Jul 2016 11:04:50 +0000 (13:04 +0200)]
Fixed a bug where hashcat crashes for accessing deallocated buffer if user spams "s" shortly before hashcat shuts down
jsteube [Fri, 1 Jul 2016 11:01:02 +0000 (13:01 +0200)]
The Time.Estimated attribute in status display should also show --runtime limit if user set it
This implements https://github.com/hashcat/hashcat/issues/383
jsteube [Fri, 1 Jul 2016 09:24:02 +0000 (11:24 +0200)]
Fixed a bug where hashcat did not check the return of realpath() and crashes uncontrolled if the path does not exist
This fixes https://github.com/hashcat/hashcat/issues/399
Jens Steube [Fri, 1 Jul 2016 08:07:59 +0000 (10:07 +0200)]
Merge pull request #404 from philsmd/master
cosmetic: fix parenthesis of the help output
philsmd [Fri, 1 Jul 2016 07:57:41 +0000 (09:57 +0200)]
cosmetic: fix parenthesis of the help output
Jens Steube [Fri, 1 Jul 2016 07:40:43 +0000 (09:40 +0200)]
Merge pull request #401 from philsmd/master
test: fixed verify for -m 13100, -m 13200, -m 13300 and -m 13400
philsmd [Thu, 30 Jun 2016 16:40:36 +0000 (18:40 +0200)]
test: fixed verify for -m 13100, -m 13200, -m 13300 and -m 13400
jsteube [Thu, 30 Jun 2016 10:03:12 +0000 (12:03 +0200)]
Fix for PR https://github.com/hashcat/hashcat/commit/
69122fb5541575f7f20e1dee855a5f9eab6f57a9 which wasn't complete
Jens Steube [Thu, 30 Jun 2016 06:51:05 +0000 (08:51 +0200)]
Fix a broken url to travis build status
Jens Steube [Thu, 30 Jun 2016 06:48:23 +0000 (08:48 +0200)]
Update changes.txt
Jens Steube [Thu, 30 Jun 2016 06:43:10 +0000 (08:43 +0200)]
Fix https://github.com/hashcat/hashcat/issues/395
Jens Steube [Thu, 30 Jun 2016 06:24:51 +0000 (08:24 +0200)]
Merge pull request #394 from f1rebird/master
Make linux-build POSIX compatible
Moritz Kick [Wed, 29 Jun 2016 16:23:08 +0000 (18:23 +0200)]
Make linux-build POSIX compatible
Also allow it to actually compile on musl-libc systems.
From glibc's termio.h:
/* Compatible <termio.h> for old `struct termio' ioctl interface.
This is obsolete; use the POSIX.1 `struct termios' interface
defined in <termios.h> instead. */
jsteube [Wed, 29 Jun 2016 15:36:38 +0000 (17:36 +0200)]
Remove old beta notes
jsteube [Tue, 28 Jun 2016 09:47:32 +0000 (11:47 +0200)]
Limit scrypt to 64 threads has no performance impact but makes it easier to handle
jsteube [Tue, 28 Jun 2016 09:03:04 +0000 (11:03 +0200)]
Workaround memory allocation limit from OpenCL by using multiple buffers for scrypt
jsteube [Mon, 27 Jun 2016 19:28:48 +0000 (21:28 +0200)]
Dynamic tmp_t length for scrypt
Jens Steube [Mon, 27 Jun 2016 17:13:56 +0000 (19:13 +0200)]
Do our own include-file permission check before an OpenCL runtime fails loading them and erroring out with a confusing error messages like "file not found"
Jens Steube [Mon, 27 Jun 2016 16:51:00 +0000 (18:51 +0200)]
Merge pull request #392 from unix-ninja/master
Various refactor changes
Unix-Ninja [Mon, 27 Jun 2016 12:18:50 +0000 (08:18 -0400)]
Make POSIX limits.h explicit declaration
Unix-Ninja [Mon, 27 Jun 2016 12:13:50 +0000 (08:13 -0400)]
Refactor OSX preprocessor constants to read 'DARWIN'
jsteube [Mon, 27 Jun 2016 10:13:46 +0000 (12:13 +0200)]
Use dedicated variables to control shutdown of parallel threads like keypress and monitoring
Jens Steube [Mon, 27 Jun 2016 07:25:34 +0000 (09:25 +0200)]
Set exhausted status was too late
Jens Steube [Mon, 27 Jun 2016 06:54:45 +0000 (08:54 +0200)]
Fix benchmark devices_status bug
Jens Steube [Sun, 26 Jun 2016 21:39:42 +0000 (23:39 +0200)]
Move macros DGST_R0 - DGST_R3 to host, define dgst_size for opencl kernel from host; both at runtime
jsteube [Sun, 26 Jun 2016 20:59:52 +0000 (22:59 +0200)]
Don't use device_processor_cores for scrypt
jsteube [Sun, 26 Jun 2016 18:41:11 +0000 (20:41 +0200)]
Fix reset to automatic for NvAPI
jsteube [Sun, 26 Jun 2016 18:18:46 +0000 (20:18 +0200)]
Set fanspeed to automatic on shutdown
Increase retain temperature from 65c to 75c; Because GTX1080 hits its reference boost clocks of 1733mhz at 80c
jsteube [Sun, 26 Jun 2016 14:59:56 +0000 (16:59 +0200)]
Disable use of nvmlDeviceSetComputeMode() and nvmlDeviceSetGpuOperationMode() - no advantage of using it
Fix https://github.com/hashcat/oclHashcat/issues/391
jsteube [Sun, 26 Jun 2016 14:29:51 +0000 (16:29 +0200)]
Disable some of NVMLs useless throttle reasons
jsteube [Sun, 26 Jun 2016 14:09:05 +0000 (16:09 +0200)]
Move thread_monitor() to outer threads
jsteube [Sun, 26 Jun 2016 13:55:23 +0000 (15:55 +0200)]
Fix race condition in thread_keypress
jsteube [Sun, 26 Jun 2016 09:15:29 +0000 (11:15 +0200)]
Do not overwrite quit status when user forced it with keypress
jsteube [Sun, 26 Jun 2016 08:01:50 +0000 (10:01 +0200)]
Fix a bug related to --limit
jsteube [Sun, 26 Jun 2016 07:47:02 +0000 (09:47 +0200)]
Fix some devices_status handling
jsteube [Sat, 25 Jun 2016 19:56:18 +0000 (21:56 +0200)]
Add some small section with basic examples to --help; some device status fixes
Jens Steube [Sat, 25 Jun 2016 10:05:16 +0000 (12:05 +0200)]
Move keyspress detecting thread to outer loop
Jens Steube [Sat, 25 Jun 2016 08:37:24 +0000 (10:37 +0200)]
windows path update
Jens Steube [Sat, 25 Jun 2016 08:01:22 +0000 (10:01 +0200)]
Merge pull request #390 from philsmd/master
do not ignore keypress / status changes
philsmd [Sat, 25 Jun 2016 07:55:39 +0000 (09:55 +0200)]
do not ignore keypress / status changes
Jens Steube [Sat, 25 Jun 2016 07:48:57 +0000 (09:48 +0200)]
Merge pull request #388 from unix-ninja/master
Add -D short flag for --opencl-device-types
Unix-Ninja [Fri, 24 Jun 2016 22:08:02 +0000 (18:08 -0400)]
Clean end-of-line output usage (not actually POSIX)
Unix-Ninja [Fri, 24 Jun 2016 21:05:27 +0000 (17:05 -0400)]
Add -D short flag for --opencl-device-types
Jens Steube [Fri, 24 Jun 2016 19:40:11 +0000 (21:40 +0200)]
OSX didn't know about MAX_PATH, had to include limits.h; Use heap not stack memory
Jens Steube [Fri, 24 Jun 2016 19:29:23 +0000 (21:29 +0200)]
Windows doesn't accept escape characters, falling back to old method for windows
Jens Steube [Fri, 24 Jun 2016 14:57:20 +0000 (16:57 +0200)]
Remove workaround with multiple include folders; Instead use a naive escape function