hashcat.git
8 years agoMerge pull request #169 from magnumripper/onetwenty
Jens Steube [Wed, 27 Jan 2016 18:15:31 +0000 (19:15 +0100)]
Merge pull request #169 from magnumripper/onetwenty

Drop dependencies on non-distributable ADL/NVML headers.

8 years agoMerge pull request #168 from magnumripper/onesixfour
Jens Steube [Wed, 27 Jan 2016 17:52:10 +0000 (18:52 +0100)]
Merge pull request #168 from magnumripper/onesixfour

Do not create a kernel cache file if build failed (actually if size ended up as zero).

8 years agoMerge pull request #156 from gm4tr1x/master
Jens Steube [Wed, 27 Jan 2016 17:51:28 +0000 (18:51 +0100)]
Merge pull request #156 from gm4tr1x/master

Updated test.sh (support for osx and some fixes)

8 years agoDrop dependencies on non-distributable ADL/NVML headers. The needed glue
magnum [Wed, 27 Jan 2016 12:47:19 +0000 (13:47 +0100)]
Drop dependencies on non-distributable ADL/NVML headers. The needed glue
is copied into our respective local headers. Should close #120.

8 years agoMerge pull request #167 from gm4tr1x/issue84
Jens Steube [Wed, 27 Jan 2016 17:43:18 +0000 (18:43 +0100)]
Merge pull request #167 from gm4tr1x/issue84

Issue84

8 years agoDo not create a kernel cache file if build failed. Also disregard any
magnum [Wed, 27 Jan 2016 12:30:38 +0000 (13:30 +0100)]
Do not create a kernel cache file if build failed. Also disregard any
existing cache files with size of zero. Should close #164.

8 years agoMerge pull request #165 from gm4tr1x/gcc-warnings
Jens Steube [Wed, 27 Jan 2016 17:19:50 +0000 (18:19 +0100)]
Merge pull request #165 from gm4tr1x/gcc-warnings

Fixed gcc warnings

8 years agoMerge pull request #157 from gm4tr1x/loops-accel
Jens Steube [Wed, 27 Jan 2016 17:19:11 +0000 (18:19 +0100)]
Merge pull request #157 from gm4tr1x/loops-accel

