hashcat.git
8 years agoPrepare new SIMD code for kernel, -m 0, 10, 20, 1000 should work in -a 3 mode and...
jsteube [Sun, 17 Jan 2016 21:17:50 +0000 (22:17 +0100)]
Prepare new SIMD code for kernel, -m 0, 10, 20, 1000 should work in -a 3 mode and other hopefully stay unaffected

8 years agoMake sure to spawn threads for all devices, even skipped, and then instantly return
jsteube [Sat, 16 Jan 2016 14:12:42 +0000 (15:12 +0100)]
Make sure to spawn threads for all devices, even skipped, and then instantly return

8 years agoFix some code formating
jsteube [Sat, 16 Jan 2016 12:47:43 +0000 (13:47 +0100)]
Fix some code formating

8 years agoMerge pull request #134 from yhfudev/add-cl-error-messages
Jens Steube [Sat, 16 Jan 2016 12:42:34 +0000 (13:42 +0100)]
Merge pull request #134 from yhfudev/add-cl-error-messages

human-readable error message for the OpenCL error codes.

8 years agoFix bug in rule-engine for NV, left shifts and right shifts were switched
jsteube [Sat, 16 Jan 2016 12:34:54 +0000 (13:34 +0100)]
Fix bug in rule-engine for NV, left shifts and right shifts were switched

8 years agoEnable forced JIT compilation for MD5, if requested
jsteube [Sat, 16 Jan 2016 11:36:56 +0000 (12:36 +0100)]
Enable forced JIT compilation for MD5, if requested

8 years agoMake sure to select an active device for weak_hash_check
jsteube [Sat, 16 Jan 2016 11:24:08 +0000 (12:24 +0100)]
Make sure to select an active device for weak_hash_check

8 years agoMerge pull request #132 from neheb/master
Jens Steube [Sat, 16 Jan 2016 10:47:17 +0000 (11:47 +0100)]
Merge pull request #132 from neheb/master

Remove some memsets

8 years agohuman-readable error message for the OpenCL error codes.
yhfudev [Sat, 16 Jan 2016 05:41:31 +0000 (00:41 -0500)]
human-readable error message for the OpenCL error codes.

8 years agoFixed out of bounds access in -m 11300
jsteube [Fri, 15 Jan 2016 22:25:24 +0000 (23:25 +0100)]
Fixed out of bounds access in -m 11300

8 years agoRemove some memsets
Mangix [Fri, 15 Jan 2016 18:51:47 +0000 (10:51 -0800)]
Remove some memsets

8 years agoAdd bitness to filename for cached kernels, otherwise a user would load a 32 bit...
Jens Steube [Fri, 15 Jan 2016 16:48:27 +0000 (17:48 +0100)]
Add bitness to filename for cached kernels, otherwise a user would load a 32 bit kernel with a 64 bit host binary in case he used the 32 bit binary before which leads to a segfault

8 years agoFix AMD OpenCL runtime bug in clGetProgramInfo()
Jens Steube [Fri, 15 Jan 2016 16:32:43 +0000 (17:32 +0100)]
Fix AMD OpenCL runtime bug in clGetProgramInfo()

8 years agoFix native compiler
Jens Steube [Fri, 15 Jan 2016 16:24:51 +0000 (17:24 +0100)]
Fix native compiler

8 years agoFix CFLAGS
Jens Steube [Fri, 15 Jan 2016 16:24:20 +0000 (17:24 +0100)]
Fix CFLAGS

8 years agoReorder device mapping
jsteube [Fri, 15 Jan 2016 16:23:07 +0000 (17:23 +0100)]
Reorder device mapping

8 years agoPrepare fix for datatypes, not final
Jens Steube [Fri, 15 Jan 2016 16:16:43 +0000 (17:16 +0100)]
Prepare fix for datatypes, not final

8 years agoFix outputting wrong password for weak-hash-check in case user defined -r or -g
Jens Steube [Thu, 14 Jan 2016 22:03:23 +0000 (23:03 +0100)]
Fix outputting wrong password for weak-hash-check in case user defined -r or -g

