hashcat.git
7 years agoGlobally fix return parameter handling to not use brackets
Jens Steube [Mon, 11 Jul 2016 12:45:17 +0000 (14:45 +0200)]
Globally fix return parameter handling to not use brackets

7 years agoGet rid of exit() calls in OpenCL wrapper library with the goal to have a better...
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

7 years agoAllow the use of enc_id == 0 in hash-mode 10600 and 10700 as it takes no part in...
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

7 years agoDo not remove *.dictstat with make clean
Jens Steube [Sat, 9 Jul 2016 07:54:11 +0000 (09:54 +0200)]
Do not remove *.dictstat with make clean

7 years agoReplace LINUX macro with compiler predefined macro __linux__
jsteube [Fri, 8 Jul 2016 21:23:16 +0000 (23:23 +0200)]
Replace LINUX macro with compiler predefined macro __linux__

7 years agoReplace DARWIN macro with __APPLE__
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

7 years agoRewrite some code to workaround strict aliasing rule violation for older compilers
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

7 years agoMissing save of original platform id
Jens Steube [Fri, 8 Jul 2016 12:46:44 +0000 (14:46 +0200)]
Missing save of original platform id

7 years agoMerge branch 'master' of https://github.com/hashcat/hashcat
Jens Steube [Fri, 8 Jul 2016 12:39:15 +0000 (14:39 +0200)]
Merge branch 'master' of https://github.com/hashcat/hashcat

7 years agoMake use of cl_context_properties[] to clCreateContext(), even if OpenCL specificatio...
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

7 years agoMerge pull request #426 from philsmd/master
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

7 years agoMerge pull request #421 from lifanov/freebsd-port
Jens Steube [Fri, 8 Jul 2016 12:32:59 +0000 (14:32 +0200)]
Merge pull request #421 from lifanov/freebsd-port

FreeBSD support

7 years agofixes -m 424: problem removing multiple already found WPA hashes
philsmd [Fri, 8 Jul 2016 10:38:49 +0000 (12:38 +0200)]
fixes -m 424: problem removing multiple already found WPA hashes

7 years agoenable path resolution on FreeBSD
Nikolai Lifanov [Wed, 6 Jul 2016 14:33:46 +0000 (10:33 -0400)]
enable path resolution on FreeBSD

7 years agofix get_path_exe: not sure what I was thinking
Nikolai Lifanov [Wed, 6 Jul 2016 14:20:46 +0000 (10:20 -0400)]
fix get_path_exe: not sure what I was thinking

7 years agoadd tty handling for FreeBSD
Nikolai Lifanov [Wed, 6 Jul 2016 12:42:53 +0000 (08:42 -0400)]
add tty handling for FreeBSD

7 years agoimplement thread affinity for FreeBSD
Nikolai Lifanov [Wed, 6 Jul 2016 12:24:09 +0000 (08:24 -0400)]
implement thread affinity for FreeBSD

7 years agoMerge pull request #419 from philsmd/master
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

7 years agofixed 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

7 years agoimplement get_exec_path for FreeBSD
Nikolai Lifanov [Tue, 5 Jul 2016 19:43:03 +0000 (15:43 -0400)]
implement get_exec_path for FreeBSD

7 years agoFreeBSD also needs stdio.h
Nikolai Lifanov [Tue, 5 Jul 2016 19:16:24 +0000 (15:16 -0400)]
FreeBSD also needs stdio.h

7 years agouse native compiler on FreeBSD
Nikolai Lifanov [Tue, 5 Jul 2016 19:14:11 +0000 (15:14 -0400)]
use native compiler on FreeBSD

7 years agoinclude the right cl.h on FreeBSD
Nikolai Lifanov [Tue, 5 Jul 2016 19:12:05 +0000 (15:12 -0400)]
include the right cl.h on FreeBSD

7 years agoRevert "make native build play well with external build systems"
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.

7 years agomake native build play well with external build systems
Nikolai Lifanov [Tue, 5 Jul 2016 18:59:46 +0000 (14:59 -0400)]
make native build play well with external build systems

7 years agoadd FreeBSD Makefile target
Nikolai Lifanov [Tue, 5 Jul 2016 18:58:28 +0000 (14:58 -0400)]
add FreeBSD Makefile target

7 years agoMerge pull request #417 from philsmd/master
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

7 years agoMerge remote-tracking branch 'upstream/master'
philsmd [Tue, 5 Jul 2016 13:13:45 +0000 (15:13 +0200)]
Merge remote-tracking branch 'upstream/master'

Conflicts:
docs/changes.txt

7 years agothis fixes #400: --loopback was not working
philsmd [Tue, 5 Jul 2016 13:00:26 +0000 (15:00 +0200)]
this fixes #400: --loopback was not working

7 years agoMerge pull request #415 from anthraxx/master
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

7 years agoMake scrypt thread count fixed only for non-CPU OpenCL devices
jsteube [Mon, 4 Jul 2016 19:41:20 +0000 (21:41 +0200)]
Make scrypt thread count fixed only for non-CPU OpenCL devices

