hashcat.git
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.

7 years agoUpdate wording on some warning messages.
radix [Sun, 19 Jun 2016 18:42:22 +0000 (13:42 -0500)]
Update wording on some warning messages.

7 years agoMerge pull request #379 from 0xbsec/patch-1
Jens Steube [Sun, 19 Jun 2016 16:42:25 +0000 (18:42 +0200)]
Merge pull request #379 from 0xbsec/patch-1

Removed duplicate rule 'cl' & 'l'

7 years agoMerge pull request #378 from dropdeadfu/master
Jens Steube [Sun, 19 Jun 2016 16:41:56 +0000 (18:41 +0200)]
Merge pull request #378 from dropdeadfu/master

Cleaned log output

7 years agoRemoved duplicate rule 'cl' & 'l'
M. Hasbini [Sun, 19 Jun 2016 15:59:37 +0000 (18:59 +0300)]
Removed duplicate rule 'cl' & 'l'

'cl' will have the same effect as 'l', so I removed 'cl'.

7 years agoCleaned log output
dropdead [Sun, 19 Jun 2016 14:36:41 +0000 (16:36 +0200)]
Cleaned log output

7 years agoIncrease --stdout output performance
jsteube [Sun, 19 Jun 2016 13:58:52 +0000 (15:58 +0200)]
Increase --stdout output performance

7 years agoAdd missing -m 2000 kernels
jsteube [Sun, 19 Jun 2016 12:37:47 +0000 (14:37 +0200)]
Add missing -m 2000 kernels

7 years agoSpeed up startup time for --stdout by using an empty kernel
jsteube [Sun, 19 Jun 2016 12:33:50 +0000 (14:33 +0200)]
Speed up startup time for --stdout by using an empty kernel

7 years agoSome optical change on startup
jsteube [Sun, 19 Jun 2016 10:55:03 +0000 (12:55 +0200)]
Some optical change on startup

7 years agoFix https://github.com/hashcat/oclHashcat/issues/374
jsteube [Sun, 19 Jun 2016 08:08:55 +0000 (10:08 +0200)]
Fix https://github.com/hashcat/oclHashcat/issues/374
Fix https://github.com/hashcat/oclHashcat/issues/375

7 years agoFixed some macros
jsteube [Sat, 18 Jun 2016 19:56:19 +0000 (21:56 +0200)]
Fixed some macros

7 years agoReenable --gpu-temp-retain (65c by default), now that we have fan set support on...
jsteube [Sat, 18 Jun 2016 19:29:24 +0000 (21:29 +0200)]
Reenable --gpu-temp-retain (65c by default), now that we have fan set support on Linux and Windows

7 years agoAdded --gpu-temp-retain support for windows through nvapi
jsteube [Sat, 18 Jun 2016 16:21:40 +0000 (18:21 +0200)]
Added --gpu-temp-retain support for windows through nvapi

7 years agoCheck permission to set fan speed before actually doing it, otherwise X11 becomes...
jsteube [Sat, 18 Jun 2016 12:42:57 +0000 (14:42 +0200)]
Check permission to set fan speed before actually doing it, otherwise X11 becomes mad and drops the connection

7 years agoDo not try to set fanspeed if connection to X11 failed
jsteube [Sat, 18 Jun 2016 09:26:51 +0000 (11:26 +0200)]
Do not try to set fanspeed if connection to X11 failed

7 years agoAdded support for XNVCTRL on Linux to add support for --gpu-temp-retain for NVidia GPU
jsteube [Sat, 18 Jun 2016 08:59:58 +0000 (10:59 +0200)]
Added support for XNVCTRL on Linux to add support for --gpu-temp-retain for NVidia GPU

7 years agoHacked hashcat.hctune for GTX1080 is no longer needed as NV fixed the device name...
jsteube [Fri, 17 Jun 2016 08:44:13 +0000 (10:44 +0200)]
Hacked hashcat.hctune for GTX1080 is no longer needed as NV fixed the device name bug in the driver

7 years agoAdd commandline support to override cpu spinning damper for nvidia runtime
jsteube [Thu, 16 Jun 2016 05:46:24 +0000 (07:46 +0200)]
Add commandline support to override cpu spinning damper for nvidia runtime

7 years agosave_hash() always works with a file, therefore no branch required
Jens Steube [Wed, 15 Jun 2016 10:17:18 +0000 (12:17 +0200)]
save_hash() always works with a file, therefore no branch required

7 years agoMerge branch 'master' of https://github.com/hashcat/oclHashcat
Jens Steube [Wed, 15 Jun 2016 10:10:38 +0000 (12:10 +0200)]
Merge branch 'master' of https://github.com/hashcat/oclHashcat

7 years agoThis patch should remove a bottleneck causing slow writing performance of hash files...
Jens Steube [Wed, 15 Jun 2016 10:10:09 +0000 (12:10 +0200)]
This patch should remove a bottleneck causing slow writing performance of hash files which can be annoying when using --remove in combination with large hashlists

7 years agoAdded option --stdout to print candidates instead of trying to crack a hash
jsteube [Tue, 14 Jun 2016 19:49:33 +0000 (21:49 +0200)]
Added option --stdout to print candidates instead of trying to crack a hash

7 years agoUpdate hashcat.hctune to use vector > 1 for NV cards only in BF because of register...
jsteube [Tue, 14 Jun 2016 16:51:58 +0000 (18:51 +0200)]
Update hashcat.hctune to use vector > 1 for NV cards only in BF because of register pressure