8 years agoFix out of bounds access in -m 7500
Jens Steube [Thu, 14 Jan 2016 21:13:06 +0000 (22:13 +0100)]
Fix out of bounds access in -m 7500

8 years agoFix some clang compiler warnings
Jens Steube [Thu, 14 Jan 2016 20:45:11 +0000 (21:45 +0100)]
Fix some clang compiler warnings

8 years agoFix more missing casts to uint in rule-engine
jsteube [Thu, 14 Jan 2016 19:54:41 +0000 (20:54 +0100)]
Fix more missing casts to uint in rule-engine

8 years agoFix more missing casts to uint
jsteube [Thu, 14 Jan 2016 19:44:11 +0000 (20:44 +0100)]
Fix more missing casts to uint

8 years agoFix missing cast to uint
jsteube [Thu, 14 Jan 2016 19:42:07 +0000 (20:42 +0100)]
Fix missing cast to uint

8 years agoFixed some heap buffer overflow
Jens Steube [Thu, 14 Jan 2016 19:30:38 +0000 (20:30 +0100)]
Fixed some heap buffer overflow

8 years agoStarted optimizing some of the OpenCL kernel for latest AMD Catalyst 15.12:
Jens Steube [Thu, 14 Jan 2016 18:44:47 +0000 (19:44 +0100)]
Started optimizing some of the OpenCL kernel for latest AMD Catalyst 15.12:

- Replaced SBOX for DES:

replaced JtR's * Bitslice DES S-boxes making use of a vector conditional select operation (e.g., vsel on PowerPC with AltiVec).
with     JtR's * Bitslice DES S-boxes for x86 with MMX/SSE2/AVX and for typical RISC architectures.

Performance increased for DEScrypt from 355MH/s to 405MH/s and for LM from 11100MH/s to 12000MH/s

BTW, the same effect can be seen with non-maxwell GPU's

- Remove some volatile keywords no longer needed thanks to fixed catalyst bugs

- Fix weak-hash-check parameter for use with tools/test.sh

8 years agoMerge pull request #128 from philsmd/pr-set-iter-for-dcc2
Jens Steube [Thu, 14 Jan 2016 08:02:13 +0000 (09:02 +0100)]
Merge pull request #128 from philsmd/pr-set-iter-for-dcc2

set default iteration count for -m 2100 = DCC2 to 10240

8 years agoMerge pull request #127 from philsmd/master
Jens Steube [Thu, 14 Jan 2016 08:01:48 +0000 (09:01 +0100)]
Merge pull request #127 from philsmd/master

add skipped devices to the --benchmark output

8 years agoset default iteration count for -m 2100 = DCC2 to 10240
philsmd [Wed, 13 Jan 2016 23:14:43 +0000 (00:14 +0100)]
set default iteration count for -m 2100 = DCC2 to 10240

8 years agoadd skipped devices to the --benchmark output
philsmd [Wed, 13 Jan 2016 22:38:07 +0000 (23:38 +0100)]
add skipped devices to the --benchmark output

8 years agoMerge pull request #126 from philsmd/master
Jens Steube [Wed, 13 Jan 2016 22:07:54 +0000 (23:07 +0100)]
Merge pull request #126 from philsmd/master

minor: remove quiet_sav, was just intended for debugging

8 years agominor: remove quiet_sav, was just intended for debugging
philsmd [Wed, 13 Jan 2016 22:06:03 +0000 (23:06 +0100)]
minor: remove quiet_sav, was just intended for debugging

8 years agoRun weak-hash checks only in straight-attack mode, this greatly reduces code complexity
Jens Steube [Wed, 13 Jan 2016 21:22:46 +0000 (22:22 +0100)]
Run weak-hash checks only in straight-attack mode, this greatly reduces code complexity

8 years agoFix -m 1500 in combination with new weak-hash-check
Jens Steube [Wed, 13 Jan 2016 20:39:34 +0000 (21:39 +0100)]
Fix -m 1500 in combination with new weak-hash-check

8 years agoMerge pull request #124 from philsmd/master
Jens Steube [Wed, 13 Jan 2016 20:13:39 +0000 (21:13 +0100)]
Merge pull request #124 from philsmd/master

HMS: nvapi does not need a dll (windows + NV)

