1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-29 18:08:13 +00:00
Commit Graph

4410 Commits

Author SHA1 Message Date
jsteube
ad1ce462d1 Get rid of ceil() in OpenCL kernels 2017-08-17 13:43:35 +02:00
jsteube
53f53fe014 Reduced number of required registers in SIP based on maximum possible esalt length 2017-08-17 12:16:49 +02:00
jsteube
cd5470f00e Add missing benchmark salt length default for SIP mode 2017-08-17 12:13:47 +02:00
jsteube
ba8db545b0 Merge branch 'philsmd-pr/descrypt_fix' 2017-08-17 12:12:15 +02:00
jsteube
92a288fbd3 Resolved merge conflict by incorporating both suggestions. 2017-08-17 12:12:03 +02:00
Jens Steube
c92b4e1eb2 Merge pull request #1333 from philsmd/master
fixes #1278: allow the '#' character within the username of DCC2 hashes
2017-08-17 11:52:12 +02:00
philsmd
0d6b9d0419
fixes #1313: keep/print the original salt for descrypt hashes 2017-08-17 11:29:04 +02:00
jsteube
9ee5da40e0 Workaround rocm compiler error for -m 15300 2017-08-17 11:25:34 +02:00
jsteube
88e995ddcf Replace some SIMD related function calls 2017-08-17 11:18:39 +02:00
jsteube
5b5bdf3889 Replace some SIMD related function calls 2017-08-17 10:18:17 +02:00
jsteube
9a46442a80 Fix CPU performance for slow hashes with SIMD 2017-08-17 09:42:42 +02:00
philsmd
1d5dbab258
fixes #1278: allow the '#' character within the username field of DCC2 hashes 2017-08-17 07:51:19 +02:00
Jens Steube
932587c042 Merge pull request #1332 from philsmd/master
replace all time_t/__time64_t with hc_time_t and all related functions
2017-08-16 20:27:39 +02:00
jsteube
967e96728d Make all the OpenCL kernel function includes static 2017-08-16 20:27:17 +02:00
philsmd
e33e828bc6
replace all time_t/__time64_t with hc_time_t and all related functions 2017-08-16 19:43:41 +02:00
jsteube
21e9c63d46 Fix rotl64() the same was as rotr64() 2017-08-16 17:58:33 +02:00
Jens Steube
a697ad87ae Merge pull request #1331 from philsmd/master
use an overflow check instead of a hard coded max. value for ETA
2017-08-16 17:58:08 +02:00
philsmd
1644ac30b5
use an overflow check instead of a hard coded value for ETA 2017-08-16 17:51:35 +02:00
jsteube
58012ada0c Fall back to old rotr64 optimization for AMD 2017-08-16 16:14:46 +02:00
jsteube
0dcec01623 Make size_t what size_t is 2017-08-16 16:14:08 +02:00
jsteube
ac9bc55c9e Fall back to 64 threads default (from 256) because modern GPU create too many workitems which then results in too less GPU memory available 2017-08-16 16:13:28 +02:00
Jens Steube
ac85163723 Merge pull request #1330 from philsmd/master
reformatting; replaced some tabs with spaces
2017-08-16 13:52:08 +02:00
philsmd
4a89172140
reformatting; replaced some tabs with spaces 2017-08-16 13:46:40 +02:00
jsteube
1cf6a078b0 Make tmp_size a real size_t as with latest GPU number can exceed 2^32 2017-08-16 13:03:52 +02:00
Jens Steube
724374c885 Merge pull request #1329 from philsmd/master
fixes #1321: new option --wordlist-autohex-disable
2017-08-16 12:45:44 +02:00
philsmd
bc1a101d2b fixes #1321: new option --wordlist-autohex-disable 2017-08-16 12:42:28 +02:00
Jens Steube
79a0345430 Merge pull request #1328 from philsmd/master
fixed the usage of getopt_* ()
2017-08-16 11:54:41 +02:00
philsmd
42ee091772
fixed the usage of getopt_* () 2017-08-16 11:46:17 +02:00
jsteube
175931575c Fixed the version number used in the restore file header
Fixes https://github.com/hashcat/hashcat/issues/1320
2017-08-14 12:10:42 +02:00
Jens Steube
e8c87107c2 Merge pull request #1323 from philsmd/master
formatting: remove tabs in tools/package_bin.sh
2017-08-14 12:03:29 +02:00
philsmd
9f097b473f
formatting: remove tabs in tools/package_bin.sh 2017-08-14 09:04:37 +02:00
jsteube
ec874c1d59 Optimized the following pure kernel rule engine functions:
- mangle_lrest()
- mangle_lrest_ufirst()
- mangle_urest()
- mangle_urest_lfirst()
- mangle_trest()
- mangle_toggle_at()
- mangle_reverse()
- mangle_dupeword()
- mangle_reflect()
- mangle_rotate_left()
- mangle_rotate_right()
- mangle_switch_first()
- mangle_switch_last()
- mangle_switch_at()
- mangle_title_sep()
- mangle_title_sep()
Added some helper functions:
- generate_cmask()
- append_four_byte()
- append_three_byte()
- append_two_byte()
- append_one_byte()
- append_block()
- exchange_byte()
Removed some helper functions:
- upper_at()
- lower_at()
- toggle_at()
- mangle_switch()
NOTE: Changes need to be backported to CPU when finished
2017-08-13 16:43:46 +02:00
jsteube
6217f11028 Backport missing boundary check to CPU 2017-08-12 13:34:21 +02:00
jsteube
9a57c4b20e Fix missing boundary check in pure kernel rule engine 2017-08-12 13:32:05 +02:00
jsteube
dcaa91a88f Fix rule engine function call in amp_a0 2017-08-12 13:28:31 +02:00
jsteube
0b0abb5c12 Prepare pure kernel rule engine for performance optimization 2017-08-12 13:04:52 +02:00
jsteube
e47506c610 Use pure kernel rule engine for --stdout 2017-08-12 12:11:48 +02:00
jsteube
98b4aab9d0 Update inc_rp_optimized to inc_rp for pure kernels 2017-08-11 23:51:17 +02:00
jsteube
cb1fe251de Add missing functions to pure kernel rule engine 2017-08-11 22:58:37 +02:00
jsteube
07b54c1257 Replace code to use pure kernel rule engine for slow hashes 2017-08-11 16:21:19 +02:00
jsteube
8a0d21360b Prepare for pure kernel rule engine support 2017-08-11 16:09:12 +02:00
jsteube
34d882a116 Rename inc_rp.X to inc_rp_optimized.X 2017-08-11 11:25:47 +02:00
jsteube
f5ee3db5a6 Update cpu rule engine to support passwords up to length 256 2017-08-11 11:15:43 +02:00
Jens Steube
1ed6576c25 Merge pull request #1316 from philsmd/pr/NULLvsDoubleFree
fixed double-free problem if OpenCL/ folder is missing (and e.g. shar…
2017-08-10 15:50:15 +02:00
Jens Steube
fcc8b4be3f Merge pull request #1315 from philsmd/master
fixes #1314: do not use the defines INSTALL_FOLDER/SHARED_FOLDER but the values from folder config
2017-08-10 15:50:05 +02:00
philsmd
611b62a25d
fixed double-free problem if OpenCL/ folder is missing (and e.g. shared folder == session folder) 2017-08-10 15:05:47 +02:00
philsmd
16df4564ce
fixes #1314: do not use the defines INSTALL_FOLDER/SHARED_FOLDER in read_restore (), but the corresponding values from the folder config 2017-08-10 14:39:54 +02:00
jsteube
ae5a97a95b Remove -O from test.sh 2017-08-10 13:57:21 +02:00
jsteube
68a8f70edb Mix in pure kernel functions in various optimized kernels 2017-08-10 13:56:53 +02:00
jsteube
66f7590883 Mix in pure kernel functions in various optimized kernels 2017-08-10 12:38:42 +02:00