1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-17 04:08:34 +00:00
Commit Graph

1696 Commits

Author SHA1 Message Date
Jens Steube
346400f518 Add missing continue 2016-07-12 12:01:55 +02:00
jsteube
e56a4e9c60 Workaround OpenCL runtimes that do not accept -I parameter in the OpenCL kernel build options even if this is an OpenCL standard option 2016-07-11 23:45:25 +02:00
jsteube
e2dbaa6efa Do not error and exit if an OpenCL platform has no devices, just print a warning and continue with the next platform 2016-07-11 17:15:57 +02:00
Jens Steube
f1cd53e335 Globally fix return parameter handling to not use brackets 2016-07-11 14:45:17 +02:00
Jens Steube
6ba0eb8b39 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
2016-07-10 13:23:06 +02:00
jsteube
3fa2d10914 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
2016-07-09 14:35:38 +02:00
Jens Steube
e7214abee3 Do not remove *.dictstat with make clean 2016-07-09 09:54:11 +02:00
jsteube
49f693a1c9 Replace LINUX macro with compiler predefined macro __linux__ 2016-07-08 23:23:16 +02:00
jsteube
96f2ade4bb Replace DARWIN macro with __APPLE__
As discussed on https://github.com/hashcat/hashcat/pull/409
2016-07-08 23:14:57 +02:00
jsteube
2043338859 Rewrite some code to workaround strict aliasing rule violation for older compilers
Rewrite some variable initializers on older compilers
2016-07-08 22:57:27 +02:00
Jens Steube
baea682491 Missing save of original platform id 2016-07-08 14:46:44 +02:00
Jens Steube
d77c63a12c Merge branch 'master' of https://github.com/hashcat/hashcat 2016-07-08 14:39:15 +02:00
Jens Steube
5909bbb7b7 Make use of cl_context_properties[] to clCreateContext(), even if OpenCL specification allow the use of NULL, some runtimes fail without 2016-07-08 14:38:57 +02:00
Jens Steube
7350f38bc4 Merge pull request #426 from philsmd/master
fixes -m #424: problem removing multiple already found WPA hashes
2016-07-08 14:33:10 +02:00
Jens Steube
72abe90e10 Merge pull request #421 from lifanov/freebsd-port
FreeBSD support
2016-07-08 14:32:59 +02:00
philsmd
6eec6d42f5
fixes -m 424: problem removing multiple already found WPA hashes 2016-07-08 12:38:49 +02:00
Nikolai Lifanov
6e04a52e53 enable path resolution on FreeBSD 2016-07-06 10:33:46 -04:00
Nikolai Lifanov
54ebe1fe23 fix get_path_exe: not sure what I was thinking 2016-07-06 10:20:46 -04:00
Nikolai Lifanov
1a3b610601 add tty handling for FreeBSD 2016-07-06 08:42:53 -04:00
Nikolai Lifanov
c2bcdbebcb implement thread affinity for FreeBSD 2016-07-06 08:24:09 -04:00
Jens Steube
450b779b91 Merge pull request #419 from philsmd/master
fixed problem where hashcat did not remove WPA/WPA2 hashes found in potfile
2016-07-06 10:17:14 +02:00
philsmd
a5700bf4ef
fixed problem where hashcat did not remove WPA/WPA2 hashes found in potfile 2016-07-06 10:05:34 +02:00
Nikolai Lifanov
883bc202db implement get_exec_path for FreeBSD 2016-07-05 15:43:03 -04:00
Nikolai Lifanov
3d3d212595 FreeBSD also needs stdio.h 2016-07-05 15:16:24 -04:00
Nikolai Lifanov
f1960ec73c use native compiler on FreeBSD 2016-07-05 15:14:11 -04:00
Nikolai Lifanov
a2663fb93a include the right cl.h on FreeBSD 2016-07-05 15:12:05 -04:00
Nikolai Lifanov
dd66aba33f Revert "make native build play well with external build systems"
This reverts commit 61efadb684.
2016-07-05 15:09:40 -04:00
Nikolai Lifanov
61efadb684 make native build play well with external build systems 2016-07-05 14:59:46 -04:00
Nikolai Lifanov
4a598af78c add FreeBSD Makefile target 2016-07-05 14:58:28 -04:00
Jens Steube
91b0cbcc5a Merge pull request #417 from philsmd/master
this fixes #400: --loopback was not working
2016-07-05 15:15:12 +02:00
philsmd
f326c5de4c Merge remote-tracking branch 'upstream/master'
Conflicts:
	docs/changes.txt
2016-07-05 15:13:45 +02:00
philsmd
067c0b8e83
this fixes #400: --loopback was not working 2016-07-05 15:00:26 +02:00
Jens Steube
69e3e39568 Merge pull request #415 from anthraxx/master
extend global CFLAGS and LDFLAGS to aid distro packaging
2016-07-05 09:22:36 +02:00
jsteube
dc9696bc3f Make scrypt thread count fixed only for non-CPU OpenCL devices 2016-07-04 21:41:20 +02:00
jsteube
fc2b20b273 Fixed a bug where hashcat crashes in case of a scrypt P setting > 1 2016-07-04 21:13:23 +02:00
anthraxx
7f8aaf7430 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.
2016-07-04 21:01:51 +02:00
Jens Steube
30919d4641 Merge pull request #413 from philsmd/master
special case handling for commas within masks of .hcmask file
2016-07-04 14:03:55 +02:00
philsmd
d0f924580f
special case handling for commas within masks of .hcmask file 2016-07-04 12:47:16 +02:00
Jens Steube
362cb054a6 Merge pull request #409 from joshdekock/patch-2
hashcat.c: change osx to OSX use shared_dir
2016-07-04 09:18:05 +02:00
Jens Steube
73f05240bd Merge pull request #407 from joshdekock/patch-1
Fix makefile on OSX
2016-07-04 09:15:24 +02:00
Josh de Kock
3db9be6eda hashcat.c: change osx to OSX use shared_dir
Fixes #408
2016-07-02 00:48:56 +01:00
Josh de Kock
86cf95e878 Makefile: remove .app for OSX 2016-07-02 00:11:37 +01:00
Josh de Kock
75a38b2e2e Makefile: fix sed on OSX
sed on OSX doesn't have -r so default to the usage of GNU sed
2016-07-02 00:08:12 +01:00
jsteube
b58f7a4675 Fixed a bug where hashcat crashes for accessing deallocated buffer if user spams "s" shortly before hashcat shuts down 2016-07-01 13:04:50 +02:00
jsteube
ad00844b26 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
2016-07-01 13:01:02 +02:00
jsteube
7b84980e4b 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
2016-07-01 11:24:02 +02:00
Jens Steube
484477dfbd Merge pull request #404 from philsmd/master
cosmetic: fix parenthesis of the help output
2016-07-01 10:07:59 +02:00
philsmd
4ee4794412
cosmetic: fix parenthesis of the help output 2016-07-01 09:57:41 +02:00
Jens Steube
ede4cfdc3b Merge pull request #401 from philsmd/master
test: fixed verify for -m 13100, -m 13200, -m 13300 and -m 13400
2016-07-01 09:40:43 +02:00
philsmd
567923966b
test: fixed verify for -m 13100, -m 13200, -m 13300 and -m 13400 2016-06-30 18:40:36 +02:00