8 years agoHMS: nvapi does not need a dll (windows + NV)
philsmd [Wed, 13 Jan 2016 20:12:19 +0000 (21:12 +0100)]
HMS: nvapi does not need a dll (windows + NV)

8 years agoDo not use OpenCL CPU devices by default to avoid slow GPU synchronization, user...
jsteube [Wed, 13 Jan 2016 19:27:26 +0000 (20:27 +0100)]
Do not use OpenCL CPU devices by default to avoid slow GPU synchronization, user needs to explicitly enable them using --opencl-device-type
If a platform like pocl is filtered by any of the filter mechanism do not request the user to use --force

8 years agoMerge pull request #123 from philsmd/pr-tab-typo-fix
Jens Steube [Wed, 13 Jan 2016 18:56:38 +0000 (19:56 +0100)]
Merge pull request #123 from philsmd/pr-tab-typo-fix

cosmetic: replace tab by spaces

8 years agoMerge pull request #122 from philsmd/master
Jens Steube [Wed, 13 Jan 2016 18:56:34 +0000 (19:56 +0100)]
Merge pull request #122 from philsmd/master

Makefile: remove kernels/ directory when running make clean

8 years agocosmetic: replace tab by spaces
philsmd [Wed, 13 Jan 2016 18:05:28 +0000 (19:05 +0100)]
cosmetic: replace tab by spaces

8 years agoMakefile: remove kernels/ directory when running make clean
philsmd [Wed, 13 Jan 2016 17:16:56 +0000 (18:16 +0100)]
Makefile: remove kernels/ directory when running make clean

8 years agoAdded support to utilize multiple different OpenCL platforms in parallel, ex: AMD...
Jens Steube [Wed, 13 Jan 2016 16:10:40 +0000 (17:10 +0100)]
Added support to utilize multiple different OpenCL platforms in parallel, ex: AMD + NV

8 years agoReplace typedef for bool with stdbool.h
Jens Steube [Tue, 12 Jan 2016 17:56:26 +0000 (18:56 +0100)]
Replace typedef for bool with stdbool.h

8 years agoFix segfault in related to weak-hash-check on CPU devices
Jens Steube [Tue, 12 Jan 2016 16:18:01 +0000 (17:18 +0100)]
Fix segfault in related to weak-hash-check on CPU devices
Move typedef for bool datatype to common.h

8 years agoMerge pull request #119 from philsmd/pr-fix-adl-mapping-CPU
Jens Steube [Tue, 12 Jan 2016 07:49:25 +0000 (08:49 +0100)]
Merge pull request #119 from philsmd/pr-fix-adl-mapping-CPU

HMS fix: only copy the ADL adapter info for GPU devices

8 years agoMerge pull request #118 from philsmd/master
Jens Steube [Tue, 12 Jan 2016 07:49:15 +0000 (08:49 +0100)]
Merge pull request #118 from philsmd/master

fixed % and C (degrees celsius) in status display

8 years agoHMS fix: only copy the ADL adapter info for GPU devices, for CPU devices we leave...
philsmd [Tue, 12 Jan 2016 00:21:11 +0000 (01:21 +0100)]
HMS fix: only copy the ADL adapter info for GPU devices, for CPU devices we leave it AS-IS (zeroed out)

8 years agofixed % and C (degrees celcius) in status display
philsmd [Tue, 12 Jan 2016 00:02:23 +0000 (01:02 +0100)]
fixed % and C (degrees celcius) in status display

8 years agoAdded option --opencl-device-types to filter for specific OpenCL device types
Jens Steube [Mon, 11 Jan 2016 23:44:28 +0000 (00:44 +0100)]
Added option --opencl-device-types to filter for specific OpenCL device types

8 years agoMerge pull request #117 from philsmd/master
Jens Steube [Mon, 11 Jan 2016 23:33:59 +0000 (00:33 +0100)]
Merge pull request #117 from philsmd/master

fixed hardware monitor: mapping between supported ADL devices and available GPUs

8 years agofixed hardware monitor: mapping between supported ADL devices and available GPU ...
philsmd [Mon, 11 Jan 2016 23:30:28 +0000 (00:30 +0100)]
fixed hardware monitor: mapping between supported ADL devices and available GPU (and CPUs) fixed