7 years agoFixed a bug where hashcat crashes in case of a scrypt P setting > 1
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

7 years agoextend global CFLAGS and LDFLAGS to aid distro packaging
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.

7 years agoMerge pull request #413 from philsmd/master
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

7 years agospecial 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

7 years agoMerge pull request #409 from joshdekock/patch-2
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

7 years agoMerge pull request #407 from joshdekock/patch-1
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

7 years agohashcat.c: change osx to OSX use shared_dir
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

7 years agoMakefile: remove .app for OSX
Josh de Kock [Fri, 1 Jul 2016 23:11:37 +0000 (00:11 +0100)]
Makefile: remove .app for OSX

7 years agoMakefile: fix sed on 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

7 years agoFixed a bug where hashcat crashes for accessing deallocated buffer if user spams...
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

7 years agoThe Time.Estimated attribute in status display should also show --runtime limit if...
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

7 years agoFixed a bug where hashcat did not check the return of realpath() and crashes uncontro...
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

7 years agoMerge pull request #404 from philsmd/master
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

7 years agocosmetic: 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

7 years agoMerge pull request #401 from philsmd/master
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

7 years agotest: 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

7 years agoFix for PR https://github.com/hashcat/hashcat/commit/69122fb5541575f7f20e1dee855a5f9e...
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

7 years agoFix a broken url to travis build status
Jens Steube [Thu, 30 Jun 2016 06:51:05 +0000 (08:51 +0200)]
Fix a broken url to travis build status

7 years agoUpdate changes.txt
Jens Steube [Thu, 30 Jun 2016 06:48:23 +0000 (08:48 +0200)]
Update changes.txt

7 years agoFix https://github.com/hashcat/hashcat/issues/395
Jens Steube [Thu, 30 Jun 2016 06:43:10 +0000 (08:43 +0200)]
Fix https://github.com/hashcat/hashcat/issues/395

7 years agoMerge pull request #394 from f1rebird/master
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

7 years agoMake 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.  */

7 years agoRemove old beta notes
jsteube [Wed, 29 Jun 2016 15:36:38 +0000 (17:36 +0200)]
Remove old beta notes

7 years agoLimit scrypt to 64 threads has no performance impact but makes it easier to handle v3.00
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

7 years agoWorkaround memory allocation limit from OpenCL by using multiple buffers for scrypt
jsteube [Tue, 28 Jun 2016 09:03:04 +0000 (11:03 +0200)]
Workaround memory allocation limit from OpenCL by using multiple buffers for scrypt

7 years agoDynamic tmp_t length for scrypt
jsteube [Mon, 27 Jun 2016 19:28:48 +0000 (21:28 +0200)]
Dynamic tmp_t length for scrypt

7 years agoDo our own include-file permission check before an OpenCL runtime fails loading them...
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"

7 years agoMerge pull request #392 from unix-ninja/master
Jens Steube [Mon, 27 Jun 2016 16:51:00 +0000 (18:51 +0200)]
Merge pull request #392 from unix-ninja/master

Various refactor changes

7 years agoMake POSIX limits.h explicit declaration
Unix-Ninja [Mon, 27 Jun 2016 12:18:50 +0000 (08:18 -0400)]
Make POSIX limits.h explicit declaration

7 years agoRefactor OSX preprocessor constants to read 'DARWIN'
Unix-Ninja [Mon, 27 Jun 2016 12:13:50 +0000 (08:13 -0400)]
Refactor OSX preprocessor constants to read 'DARWIN'

7 years agoUse dedicated variables to control shutdown of parallel threads like keypress and...
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

7 years agoSet exhausted status was too late
Jens Steube [Mon, 27 Jun 2016 07:25:34 +0000 (09:25 +0200)]
Set exhausted status was too late

7 years agoFix benchmark devices_status bug
Jens Steube [Mon, 27 Jun 2016 06:54:45 +0000 (08:54 +0200)]
Fix benchmark devices_status bug

7 years agoMove macros DGST_R0 - DGST_R3 to host, define dgst_size for opencl kernel from host...
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

7 years agoDon't use device_processor_cores for scrypt
jsteube [Sun, 26 Jun 2016 20:59:52 +0000 (22:59 +0200)]
Don't use device_processor_cores for scrypt

7 years agoFix reset to automatic for NvAPI
jsteube [Sun, 26 Jun 2016 18:41:11 +0000 (20:41 +0200)]
Fix reset to automatic for NvAPI

7 years agoSet fanspeed to automatic on shutdown
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

7 years agoDisable use of nvmlDeviceSetComputeMode() and nvmlDeviceSetGpuOperationMode() - no...
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

7 years agoDisable some of NVMLs useless throttle reasons
jsteube [Sun, 26 Jun 2016 14:29:51 +0000 (16:29 +0200)]
Disable some of NVMLs useless throttle reasons

7 years agoMove thread_monitor() to outer threads
jsteube [Sun, 26 Jun 2016 14:09:05 +0000 (16:09 +0200)]
Move thread_monitor() to outer threads

7 years agoFix race condition in thread_keypress
jsteube [Sun, 26 Jun 2016 13:55:23 +0000 (15:55 +0200)]
Fix race condition in thread_keypress

