hashcat.git
8 years agoMore VeraCrypt stuff; SHA256 kernels missing and --veracrypt-pim missing
Jens Steube [Thu, 19 May 2016 20:37:43 +0000 (22:37 +0200)]
More VeraCrypt stuff; SHA256 kernels missing and --veracrypt-pim missing

8 years agoMerge pull request #348 from anthraxx/master
Jens Steube [Thu, 19 May 2016 18:59:53 +0000 (20:59 +0200)]
Merge pull request #348 from anthraxx/master

fallback for Makefile version if its not a git checkout (tarball) (re…

8 years agoPrepare for VeraCrypt integration
Jens Steube [Thu, 19 May 2016 18:53:17 +0000 (20:53 +0200)]
Prepare for VeraCrypt integration

8 years agofallback for Makefile version if its not a git checkout (tarball) (refix)
anthraxx [Thu, 19 May 2016 09:15:15 +0000 (11:15 +0200)]
fallback for Makefile version if its not a git checkout (tarball) (refix)

This makes use of git export-subst to insert the current ref names.
If git describe fails because because an extracted tarball is used
to build from source then the fallback will get called and the last
part of the ref names will be used for the version variable.

if it is a git checkout and HEAD is the current tag:

    v3.00-beta

If it is a git checkout and HEAD is ahead of the latest tag:

    v3.00-beta-36-g24a6095

If it is a tarball from a tag created via 'git archive HEAD --format=tar':

    v3.00-beta

If it is a tarball from the master created via 'git archive HEAD --format=tar':

    master

NOTE: If a tarball is manually created (without git archive) then the
version will "$Format:%D$", however before this commit it would not be
possible to build a release tarball at all (because git describe would fail)

Tarballs that you manually want to distribute on your website need to be either
downloaded from github and re-uploaded or need to be create via git-archive:

gzip:

git archive --format=tar HEAD|gzip > oclHashcat.tar.gz

bzip2:

git archive --format=tar HEAD|bzip2 > oclHashcat.tar.bz2

You can also use a tag for git archive like:

git archive --format=tar v2.01|bzip2 > oclHashcat-2.01.tar.bz2

8 years agoMerge pull request #347 from hashcat/revert-346-master
Jens Steube [Thu, 19 May 2016 09:10:39 +0000 (11:10 +0200)]
Merge pull request #347 from hashcat/revert-346-master

Revert "fallback for Makefile version if its not a git checkout (tarball)"

8 years agoRevert "fallback for Makefile version if its not a git checkout (tarball)"
Jens Steube [Thu, 19 May 2016 09:10:16 +0000 (11:10 +0200)]
Revert "fallback for Makefile version if its not a git checkout (tarball)"

8 years agoMerge pull request #346 from anthraxx/master
Jens Steube [Thu, 19 May 2016 09:08:24 +0000 (11:08 +0200)]
Merge pull request #346 from anthraxx/master

fallback for Makefile version if its not a git checkout (tarball)

8 years agoSpeed up unamplified speed
Jens Steube [Wed, 18 May 2016 20:26:19 +0000 (22:26 +0200)]
Speed up unamplified speed

8 years agofallback for Makefile version if its not a git checkout (tarball)
anthraxx [Wed, 18 May 2016 16:43:04 +0000 (18:43 +0200)]
fallback for Makefile version if its not a git checkout (tarball)

This makes use of git export-subst to insert the current ref names.
If git describe fails because because an extracted tarball is used
to build from source then the fallback will get called and the last
part of the ref names will be used for the version variable.

if it is a git checkout and HEAD is the current tag:
- v3.00-beta

If it is a git checkout and HEAD is ahead of the latest tag:
- v3.00-beta-36-g24a6095

If it is a tarball from a tag created via 'git archive HEAD --format=tar':
- v3.00-beta

If it is a tarball from the master created via 'git archive HEAD --format=tar':
- master

NOTE: If a tarball is manually created (without git archive) then the
version will "$Format:%D$", however before this commit it would not be
possible to build a release tarball that is not a git checkout (because
git describe would fail)

8 years agoGet rid of some JIT compiler warnings
Jens Steube [Wed, 18 May 2016 09:18:31 +0000 (11:18 +0200)]
Get rid of some JIT compiler warnings

8 years agoUse umask(077), mainly to secure hashcat.pot from reading from other users, but shoul...
Jens Steube [Wed, 18 May 2016 07:56:23 +0000 (09:56 +0200)]
Use umask(077), mainly to secure hashcat.pot from reading from other users, but should be a good idea for all files. See https://github.com/hashcat/oclHashcat/issues/331 for details

8 years agoFix types_ocl.c to solve issue https://github.com/hashcat/oclHashcat/issues/344
Jens Steube [Wed, 18 May 2016 07:35:51 +0000 (09:35 +0200)]
Fix types_ocl.c to solve issue https://github.com/hashcat/oclHashcat/issues/344

8 years agoFix for -m 2500, see: https://github.com/hashcat/oclHashcat/issues/339
Jens Steube [Tue, 17 May 2016 16:21:37 +0000 (18:21 +0200)]
Fix for -m 2500, see: https://github.com/hashcat/oclHashcat/issues/339

8 years agoMerge pull request #341 from roycewilliams/master
Jens Steube [Tue, 17 May 2016 14:48:59 +0000 (16:48 +0200)]
Merge pull request #341 from roycewilliams/master

add version header and time to --status-automat

8 years agoadd version header and time to --status-automat
Royce Williams [Tue, 17 May 2016 14:24:35 +0000 (06:24 -0800)]
add version header and time to --status-automat

8 years agoMerge pull request #340 from gm4tr1x/master
Jens Steube [Tue, 17 May 2016 10:07:15 +0000 (12:07 +0200)]
Merge pull request #340 from gm4tr1x/master

Fix "abort trap: 6" for -m 6231 on OSX

8 years agoDo not show any header in case --status-automat is used
Jens Steube [Tue, 17 May 2016 09:29:38 +0000 (11:29 +0200)]
Do not show any header in case --status-automat is used

8 years agoFix "abort trap: 6" for -m 6231 on OSX
Gabriele 'matrix' Gristina [Tue, 17 May 2016 08:31:56 +0000 (10:31 +0200)]
Fix "abort trap: 6" for -m 6231 on OSX

8 years agoEnabled support of --status-automat in combination with --benchmark for automated...
Jens Steube [Tue, 17 May 2016 08:17:00 +0000 (10:17 +0200)]
Enabled support of --status-automat in combination with --benchmark for automated benchmark processing

8 years agoMinimal psafe2 increase and autotune fix
jsteube [Mon, 16 May 2016 19:30:21 +0000 (21:30 +0200)]
Minimal psafe2 increase and autotune fix

8 years agoFix some macros for NV
jsteube [Mon, 16 May 2016 18:30:39 +0000 (20:30 +0200)]
Fix some macros for NV

8 years agoSeparated sm50, sm52 and older cards in hashcat.hctune and updated accordingly
jsteube [Mon, 16 May 2016 00:38:58 +0000 (02:38 +0200)]
Separated sm50, sm52 and older cards in hashcat.hctune and updated accordingly

8 years agoAdded SIMD code for all generic PBKDF2-HMAC-* modes
jsteube [Sun, 15 May 2016 17:54:56 +0000 (19:54 +0200)]
Added SIMD code for all generic PBKDF2-HMAC-* modes

8 years agoCache clGetKernelWorkGroupInfo() results on startup
Jens Steube [Sun, 15 May 2016 11:22:31 +0000 (13:22 +0200)]
Cache clGetKernelWorkGroupInfo() results on startup
Use clGetEventProfilingInfo() instead of our own timer

8 years agoMerge pull request #332 from philsmd/master
Jens Steube [Sat, 14 May 2016 23:29:36 +0000 (01:29 +0200)]
Merge pull request #332 from philsmd/master

test fix: ArubaOS salts are 8 hexadecimal chars long (4 binary), not 10

8 years agoMerge pull request #333 from y0sh1/CreateTravisBuilds
Jens Steube [Sat, 14 May 2016 23:27:26 +0000 (01:27 +0200)]
Merge pull request #333 from y0sh1/CreateTravisBuilds

Added Travis building

8 years agoAdded SIMD code for DCC2
Jens Steube [Sat, 14 May 2016 23:13:09 +0000 (01:13 +0200)]
Added SIMD code for DCC2

8 years agoUse packv() and unpackv() for slow hash SIMD handling in kernels
Jens Steube [Sat, 14 May 2016 22:37:46 +0000 (00:37 +0200)]
Use packv() and unpackv() for slow hash SIMD handling in kernels

8 years agoAdded Travis building, placed build status in readme
Y0sh1 [Sat, 14 May 2016 19:17:32 +0000 (21:17 +0200)]
Added Travis building, placed build status in readme

8 years agoMerge remote-tracking branch 'upstream/master'
philsmd [Sat, 14 May 2016 17:47:23 +0000 (19:47 +0200)]
Merge remote-tracking branch 'upstream/master'

8 years agoAdded SIMD code for WPA/WPA2
Jens Steube [Sat, 14 May 2016 17:45:51 +0000 (19:45 +0200)]
Added SIMD code for WPA/WPA2

8 years agotest fix: ArubaOS salts are 8 hexadecimal chars long (4 binary), not 10 (4 binary...
philsmd [Fri, 13 May 2016 17:02:57 +0000 (19:02 +0200)]
test fix: ArubaOS salts are 8 hexadecimal chars long (4 binary), not 10 (4 binary), because '01' will be appended afterwards (total length is 10)

8 years agoAdd some missing changes
Jens Steube [Fri, 13 May 2016 13:31:58 +0000 (15:31 +0200)]
Add some missing changes

8 years agoAdd WinZip test.pl and test.sh
Jens Steube [Thu, 12 May 2016 20:15:44 +0000 (22:15 +0200)]
Add WinZip test.pl and test.sh

8 years agoFix WinZip multihash
Jens Steube [Thu, 12 May 2016 11:05:12 +0000 (13:05 +0200)]
Fix WinZip multihash

8 years agoChange some newline handling and startup infos
Jens Steube [Thu, 12 May 2016 10:44:15 +0000 (12:44 +0200)]
Change some newline handling and startup infos

8 years agoMerge branch 'master' of https://github.com/hashcat/oclHashcat
Jens Steube [Thu, 12 May 2016 07:27:07 +0000 (09:27 +0200)]
Merge branch 'master' of https://github.com/hashcat/oclHashcat

8 years agoPrepare for WinZip integration
Jens Steube [Thu, 12 May 2016 07:26:54 +0000 (09:26 +0200)]
Prepare for WinZip integration

8 years agoBalancing the workload turns out to be very efficient
jsteube [Thu, 12 May 2016 07:24:20 +0000 (09:24 +0200)]
Balancing the workload turns out to be very efficient

8 years agoUse VERSION_TAG only, but uncut
jsteube [Wed, 11 May 2016 10:19:02 +0000 (12:19 +0200)]
Use VERSION_TAG only, but uncut

8 years agoIn case the user did not specify --opencl-device-types and the user runs hashcat...
jsteube [Wed, 11 May 2016 09:58:51 +0000 (11:58 +0200)]
In case the user did not specify --opencl-device-types and the user runs hashcat in a system with only a CPU only he probably want to use that CPU. In such a case, automatically enable CPU device type support, since it's disabled by default.

8 years agoAdd more informative help text in case of faulty or no OpenCL installation
jsteube [Wed, 11 May 2016 09:38:52 +0000 (11:38 +0200)]
Add more informative help text in case of faulty or no OpenCL installation

8 years agoFix autotune to not actually crack hashes
Jens Steube [Tue, 10 May 2016 22:01:29 +0000 (00:01 +0200)]
Fix autotune to not actually crack hashes

8 years agoRemove debugging option from JIT compiler option
Jens Steube [Tue, 10 May 2016 17:30:11 +0000 (19:30 +0200)]
Remove debugging option from JIT compiler option

8 years agoMoved BUILD.md to root folder v3.00-beta
jsteube [Tue, 10 May 2016 17:16:57 +0000 (19:16 +0200)]
Moved BUILD.md to root folder

8 years agoPrepare to rename project into hashcat
jsteube [Tue, 10 May 2016 17:07:07 +0000 (19:07 +0200)]
Prepare to rename project into hashcat

This release markes the fusion of "hashcat" and "oclHashcat" into "hashcat".
It combines all features of all hashcat projects in one project.

8 years agoRemove OPENCL EXTENSION, failing on Intel OpenCL SDK
jsteube [Tue, 10 May 2016 08:22:13 +0000 (10:22 +0200)]
Remove OPENCL EXTENSION, failing on Intel OpenCL SDK

8 years agoSwitch back -m 7400 to old version
jsteube [Mon, 9 May 2016 21:35:25 +0000 (23:35 +0200)]
Switch back -m 7400 to old version

8 years agoRemove unroll access for Drupal for NV gpus
jsteube [Mon, 9 May 2016 21:14:26 +0000 (23:14 +0200)]
Remove unroll access for Drupal for NV gpus

8 years agoUse real registers for salt, high-end maxwells didn't like it with global memory...
jsteube [Mon, 9 May 2016 21:07:23 +0000 (23:07 +0200)]
Use real registers for salt, high-end maxwells didn't like it with global memory access

8 years agoRemove barrier from DCC1, high-end maxwells didn't like it
jsteube [Mon, 9 May 2016 19:51:36 +0000 (21:51 +0200)]
Remove barrier from DCC1, high-end maxwells didn't like it

8 years agoPrepare for a more dynamic #pragma unroll use
jsteube [Mon, 9 May 2016 19:32:12 +0000 (21:32 +0200)]
Prepare for a more dynamic #pragma unroll use

8 years agoFix compiler warnings
jsteube [Mon, 9 May 2016 17:23:37 +0000 (19:23 +0200)]
Fix compiler warnings

8 years agoMerge pull request #330 from RolfHashcat/patch-1
Jens Steube [Mon, 9 May 2016 10:36:54 +0000 (12:36 +0200)]
Merge pull request #330 from RolfHashcat/patch-1

Update hashcat_tuning.hctab

8 years agoUpdate hashcat_tuning.hctab
Rolf [Mon, 9 May 2016 10:31:02 +0000 (11:31 +0100)]
Update hashcat_tuning.hctab

Requested optimisation of opencl vector width values for GTX Titan Mk I.

8 years agoAdd some missing hash-modes to hashcat_tuning.hctab
jsteube [Mon, 9 May 2016 09:25:51 +0000 (11:25 +0200)]
Add some missing hash-modes to hashcat_tuning.hctab

8 years agoFix -m 9000 performance for AMD
Jens Steube [Mon, 9 May 2016 07:40:57 +0000 (09:40 +0200)]
Fix -m 9000 performance for AMD

8 years agoFix broken -m 1500 and -m 3000
jsteube [Mon, 9 May 2016 07:17:59 +0000 (09:17 +0200)]
Fix broken -m 1500 and -m 3000

8 years agoAdd compiler kernel hints for algorithms with fixed workgroup size
jsteube [Sun, 8 May 2016 22:58:04 +0000 (00:58 +0200)]
Add compiler kernel hints for algorithms with fixed workgroup size

8 years agoRewrote sha256crypt from scratch
jsteube [Sun, 8 May 2016 20:56:36 +0000 (22:56 +0200)]
Rewrote sha256crypt from scratch

8 years agoAnother some unroll to reduce register pressure
jsteube [Sun, 8 May 2016 16:57:44 +0000 (18:57 +0200)]
Another some unroll to reduce register pressure

8 years agoRemove some unroll to reduce register pressure
jsteube [Sun, 8 May 2016 16:29:54 +0000 (18:29 +0200)]
Remove some unroll to reduce register pressure

8 years agoEnable unrolling of SHA512 with HMAC on NV
jsteube [Sun, 8 May 2016 14:07:40 +0000 (16:07 +0200)]
Enable unrolling of SHA512 with HMAC on NV

8 years agoOptimize out the swap32() of sha256 in 7zip
Jens Steube [Sun, 8 May 2016 13:33:32 +0000 (15:33 +0200)]
Optimize out the swap32() of sha256 in 7zip

8 years agoExtended password length up to 32 for 7zip
jsteube [Sun, 8 May 2016 12:39:44 +0000 (14:39 +0200)]
Extended password length up to 32 for 7zip

8 years agoRename ALIAS_pre_maxwell and ALIAS_maxwell_budget to ALIAS_nv_use_simd
jsteube [Sun, 8 May 2016 11:45:49 +0000 (13:45 +0200)]
Rename ALIAS_pre_maxwell and ALIAS_maxwell_budget to ALIAS_nv_use_simd

8 years agoRun a few device compatibility checks on startup
jsteube [Sun, 8 May 2016 11:37:58 +0000 (13:37 +0200)]
Run a few device compatibility checks on startup

8 years agoCheck if device is little endian device
jsteube [Sun, 8 May 2016 10:58:43 +0000 (12:58 +0200)]
Check if device is little endian device

8 years agoOptimize some macros
jsteube [Sun, 8 May 2016 09:09:44 +0000 (11:09 +0200)]
Optimize some macros
Use rotate() instead of inline asm; breaks Titan speed

8 years agoUpdate autotune, respect kernel_loops_max
jsteube [Sat, 7 May 2016 23:56:32 +0000 (01:56 +0200)]
Update autotune, respect kernel_loops_max

8 years agoMerge branch 'master' of https://github.com/hashcat/oclHashcat
jsteube [Sat, 7 May 2016 21:51:50 +0000 (23:51 +0200)]
Merge branch 'master' of https://github.com/hashcat/oclHashcat

8 years agoReplace SHL+ADD with MAD
jsteube [Sat, 7 May 2016 21:51:37 +0000 (23:51 +0200)]
Replace SHL+ADD with MAD

8 years agoMerge pull request #329 from jfoug/master
Jens Steube [Sat, 7 May 2016 19:02:56 +0000 (21:02 +0200)]
Merge pull request #329 from jfoug/master

generated and generated2. Changed xNM command to ONM

8 years agoAdd maxwell budget to hashcat_tuning.hctab
jsteube [Sat, 7 May 2016 18:59:35 +0000 (20:59 +0200)]
Add maxwell budget to hashcat_tuning.hctab

8 years agoLittle bit inline assembly for the older nvidia cards
jsteube [Sat, 7 May 2016 18:45:16 +0000 (20:45 +0200)]
Little bit inline assembly for the older nvidia cards

8 years agogenerated and generated2. Changed xNM command to ONM
jfoug [Sat, 7 May 2016 17:58:10 +0000 (12:58 -0500)]
generated and generated2. Changed xNM command to ONM

8 years agoMerge pull request #328 from jfoug/master
Jens Steube [Sat, 7 May 2016 17:52:57 +0000 (19:52 +0200)]
Merge pull request #328 from jfoug/master

d3adone.rule: removed duplicates.

8 years agoFix pocl version string
jsteube [Sat, 7 May 2016 17:51:23 +0000 (19:51 +0200)]
Fix pocl version string

8 years agoAdd missing pre-maxwell cards
jsteube [Sat, 7 May 2016 17:44:02 +0000 (19:44 +0200)]
Add missing pre-maxwell cards

8 years agod3adone.rule: removed duplicates.
jfoug [Sat, 7 May 2016 17:34:25 +0000 (12:34 -0500)]
d3adone.rule: removed duplicates.

8 years agoUpdate hashcat_tuning.hctab to match best settings with new autotuner
jsteube [Sat, 7 May 2016 13:50:18 +0000 (15:50 +0200)]
Update hashcat_tuning.hctab to match best settings with new autotuner

8 years agoMerge branch 'master' of https://github.com/hashcat/oclHashcat
jsteube [Sat, 7 May 2016 11:21:59 +0000 (13:21 +0200)]
Merge branch 'master' of https://github.com/hashcat/oclHashcat

8 years agoOptimize a few modes for hashcat_tuning.hctab for budget NV cards
jsteube [Sat, 7 May 2016 11:15:21 +0000 (13:15 +0200)]
Optimize a few modes for hashcat_tuning.hctab for budget NV cards
Little experiment with MD4 based optimizations on -m 900 -m 1000 and -m 1100
Fix benchmark in case user fixes -u and -n values

8 years agoMerge pull request #327 from jfoug/master
Jens Steube [Sat, 7 May 2016 09:14:20 +0000 (11:14 +0200)]
Merge pull request #327 from jfoug/master

d3ad0ne rules. Converted all xNM commands into ONM

8 years agoCheck both kernel_accel and kernel_loops for some minimum value
Jens Steube [Fri, 6 May 2016 12:38:08 +0000 (14:38 +0200)]
Check both kernel_accel and kernel_loops for some minimum value

8 years agod3ad0ne rules. Converted all xNM commands into ONM
jfoug [Fri, 6 May 2016 10:27:40 +0000 (05:27 -0500)]
d3ad0ne rules. Converted all xNM commands into ONM

8 years agoAim for -n 64 in autotune
Jens Steube [Fri, 6 May 2016 09:52:19 +0000 (11:52 +0200)]
Aim for -n 64 in autotune

8 years agoFix -m 8500: volatile no longer required
Jens Steube [Fri, 6 May 2016 09:44:28 +0000 (11:44 +0200)]
Fix -m 8500: volatile no longer required

8 years agoMerge pull request #325 from jfoug/master
Jens Steube [Fri, 6 May 2016 07:15:59 +0000 (09:15 +0200)]
Merge pull request #325 from jfoug/master

dive.rule: duplicates found by running data have been removed.

8 years agoSimplify auto-tuning and benchmark routines
Jens Steube [Thu, 5 May 2016 21:21:15 +0000 (23:21 +0200)]
Simplify auto-tuning and benchmark routines
Decrease the time it takes to run a benchmark
Removed --benchmark-repeat, it creates no advantage
Fix some wording related to drivers
Dropped special 64-bit rotate() handling for NV
Cleanup SHA384
Cleanup try_run()

8 years agodive.rule: duplicates found by running data have been removed.
jfoug [Wed, 4 May 2016 22:17:06 +0000 (17:17 -0500)]
dive.rule: duplicates found by running data have been removed.

8 years agoUpdate to better scrypt tmto defaults
Jens Steube [Wed, 4 May 2016 09:55:10 +0000 (11:55 +0200)]
Update to better scrypt tmto defaults

8 years agoRemove pocl warning, add catalyst warning
Jens Steube [Wed, 4 May 2016 09:40:42 +0000 (11:40 +0200)]
Remove pocl warning, add catalyst warning

8 years agoFix test.sh
Jens Steube [Wed, 4 May 2016 09:21:20 +0000 (11:21 +0200)]
Fix test.sh

8 years agoLimit kernel_threads on CPU
jsteube [Wed, 4 May 2016 08:32:54 +0000 (10:32 +0200)]
Limit kernel_threads on CPU

8 years agoFix scrypt handling
jsteube [Wed, 4 May 2016 00:06:31 +0000 (02:06 +0200)]
Fix scrypt handling

8 years agoUnlock kernel_threads > 64
Jens Steube [Tue, 3 May 2016 22:52:53 +0000 (00:52 +0200)]
Unlock kernel_threads > 64

8 years agoimproved autotune engine
jsteube [Tue, 3 May 2016 10:37:43 +0000 (12:37 +0200)]
improved autotune engine

8 years agoFix -m 1500 multihash and benchmark
jsteube [Tue, 3 May 2016 08:57:23 +0000 (10:57 +0200)]
Fix -m  1500 multihash and benchmark
Fix -m  3000 multihash and benchmark
Fix -m  3100 multihash and benchmark
Fix -m  7700 multihash and benchmark
Fix -m  8500 multihash and benchmark
Fix -m 11500 multihash and benchmark

8 years agoFix -m 200 multihash and benchmark
jsteube [Tue, 3 May 2016 08:39:09 +0000 (10:39 +0200)]
Fix -m 200 multihash and benchmark