8 years agoPrepare for some HSM updates related to device_type
jsteube [Mon, 11 Jan 2016 22:49:10 +0000 (23:49 +0100)]
Prepare for some HSM updates related to device_type

8 years agoFix segfault if a weak hash is detected for some fast hashes
Jens Steube [Sun, 10 Jan 2016 20:37:45 +0000 (21:37 +0100)]
Fix segfault if a weak hash is detected for some fast hashes

8 years agoThe weak-hash-check feature didn't work for algorithms that made use of some automati...
Jens Steube [Sun, 10 Jan 2016 20:02:03 +0000 (21:02 +0100)]
The weak-hash-check feature didn't work for algorithms that made use of some automatic optimizer flags
We'll enforce a weak-hash-check on an _a0 kernel for them

8 years agoWe need an esalt to hold the unused IV otherwise the unique salt count becomes incorr...
jsteube [Sat, 9 Jan 2016 20:35:29 +0000 (21:35 +0100)]
We need an esalt to hold the unused IV otherwise the unique salt count becomes incorrect in multihash sitations

8 years agoAdded new hash mode -m 13000 = RAR5
jsteube [Sat, 9 Jan 2016 19:34:12 +0000 (20:34 +0100)]
Added new hash mode -m 13000 = RAR5

8 years agoMerge pull request #115 from philsmd/master
Jens Steube [Sat, 9 Jan 2016 10:14:12 +0000 (11:14 +0100)]
Merge pull request #115 from philsmd/master

add -m 12900 = Android FDE (Samsung DEK) to the hash list for tab completion

8 years agoadd -m 12900 = Android FDE (Samsung DEK) to the hash list for tab completion
philsmd [Sat, 9 Jan 2016 00:28:31 +0000 (01:28 +0100)]
add -m 12900 = Android FDE (Samsung DEK) to the hash list for tab completion

8 years agoAdded new hash mode -m 12900 = Android FDE (Samsung DEK)
jsteube [Fri, 8 Jan 2016 23:49:54 +0000 (00:49 +0100)]
Added new hash mode -m 12900 = Android FDE (Samsung DEK)

8 years agoMerge pull request #66 from unix-ninja/master
Jens Steube [Thu, 7 Jan 2016 22:45:55 +0000 (23:45 +0100)]
Merge pull request #66 from unix-ninja/master

Update unix-ninja's leetspeak file

8 years agoUpdate unix-ninja's leetspeak file
unix-ninja [Thu, 7 Jan 2016 21:35:14 +0000 (16:35 -0500)]
Update unix-ninja's leetspeak file

8 years agoFix for -m 1500, -m 3000: Missing "defined" keyword
jsteube [Thu, 7 Jan 2016 19:14:34 +0000 (20:14 +0100)]
Fix for -m 1500, -m 3000: Missing "defined" keyword
Fix for -m 1000: MD4_H1 copy/paste error
Fix for -m 8900, -m 9300: Invalid value for device_processor_cores for CPU devices
Fix for -m 9100: Variable salt2 initializer needed some clauses for clearness
Temporary limit gpu_accel for CPU devices to 1 for development phase
Mark pocl as too bleeding edge for production use, recommend native drivers
Remove workarounds for pocl
Rename VENDOR_ID_UNKNOWN to VENDOR_ID_GENERIC in host code
Rename IS_UNKNOWN to IS_GENERIC in kernel code

8 years agoMerge pull request #64 from philsmd/master
Jens Steube [Thu, 7 Jan 2016 19:09:50 +0000 (20:09 +0100)]
Merge pull request #64 from philsmd/master

added --opencl-platform check, reject numbers > number of OpenCL platforms

8 years agoMerge pull request #65 from philsmd/pr-help-typo
Jens Steube [Thu, 7 Jan 2016 19:08:37 +0000 (20:08 +0100)]
Merge pull request #65 from philsmd/pr-help-typo

typo found in help: seperate -> separate

8 years agoadditional --opencl-platform value check
philsmd [Thu, 7 Jan 2016 16:15:28 +0000 (17:15 +0100)]
additional --opencl-platform value check