Improved osx support with custom kernel loops and gpu accel (issue #63)

8 years agoFixed gcc warnings
Gabriele 'matrix' Gristina [Wed, 27 Jan 2016 00:08:35 +0000 (01:08 +0100)]
Fixed gcc warnings

8 years agoImplemented OpenCL library loader
Gabriele 'matrix' Gristina [Tue, 26 Jan 2016 20:40:49 +0000 (21:40 +0100)]
Implemented OpenCL library loader

8 years agoMerge pull request #161 from gm4tr1x/gpu-warnings3
Jens Steube [Tue, 26 Jan 2016 17:14:02 +0000 (18:14 +0100)]
Merge pull request #161 from gm4tr1x/gpu-warnings3

Fixed compiler warnings (no previous prototype for function)

8 years agoMerge pull request #160 from gm4tr1x/gpu-warnings2
Jens Steube [Tue, 26 Jan 2016 17:13:51 +0000 (18:13 +0100)]
Merge pull request #160 from gm4tr1x/gpu-warnings2

Fixed compiler warnings (unused variable)

8 years agoMerge pull request #159 from gm4tr1x/gpu-warnings
Jens Steube [Tue, 26 Jan 2016 17:13:18 +0000 (18:13 +0100)]
Merge pull request #159 from gm4tr1x/gpu-warnings

Fixed compiler warnings (comparison of integers of different signs)

8 years agoMerge pull request #158 from gm4tr1x/types-cosmetic
Jens Steube [Tue, 26 Jan 2016 17:13:04 +0000 (18:13 +0100)]
Merge pull request #158 from gm4tr1x/types-cosmetic

Cosmetic fix for types.h

8 years agoModified as @jsteube request
Gabriele 'matrix' Gristina [Tue, 26 Jan 2016 11:07:19 +0000 (12:07 +0100)]
Modified as @jsteube request

8 years agoOpenCL runtime environment is no longer required with --keyspace option
Gabriele 'matrix' Gristina [Mon, 25 Jan 2016 14:44:04 +0000 (15:44 +0100)]
OpenCL runtime environment is no longer required with --keyspace option

8 years agoFixed compiler warnings (no previous prototype for function)
Gabriele 'matrix' Gristina [Mon, 25 Jan 2016 12:35:58 +0000 (13:35 +0100)]
Fixed compiler warnings (no previous prototype for function)

8 years agoFixed compiler warnings (unused variable)
Gabriele 'matrix' Gristina [Mon, 25 Jan 2016 12:32:45 +0000 (13:32 +0100)]
Fixed compiler warnings (unused variable)

8 years agoFixed compiler warnings (comparison of integers of different signs) for kernel 7800...
Gabriele 'matrix' Gristina [Mon, 25 Jan 2016 12:08:31 +0000 (13:08 +0100)]
Fixed compiler warnings (comparison of integers of different signs) for kernel 7800 and 10100

8 years agoCosmetix fix for types.h
Gabriele 'matrix' Gristina [Mon, 25 Jan 2016 11:28:06 +0000 (12:28 +0100)]
Cosmetix fix for types.h

8 years agoAdded custom OSX kernel loops and gpu accel default values
Gabriele 'matrix' Gristina [Sun, 24 Jan 2016 21:48:01 +0000 (22:48 +0100)]
Added custom OSX kernel loops and gpu accel default values
Disabled some not yet worked hash types in OSX

8 years agoCosmetic fix
Gabriele 'matrix' Gristina [Sun, 24 Jan 2016 16:54:13 +0000 (17:54 +0100)]
Cosmetic fix

8 years agoRe-enable gpu-temp-disable argument for osx build
Gabriele 'matrix' Gristina [Sun, 24 Jan 2016 16:49:15 +0000 (17:49 +0100)]
Re-enable gpu-temp-disable argument for osx build

8 years agoUpdated test.sh (support for osx and some fixes)
Gabriele 'matrix' Gristina [Sun, 24 Jan 2016 16:31:31 +0000 (17:31 +0100)]
Updated test.sh (support for osx and some fixes)

8 years agoMerge pull request #155 from gm4tr1x/master
Jens Steube [Sun, 24 Jan 2016 16:21:08 +0000 (17:21 +0100)]
Merge pull request #155 from gm4tr1x/master

Fixed compiler warning for windows build

8 years agoFixed 'buf' initialization for windows
Gabriele 'matrix' Gristina [Sun, 24 Jan 2016 16:20:01 +0000 (17:20 +0100)]
Fixed 'buf' initialization for windows

8 years agoRemove NO-BREAK SPACE character (utf8) from sources
Jens Steube [Sun, 24 Jan 2016 16:08:49 +0000 (17:08 +0100)]
Remove NO-BREAK SPACE character (utf8) from sources

8 years agoMerge pull request #154 from gm4tr1x/master
Jens Steube [Sun, 24 Jan 2016 16:00:16 +0000 (17:00 +0100)]
Merge pull request #154 from gm4tr1x/master

Upgrade AMD Display Library SDK from 8.0 to 9.0

8 years agoUpgrade AMD Display Library SDK from 8.0 to 9.0
Gabriele 'matrix' Gristina [Sun, 24 Jan 2016 15:39:51 +0000 (16:39 +0100)]
Upgrade AMD Display Library SDK from 8.0 to 9.0

8 years agoMerge pull request #153 from gm4tr1x/missingcheck
Jens Steube [Sun, 24 Jan 2016 15:24:57 +0000 (16:24 +0100)]
Merge pull request #153 from gm4tr1x/missingcheck

Added missing check for in_len in _old_apply_rule function

8 years agoMerge pull request #152 from gm4tr1x/buf
Jens Steube [Sun, 24 Jan 2016 15:24:10 +0000 (16:24 +0100)]
Merge pull request #152 from gm4tr1x/buf

Optimized memset calls and also some initializations

8 years agoMerge pull request #151 from gm4tr1x/master
Jens Steube [Sun, 24 Jan 2016 15:24:00 +0000 (16:24 +0100)]
Merge pull request #151 from gm4tr1x/master

Avoid sprintf

8 years agoAdded missing check for in_len in _old_apply_rule function
Gabriele 'matrix' Gristina [Sun, 24 Jan 2016 14:13:43 +0000 (15:13 +0100)]
Added missing check for in_len in _old_apply_rule function

8 years ago@philsmd suggestion (PR #152)
Gabriele 'matrix' Gristina [Sun, 24 Jan 2016 13:33:19 +0000 (14:33 +0100)]
@philsmd suggestion (PR #152)

8 years agoOptimized memset calls and also some initializations
Gabriele 'matrix' Gristina [Sun, 24 Jan 2016 12:25:47 +0000 (13:25 +0100)]
Optimized memset calls and also some initializations

8 years agoAvoid sprintf
Gabriele 'matrix' Gristina [Sun, 24 Jan 2016 12:05:02 +0000 (13:05 +0100)]
Avoid sprintf

8 years agoFix speed for 64-bit datatype based algorithms for NV
jsteube [Sat, 23 Jan 2016 23:25:14 +0000 (00:25 +0100)]
Fix speed for 64-bit datatype based algorithms for NV

8 years agoRevert some RC4 based kernels back to scalar processing
Jens Steube [Sat, 23 Jan 2016 21:27:31 +0000 (22:27 +0100)]
Revert some RC4 based kernels back to scalar processing

8 years agoMerge pull request #149 from gm4tr1x/md5crypt_warnings
Jens Steube [Sat, 23 Jan 2016 14:44:01 +0000 (15:44 +0100)]
Merge pull request #149 from gm4tr1x/md5crypt_warnings

Fixed compiler warning (signed shift result) for kernel 500

8 years agoMerge pull request #148 from gm4tr1x/md5apr1_warnings
Jens Steube [Sat, 23 Jan 2016 14:43:54 +0000 (15:43 +0100)]
Merge pull request #148 from gm4tr1x/md5apr1_warnings

Fixed compiler warning (signed shift result) for kernel 1600

8 years agoMerge pull request #146 from gm4tr1x/master
Jens Steube [Sat, 23 Jan 2016 14:43:47 +0000 (15:43 +0100)]
Merge pull request #146 from gm4tr1x/master

Fixed some memory allocations and other small things

8 years agoConverted _a3 kernels, use SIMD for CPU and GPU
Jens Steube [Sat, 23 Jan 2016 14:32:31 +0000 (15:32 +0100)]
Converted _a3 kernels, use SIMD for CPU and GPU

8 years agoFixed compiler warning (signed shift result) for kernel 500
Gabriele 'matrix' Gristina [Fri, 22 Jan 2016 11:46:04 +0000 (12:46 +0100)]
Fixed compiler warning (signed shift result) for kernel 500

8 years agoFixed compiler warning (signed shift result) for kernel 1600
Gabriele 'matrix' Gristina [Fri, 22 Jan 2016 11:35:27 +0000 (12:35 +0100)]
Fixed compiler warning (signed shift result) for kernel 1600

8 years agoFixed some memory allocations and other small things
Gabriele 'matrix' Gristina [Thu, 21 Jan 2016 16:20:02 +0000 (17:20 +0100)]
Fixed some memory allocations and other small things

8 years agoTest convert for -m 1000 with -a 0 for SIMD, speed is now on par or faster than hashcat
Jens Steube [Thu, 21 Jan 2016 15:47:38 +0000 (16:47 +0100)]
Test convert for -m 1000 with -a 0 for SIMD, speed is now on par or faster than hashcat

8 years agoFix for last commit
Jens Steube [Thu, 21 Jan 2016 09:22:57 +0000 (10:22 +0100)]
Fix for last commit

8 years agoExpanded version information as discussed in https://github.com/hashcat/oclHashcat...
Jens Steube [Thu, 21 Jan 2016 09:17:22 +0000 (10:17 +0100)]
Expanded version information as discussed in https://github.com/hashcat/oclHashcat/issues/138

8 years agoMerge pull request #144 from gm4tr1x/master
Jens Steube [Thu, 21 Jan 2016 09:10:51 +0000 (10:10 +0100)]
Merge pull request #144 from gm4tr1x/master

About issue #120 and issue #63

8 years agoAdded support for build without ADL/NVML/NVAPI (issue #120)
Gabriele 'matrix' Gristina [Wed, 20 Jan 2016 19:55:09 +0000 (20:55 +0100)]
Added support for build without ADL/NVML/NVAPI (issue #120)
Added support for build OSX native binaries (issue #63)

8 years agoMerge branch 'master' of https://github.com/hashcat/oclHashcat
Jens Steube [Wed, 20 Jan 2016 15:46:11 +0000 (16:46 +0100)]
Merge branch 'master' of https://github.com/hashcat/oclHashcat

8 years agoConverted -m 30 to new SIMD code
Jens Steube [Wed, 20 Jan 2016 15:45:48 +0000 (16:45 +0100)]
Converted -m 30 to new SIMD code

8 years agoMerge pull request #142 from philsmd/master
Jens Steube [Wed, 20 Jan 2016 11:54:03 +0000 (12:54 +0100)]
Merge pull request #142 from philsmd/master

#137: fixes padding for base32_encode () and base64_encode ()

8 years ago#137: fixes padding for base64_encode () and base64_decode()
philsmd [Tue, 19 Jan 2016 21:32:20 +0000 (22:32 +0100)]
#137: fixes padding for base64_encode () and base64_decode()

8 years agoFix algorithms based on 64 bit datatypes for older NV cards
jsteube [Tue, 19 Jan 2016 20:27:39 +0000 (21:27 +0100)]
Fix algorithms based on 64 bit datatypes for older NV cards

8 years agoMerge pull request #141 from philsmd/master
Jens Steube [Tue, 19 Jan 2016 19:58:12 +0000 (20:58 +0100)]
Merge pull request #141 from philsmd/master

cosmetic fix: some fixed typos e.g. to -> too

8 years agoMerge branch 'master' of https://github.com/hashcat/oclHashcat
Jens Steube [Tue, 19 Jan 2016 19:54:38 +0000 (20:54 +0100)]
Merge branch 'master' of https://github.com/hashcat/oclHashcat

8 years agoWorkaround AMD catalyst optimizer bug in rule-engine
Jens Steube [Tue, 19 Jan 2016 19:54:25 +0000 (20:54 +0100)]
Workaround AMD catalyst optimizer bug in rule-engine

8 years agocosmetic fix: some fixed typos e.g. to -> too
philsmd [Tue, 19 Jan 2016 19:47:18 +0000 (20:47 +0100)]
cosmetic fix: some fixed typos e.g. to -> too

8 years agoMerge pull request #140 from philsmd/master
Jens Steube [Tue, 19 Jan 2016 18:49:14 +0000 (19:49 +0100)]
Merge pull request #140 from philsmd/master

buffer overflow fix for -m 8900 = scrypt

8 years agobuffer overflow fix for -m 8900 = scrypt
philsmd [Tue, 19 Jan 2016 18:04:52 +0000 (19:04 +0100)]
buffer overflow fix for -m 8900 = scrypt

8 years agoMerge branch 'master' of https://github.com/hashcat/oclHashcat
Jens Steube [Tue, 19 Jan 2016 15:06:21 +0000 (16:06 +0100)]
Merge branch 'master' of https://github.com/hashcat/oclHashcat

8 years agoUpgrade kernel to support dynamic local work sizes
Jens Steube [Tue, 19 Jan 2016 15:06:03 +0000 (16:06 +0100)]
Upgrade kernel to support dynamic local work sizes

8 years agoRe-enable some useful environment variables
jsteube [Mon, 18 Jan 2016 07:24:29 +0000 (08:24 +0100)]
Re-enable some useful environment variables

8 years agoMerge branch 'master' of https://github.com/hashcat/oclHashcat
Jens Steube [Mon, 18 Jan 2016 06:13:03 +0000 (07:13 +0100)]
Merge branch 'master' of https://github.com/hashcat/oclHashcat

8 years agoAccidentially removed multihash kernel for LM
Jens Steube [Mon, 18 Jan 2016 06:12:50 +0000 (07:12 +0100)]
Accidentially removed multihash kernel for LM

8 years agoMerge pull request #135 from gm4tr1x/master
Jens Steube [Sun, 17 Jan 2016 21:29:12 +0000 (22:29 +0100)]
Merge pull request #135 from gm4tr1x/master

Fixed a buffer overflow in ascii_digest for hash type 8300

8 years agoAdd missing amd_bytealign_S()
Jens Steube [Sun, 17 Jan 2016 21:21:13 +0000 (22:21 +0100)]
Add missing amd_bytealign_S()

8 years agoMerge branch 'master' of https://github.com/hashcat/oclHashcat
jsteube [Sun, 17 Jan 2016 21:18:10 +0000 (22:18 +0100)]
Merge branch 'master' of https://github.com/hashcat/oclHashcat

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 agoRe-fix ascii_digest
Gabriele 'matrix' Gristina [Sun, 17 Jan 2016 21:10:19 +0000 (22:10 +0100)]
Re-fix ascii_digest

8 years agoFixed a buffer overflow in ascii_digest for hash type 8300
Gabriele 'matrix' Gristina [Sun, 17 Jan 2016 17:52:25 +0000 (18:52 +0100)]
Fixed a buffer overflow in ascii_digest for hash type 8300

8 years agoFixed a buffer overflow in potfile handling
Jens Steube [Sun, 17 Jan 2016 01:18:07 +0000 (02:18 +0100)]
Fixed a buffer overflow in potfile handling

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