7 years agoDo not overwrite quit status when user forced it with keypress
jsteube [Sun, 26 Jun 2016 09:15:29 +0000 (11:15 +0200)]
Do not overwrite quit status when user forced it with keypress

7 years agoFix a bug related to --limit
jsteube [Sun, 26 Jun 2016 08:01:50 +0000 (10:01 +0200)]
Fix a bug related to --limit

7 years agoFix some devices_status handling
jsteube [Sun, 26 Jun 2016 07:47:02 +0000 (09:47 +0200)]
Fix some devices_status handling

7 years agoAdd some small section with basic examples to --help; some device status fixes
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

7 years agoMove keyspress detecting thread to outer loop
Jens Steube [Sat, 25 Jun 2016 10:05:16 +0000 (12:05 +0200)]
Move keyspress detecting thread to outer loop

7 years agowindows path update
Jens Steube [Sat, 25 Jun 2016 08:37:24 +0000 (10:37 +0200)]
windows path update

7 years agoMerge pull request #390 from philsmd/master
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

7 years agodo not ignore keypress / status changes
philsmd [Sat, 25 Jun 2016 07:55:39 +0000 (09:55 +0200)]
do not ignore keypress / status changes

7 years agoMerge pull request #388 from unix-ninja/master
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

7 years agoClean end-of-line output usage (not actually POSIX)
Unix-Ninja [Fri, 24 Jun 2016 22:08:02 +0000 (18:08 -0400)]
Clean end-of-line output usage (not actually POSIX)

7 years agoAdd -D short flag for --opencl-device-types
Unix-Ninja [Fri, 24 Jun 2016 21:05:27 +0000 (17:05 -0400)]
Add -D short flag for --opencl-device-types

7 years agoOSX didn't know about MAX_PATH, had to include limits.h; Use heap not stack memory
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

7 years agoWindows doesn't accept escape characters, falling back to old method for windows
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

7 years agoRemove workaround with multiple include folders; Instead use a naive escape function
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

7 years agoMerge pull request #387 from philsmd/master
Jens Steube [Fri, 24 Jun 2016 11:57:23 +0000 (13:57 +0200)]
Merge pull request #387 from philsmd/master

cosmetic fix: don't show prompt and warning within the same line

7 years agocosmetic fix: don't show prompt and warning within the same line
philsmd [Fri, 24 Jun 2016 10:55:54 +0000 (12:55 +0200)]
cosmetic fix: don't show prompt and warning within the same line

7 years agoDrop -m 190, no reason to keep it
Jens Steube [Thu, 23 Jun 2016 16:20:55 +0000 (18:20 +0200)]
Drop -m 190, no reason to keep it

7 years agoEvil bug fixed caused by variable-name collision
Jens Steube [Wed, 22 Jun 2016 09:58:00 +0000 (11:58 +0200)]
Evil bug fixed caused by variable-name collision

7 years agoFix invalid error CL_INVALID_VALUE caused by a zero length copy when using large...
Jens Steube [Wed, 22 Jun 2016 09:32:40 +0000 (11:32 +0200)]
Fix invalid error CL_INVALID_VALUE caused by a zero length copy when using large hashlists

7 years agoMerge pull request #385 from NSAKEY/master
Jens Steube [Tue, 21 Jun 2016 12:24:23 +0000 (14:24 +0200)]
Merge pull request #385 from NSAKEY/master

More log message touch-ups.

7 years agoCapitalization.
_NSAKEY [Tue, 21 Jun 2016 11:11:00 +0000 (06:11 -0500)]
Capitalization.

7 years agoAnother trivial log message edit.
_NSAKEY [Tue, 21 Jun 2016 11:09:27 +0000 (06:09 -0500)]
Another trivial log message edit.

7 years agoMerge pull request #384 from NSAKEY/master
Jens Steube [Tue, 21 Jun 2016 11:09:04 +0000 (13:09 +0200)]
Merge pull request #384 from NSAKEY/master

Trivial log message touch-ups.

7 years agoTrivial log message touch-ups.
_NSAKEY [Tue, 21 Jun 2016 11:05:07 +0000 (06:05 -0500)]
Trivial log message touch-ups.

7 years agoFix a race condition in output file handling
jsteube [Tue, 21 Jun 2016 10:25:07 +0000 (12:25 +0200)]
Fix a race condition in output file handling

7 years agoAdd GTX 1070 to tuning database
jsteube [Tue, 21 Jun 2016 09:18:17 +0000 (11:18 +0200)]
Add GTX 1070 to tuning database

7 years agoRemove benchmark info; Better align status display if more than 9 devices
Jens Steube [Tue, 21 Jun 2016 08:39:23 +0000 (10:39 +0200)]
Remove benchmark info; Better align status display if more than 9 devices

7 years agoMerge pull request #380 from usernamestaken/master
Jens Steube [Sun, 19 Jun 2016 18:56:01 +0000 (20:56 +0200)]
Merge pull request #380 from usernamestaken/master

Update wording on some warning messages.