8 years agotypo
philsmd [Thu, 7 Jan 2016 15:48:50 +0000 (16:48 +0100)]
typo

8 years agoadded additional --opencl-platform check (reject numbers > number of OpenCL platforms)
philsmd [Thu, 7 Jan 2016 15:35:45 +0000 (16:35 +0100)]
added additional --opencl-platform check (reject numbers > number of OpenCL platforms)

8 years agoWorkaround for either pocl or llvm fails and produces invalid optimized code
jsteube [Wed, 6 Jan 2016 10:48:18 +0000 (11:48 +0100)]
Workaround for either pocl or llvm fails and produces invalid optimized code

8 years agoA CPU is not a GPU
jsteube [Tue, 5 Jan 2016 22:35:06 +0000 (23:35 +0100)]
A CPU is not a GPU

8 years agoMore fixes for IS_UNKNOWN in kernels
jsteube [Tue, 5 Jan 2016 22:10:04 +0000 (23:10 +0100)]
More fixes for IS_UNKNOWN in kernels

8 years agoMore fixes for IS_UNKNOWN in kernels
jsteube [Tue, 5 Jan 2016 22:05:06 +0000 (23:05 +0100)]
More fixes for IS_UNKNOWN in kernels

8 years agoMore fixes for IS_UNKNOWN in kernels
jsteube [Tue, 5 Jan 2016 21:47:56 +0000 (22:47 +0100)]
More fixes for IS_UNKNOWN in kernels

8 years agoMerge pull request #61 from philsmd/master
Jens Steube [Tue, 5 Jan 2016 20:40:40 +0000 (21:40 +0100)]
Merge pull request #61 from philsmd/master

updated MIT license year

8 years agoupdated MIT license year
philsmd [Tue, 5 Jan 2016 18:31:35 +0000 (19:31 +0100)]
updated MIT license year

8 years agoUpdate README.txt with new release version number and new driver recommendation
jsteube [Tue, 5 Jan 2016 15:50:57 +0000 (16:50 +0100)]
Update README.txt with new release version number and new driver recommendation

8 years agoShorten some helptext
Jens Steube [Tue, 5 Jan 2016 11:28:56 +0000 (12:28 +0100)]
Shorten some helptext

8 years agoMerge pull request #59 from philsmd/pr-fix-opencl-platform-descripion
Jens Steube [Tue, 5 Jan 2016 11:27:59 +0000 (12:27 +0100)]
Merge pull request #59 from philsmd/pr-fix-opencl-platform-descripion

the parameter --opencl-platform takes a number, not a string

8 years agoMerge pull request #58 from philsmd/master
Jens Steube [Tue, 5 Jan 2016 11:26:38 +0000 (12:26 +0100)]
Merge pull request #58 from philsmd/master

updated tab completion

8 years agothe parameter --opencl-platform takes a number, not a string
philsmd [Tue, 5 Jan 2016 09:29:05 +0000 (10:29 +0100)]
the parameter --opencl-platform takes a number, not a string

8 years agofix a typo: oclHashcat64.sh is of course not a directory
philsmd [Tue, 5 Jan 2016 08:43:28 +0000 (09:43 +0100)]
fix a typo: oclHashcat64.sh is of course not a directory

8 years agoupdated tab completion (rm old oclHashcat64.sh + added --opencl-platform completion)
philsmd [Tue, 5 Jan 2016 08:33:11 +0000 (09:33 +0100)]
updated tab completion (rm old oclHashcat64.sh + added --opencl-platform completion)

8 years agoNext release version will be v2.10
jsteube [Tue, 5 Jan 2016 07:30:18 +0000 (08:30 +0100)]
Next release version will be v2.10

8 years agoReplace the substring GPU to a more appropriate "device" or "kernel" substring depend...
jsteube [Tue, 5 Jan 2016 07:26:44 +0000 (08:26 +0100)]
Replace the substring GPU to a more appropriate "device" or "kernel" substring depending on the context

8 years agoFix blowfish based algorithms for unknown opencl platform usage
jsteube [Mon, 4 Jan 2016 21:21:13 +0000 (22:21 +0100)]
Fix blowfish based algorithms for unknown opencl platform usage

8 years agoGenerate a more easy to read filename for cached kernels
jsteube [Mon, 4 Jan 2016 19:56:15 +0000 (20:56 +0100)]
Generate a more easy to read filename for cached kernels

8 years agoPreparation for distinguish between OpenCL device types at runtime (mostly for HMS)
jsteube [Mon, 4 Jan 2016 19:12:34 +0000 (20:12 +0100)]
Preparation for distinguish between OpenCL device types at runtime (mostly for HMS)

8 years agoMore fixes for general OpenCL platforms
jsteube [Mon, 4 Jan 2016 18:23:21 +0000 (19:23 +0100)]
More fixes for general OpenCL platforms

8 years agosmall fix for unknown opencl platforms
jsteube [Mon, 4 Jan 2016 15:13:10 +0000 (16:13 +0100)]
small fix for unknown opencl platforms

8 years agoPrepare for allow other OpenCL platforms thans AMD and NVidia
jsteube [Mon, 4 Jan 2016 12:17:20 +0000 (13:17 +0100)]
Prepare for allow other OpenCL platforms thans AMD and NVidia

8 years agoMerge pull request #54 from philsmd/master
Jens Steube [Mon, 4 Jan 2016 10:38:47 +0000 (11:38 +0100)]
Merge pull request #54 from philsmd/master

pr #53 did not copy the example .hash and .dict files to the doc folder

8 years agopr #53 did not copy the example .hash and .dict files to the doc folder
philsmd [Sun, 3 Jan 2016 22:29:39 +0000 (23:29 +0100)]
pr #53 did not copy the example .hash and .dict files to the doc folder

8 years agoMerge pull request #53 from philsmd/master
Jens Steube [Sun, 3 Jan 2016 21:25:09 +0000 (22:25 +0100)]
Merge pull request #53 from philsmd/master

install also the example scripts, place them into the doc folder

8 years agoinstall also the example scripts, place them into the doc folder
philsmd [Sun, 3 Jan 2016 21:01:02 +0000 (22:01 +0100)]
install also the example scripts, place them into the doc folder

8 years agoMerge branch 'master' of https://github.com/hashcat/oclHashcat
jsteube [Sun, 3 Jan 2016 20:00:47 +0000 (21:00 +0100)]
Merge branch 'master' of https://github.com/hashcat/oclHashcat

8 years agoFix path to includes
jsteube [Sun, 3 Jan 2016 20:00:36 +0000 (21:00 +0100)]
Fix path to includes

8 years agoMerge pull request #52 from philsmd/master
Jens Steube [Sun, 3 Jan 2016 19:49:40 +0000 (20:49 +0100)]
Merge pull request #52 from philsmd/master

updated gpu2cpu_rule_test script, we do not need the c++ here

8 years agoupdated rp_gpu_on_cpu rules test script, we do not need the cpp extension anymore
philsmd [Sun, 3 Jan 2016 19:15:52 +0000 (20:15 +0100)]
updated rp_gpu_on_cpu rules test script, we do not need the cpp extension anymore

8 years agoMerge pull request #51 from philsmd/master
Jens Steube [Sun, 3 Jan 2016 18:56:48 +0000 (19:56 +0100)]
Merge pull request #51 from philsmd/master

added note about how to fix the 'cannot find -lOpenCL' error to BUILD.md

8 years agoMerge remote-tracking branch 'upstream/master'
philsmd [Sun, 3 Jan 2016 18:56:23 +0000 (19:56 +0100)]
Merge remote-tracking branch 'upstream/master'

8 years agoExtended support from 14 to 255 functions calls per rule on GPU
jsteube [Sun, 3 Jan 2016 18:49:47 +0000 (19:49 +0100)]
Extended support from 14 to 255 functions calls per rule on GPU

8 years agoadded note about how to fix the 'cannot find -lOpenCL' error to BUILD.md
philsmd [Sun, 3 Jan 2016 18:47:55 +0000 (19:47 +0100)]
added note about how to fix the 'cannot find -lOpenCL' error to BUILD.md