jsteube
2095e27d46
User Options: According to getopts manpage the last element of the option array has to be filled with zeros
7 years ago
jsteube
5b527f6aa6
Removed debugging code
7 years ago
jsteube
68b1ea4b68
OpenCL Runtime: Updated rocm detection
7 years ago
jsteube
9aa9725b91
Terminal: Display Set Cost/Rounds During Benchmarking
7 years ago
jsteube
e877c30ebc
OpenCL Kernels: Remove password length restriction to 16 for Cisco-PIX and Cisco-ASA hashes
...
Fixes #1488
7 years ago
jsteube
ef3cdddb18
Enforce environment variables to be set in cygwin environment
7 years ago
jsteube
01a7476ff8
Link hashcat native binary with -lrt to workaround problems with clock_gettime() on libc versions < 2.17
7 years ago
jsteube
213de0ba43
Simplify production versioning and fix variable content if there's no git installed
7 years ago
jsteube
084eed0a0d
Moved some gcc options around to different places in Makefile
7 years ago
TomasKorbar
8222b361f1
Modified makefile to add soname for libhashcat
...
closes #1496
7 years ago
jsteube
e21779112f
Fix some tabs in Makefile
7 years ago
philsmd
caa5c052ec
Makefile: disallow running 'make install' on windows systems (including cygwin/msys etc)
7 years ago
philsmd
0b79d65682
Makefile: fixed whitespace by using spaces instead of tabs where possible
7 years ago
jsteube
553668bb9f
Added hash-mode 16600 = Electrum Wallet (Salt-Type 1-3)
7 years ago
Jens Steube
7062425d2b
OpenCL Kernels: Use a special kernel to initialize the password buffer used during autotune measurements to reduce startup time
7 years ago
jsteube
7a8239b4c1
Fixed the maximum password length check in password reassembling function
...
Fixes #1492
7 years ago
jsteube
ce0cee0ac4
Stick to original JWT format from jwt.io
7 years ago
jsteube
0796c074c3
Added -m 16500 Kernels
...
Also changed function declaration of parser function from const hashconfig_t to just hashconfig_t
7 years ago
jsteube
5eeefb5506
More prepare for JWT
7 years ago
Jens Steube
bb806d777e
Merge pull request #1493 from mohemiv/master
...
added -m 16400 = CRAM-MD5 Dovecot
7 years ago
jsteube
7c1fb0140c
Files: Copy include/ folder and its content to case SHARED is set to 1 in Makefile
7 years ago
Arseniy Sharoglazov
928cf471fb
The hash-mode for "CRAM-MD5 Dovecot" changed from 10201 to 16400
7 years ago
Jens Steube
17f6324886
Merge pull request #1480 from matrix/osx_clock_gettime
...
Osx clock gettime
7 years ago
Arseniy Sharoglazov
798f05355f
added -m 10201 = CRAM-MD5 Dovecot
7 years ago
Gabriele Gristina
03fab4a345
Fix clock_gettime() on OSX (v2)
7 years ago
philsmd
fa679ce496
masks: skipping too large/small masks fixed
7 years ago
Gabriele Gristina
43ce4f6135
Add checks for clock_gettime() support in Makefile
7 years ago
Gabriele Gristina
4f8343b8b1
Fix clock_gettime() on OSX
7 years ago
philsmd
bf656774bb
fixes #1279 : added -m 16300 = Ethereum Pre-Sale Wallet, PBKDF2-HMAC-SHA256
7 years ago
jsteube
838a71637a
Remove fixed iteration count for apple secure notes
7 years ago
jsteube
77f7ea52a5
Fix missing defined keyword
7 years ago
jsteube
458fbcbce4
Merge branch 'master' of https://github.com/hashcat/hashcat
7 years ago
jsteube
535945b03a
Fix rename $SN$ signature to $ASN$ for apple secure notes
7 years ago
jsteube
d9c5c42966
Rename $SN$ signature to $ASN$ for apple secure notes
7 years ago
jsteube
0d89ddfcd9
Finish adding hash-mode 16200 = Apple Secure Notes
7 years ago
jsteube
94bfd28c74
More preparations for hash-mode 16200
7 years ago
Rosen Penev
aece2cc4be
Get rid of hc_ctime too. Also fix some cppcheck confusion with nvapi.
...
Missed from last pull request.
7 years ago
Jens Steube
c41af948ba
Merge pull request #1471 from neheb/32to64
...
remove special time handling in hashcat.
7 years ago
jsteube
bbe9b723e1
Timer: Switch from gettimeofday() to clock_gettime() to workaround problems on cygwin
7 years ago
Rosen Penev
1c5915cae3
remove special time handling in hashcat.
...
There's a way to get 64-bit time_t and 64-bit stat in MinGW, so use that.
7 years ago
jsteube
ea795ef5ab
Move out code to check for hashfile or hash on commandline into dedicated function
7 years ago
Jens Steube
f2ce04e912
Allow relative use of -I in build_opts
7 years ago
jsteube
1184ae1cdd
Added option --benchmark-all to benchmark all hash-modes not just the default selection
7 years ago
jsteube
f817652bbb
Terminal: Send clear line code to the same output stream as the next message following
7 years ago
jsteube
4414b520c8
remove unused variables
7 years ago
jsteube
829ea605c5
Self Test: Skip self-test for mode 8900 user-configurable scrypt settings are incompatible to fixed settings in the self-test hash
...
Self Test: Skip self-test for mode 15700 because settings are too high and create a too long startup time
7 years ago
jsteube
f573c1d96d
Add optimized -m 16100 kernels
7 years ago
jsteube
8ec2af97ed
Eventual fix for unicode folder name issue on windows
7 years ago
jsteube
b864fa5ba7
Removed option --gpu-temp-retain that tried to retain GPU temperature at X degrees celsius, please use driver specific tools
...
Removed option --powertune-enable to enable power tuning, please use driver specific tools
7 years ago
jsteube
9c7b56165c
Reset PID controller history data for GPU fan speed in case user resumes from a paused session
7 years ago
jsteube
0fbaff8b90
Revert: Have -m 16100 always running in keep-guessing mode
7 years ago
jsteube
cda0d7dd35
Have -m 16100 always running in keep-guessing mode
7 years ago
jsteube
5847067c96
First working -m 16100 kernel
7 years ago
jsteube
7a54490da2
More -m 16100 preparations
7 years ago
philsmd
c9b16d76e6
self-tests: always work with copies of the self-test hash
7 years ago
jsteube
42d1db4294
Fixed a restore issue leading to "Restore value is greater than keyspace" in case mask-files or wordlist-folders were used
7 years ago
jsteube
04a30e6071
Show [r]esume in prompt in pause mode only and show [p]ause in prompt in resume mode only
...
Fixes https://github.com/hashcat/hashcat/issues/1459
7 years ago
Rosen Penev
dee6934f32
Fix cast qual with double pointers
7 years ago
jsteube
e93fa25454
Allow the use of hashcat_init() without a callback function
7 years ago
philsmd
9d58ddd9f6
fixed strtok_r () calls, could prevent memory crashes
7 years ago
philsmd
d382400805
fixes #1450 : allow longer crc32 data length field for -m 11600
7 years ago
philsmd
ef6b20cc30
increase HCBUFSIZ_LARGE and truncate too large strings when copied to old_buf in events
7 years ago
philsmd
f86854a0c8
fixes #1447 : prevent hexifying the [] passwords again in --show runs
7 years ago
philsmd
425290bf2b
use hc_asprintf () for PR #1451 instead of snprintf ()
7 years ago
philsmd
612a50408c
in case of a parser error we always should include the actual error message even if hash is long
7 years ago
Jens Steube
6c34a8074d
Merge pull request #1448 from neheb/master
...
Fix a bunch of cast-qual warnings
7 years ago
Jens Steube
6047f591ff
Merge pull request #1444 from neheb/master
...
Replace char[] with *char
7 years ago
Rosen Penev
353d3c3008
Fix a bunch of cast-qual warnings
7 years ago
Jens Steube
78a78c233c
Merge pull request #1445 from neheb/strtol
...
Finish conversion to strtol family
7 years ago
Rosen Penev
b3adf1dc30
Finish conversion to strtol family
7 years ago
Rosen Penev
8458f07a57
Replace char[] with *char
...
The latter is more correct. The side effect is that filesize becomes smaller.
gcc clang
before
O2
756112 762120
Os
674192 680216
after
O2
748456 760728
Os
666536 674728
7 years ago
Chick3nman
69bdac9cfe
Fixed spelling mistake
...
drastical -> drastically
7 years ago
Jens Steube
ea5425b344
Merge pull request #1439 from neheb/master
...
Change atoi family to strtol family
7 years ago
jsteube
1b312d14fd
Added hash-mode 16000 = Tripcode
7 years ago
Rosen Penev
6b0ee145c4
Fix missing stuff
7 years ago
philsmd
227a5aa092
fix #1435 : --show/--left hash parsing fixed for hashes with long salts
7 years ago
jsteube
a5c79de43b
Update LZMA SDK files to latest (2017-08-28, 17.01 beta)
7 years ago
jsteube
4b5110281d
Unset production flag during development phase
7 years ago
jsteube
f2ea05ca69
Final v4.0.1 commit
7 years ago
Royce Williams
59701ee7ed
change wording when user tries -O, but not needed
7 years ago
philsmd
d93b591dc5
cosmetic: updated comment about VERSION_EXPORT
7 years ago
philsmd
7825846e00
for 1414: add dependency on the shared root folder, fix parallel builds
7 years ago
jsteube
f8c687f529
Fixed compile of kernels on AMD systems on windows due to invalid detection of ROCm
7 years ago
Rosen Penev
1109017a53
Change atoi family to strtol family
...
Suggested by clang tidy
7 years ago
Rosen Penev
3ba84f17f1
More clang tidy fixes
7 years ago
Rosen Penev
0555613305
Remove else statement after return
...
Suggested by clang tidy
7 years ago
Rosen Penev
496fc309fe
Add const to a few parameters.
...
Suggested by clang-tidy
7 years ago
Rosen Penev
2a56a229fa
logfile: Use struct directly instead of casting.
...
Gets rid of a clang warning
7 years ago
Rosen Penev
4165f94e51
Change memcpy to memmove since it overlaps
7 years ago
Rosen Penev
51a5e1cc51
Fix a few memory leaks
7 years ago
Jens Steube
e6978c23c0
Merge pull request #1408 from neheb/patch-2
...
Switch debug to -Og
7 years ago
philsmd
c06c5ddd48
fixes #1412 : sed for VERSION_EXPORT fixed compilation problem
7 years ago
jsteube
baa2f7e44a
Remove unsused variable user_options_extra in autotune.c
7 years ago
jsteube
0ac3dcbf76
Unset production flag during development phase
7 years ago
jsteube
28b76bd387
Do not use run_kernel_memset() for password candidate initialization in autotune
7 years ago
jsteube
c6390deeb1
Remove temporary warmup for benchmark
7 years ago
jsteube
5875867efb
Merge branch 'master' of https://github.com/hashcat/hashcat
7 years ago
jsteube
bbc53b7fe4
Fix initialization of example password candidates for slow hashes in autotune
7 years ago
Rosen Penev
8d4b08b3ab
Switch debug to -Og
...
Og provides a more realistic debugging experience compared to -g (which uses the highly inefficient O0)
7 years ago
Jens Steube
f3984b7413
Start with the original device name
7 years ago
Jens Steube
afdc3fac74
Fix a shadowed variable
7 years ago
jsteube
966cff80bc
Allow device name substrings in hashcat.hctune
7 years ago
jsteube
c6d7fc845d
Restore VERSION_TAG in Makefile
7 years ago
jsteube
55c8c287a5
Add missing selftest functionality for OPTS_TYPE_INIT2/OPTS_TYPE_LOOP2 based kernels
7 years ago
philsmd
1030f5b44e
fixes #1403 : fixed extraction of the version number for archives without .git dir
7 years ago
Jens Steube
77f3eb2864
OpenCL Kernels: Thread-count is set to hardware native count except if -w 4 is used then OpenCL maximum is used
7 years ago
jsteube
d0f5c9f2b3
Rename MacOS to macOS
7 years ago
Jens Steube
9568837b12
Revert "Replace PRIu64 with ju. Less verbose."
7 years ago
jsteube
980f04a7b6
Rename instances of OSX to MacOS
7 years ago
jsteube
bf112870a3
OpenCL Runtime: Improved detection for AMD and NV devices on OSX
7 years ago
jsteube
2e85972ec5
Add special detection for NVIDIA OpenCL devices on OSX
7 years ago
Rosen Penev
869b5fb522
Replace PRIu64 with ju. Less verbose.
7 years ago
jsteube
b99eb92b56
Re-enable amdgpu-pro, do some warm-up in benchmark mode
7 years ago
jsteube
cf1ed8d75c
Update ROCm requirement
7 years ago
jsteube
635b2bfd50
Do initial OpenCL device thread management a bit different
7 years ago
jsteube
f84abdef1c
Merge branch 'master' of https://github.com/hashcat/hashcat
7 years ago
jsteube
0d192df517
Run integreted GPU at 8 threads max
7 years ago
philsmd
2c963054f3
show/left: fix new variable redeclaration bug
7 years ago
jsteube
048b14f6c6
Fix missed set of attribute skipped_temp
7 years ago
jsteube
d7da964a7c
Fix missed set of attribute skipped_temp
7 years ago
jsteube
84312bfae6
Fix missed set of attribute skipped_temp
7 years ago
philsmd
276879b1ea
show/left: improve speed of --show/--left again by using a single malloc/free for all nodes and reduce RAM by using the first nodes hash information
7 years ago
philsmd
433513a47f
get rid of last_node in pot_tree_entry, we update the first node of the list instead of the last one
7 years ago
jsteube
e16e878e59
Update potential trap 6 (apple only) algorithms, user can override with --force
7 years ago
jsteube
6c16b7f3ee
Version tag rc6
7 years ago
philsmd
6542331101
show/left: improved the performance by using a tree and linked node structure
7 years ago
jsteube
73bba00286
Autotune: Do a pre-autotune test run to find out if kernel runtime isabove some TDR limit
...
HCtune File: Remove apple related GPU entries to workaround Trap 6 error
7 years ago
jsteube
5265803493
Add some sanity check for benchmark mode
7 years ago
jsteube
dae6bc8657
Version tag rc5
7 years ago
jsteube
51aba5517f
Update some of the visual indicator of active options when benchmarking
7 years ago
jsteube
d64f6e0912
Version tag rc4
7 years ago
jsteube
bfd3c57308
Fixed a calculation error in get_power() leading to errors of type "BUG pw_add()!!"
7 years ago
jsteube
f55350584f
Version tag rc3
7 years ago
jsteube
5e6d43107e
Startup: Check and abort session if outfile and wordlist point to the same file
7 years ago
jsteube
583849cd23
Fix missing free() for memory allocated with asprintf()
7 years ago
jsteube
6c251d48a4
Fixed format type in debugging log
7 years ago
Jens Steube
48684d9fcf
Merge pull request #1383 from philsmd/master
...
fixed the nanosecond access time problem, also working on macos now
7 years ago
Jens Steube
3040e6b669
Merge pull request #1382 from neheb/master
...
replace more snprintf calls with hc_asprintf.
7 years ago
Jens Steube
a445f48a39
Merge pull request #1379 from neheb/patch-1
...
Adjust hcmalloc to be the same as calloc
7 years ago
philsmd
a10a8427cb
fixed the nanosecond access time problem, also working on macos now
7 years ago
Rosen Penev
4ba19fa7c1
replace more snprintf calls with hc_asprintf.
7 years ago
neheb
baeb51ad38
Adjust hcmalloc to be the same as calloc
...
calloc is almost equivalent to malloc + memset(0) except that it's faster with big allocations because of OS trickery. It also protects against integer overflow and throws a null pointer on overflow whereas malloc does not.
7 years ago
jsteube
2670791916
Improved dictstat header check
7 years ago
jsteube
822ae7b9a9
RC2
7 years ago
jsteube
719f2656b1
Fix empty line check in _old_apply_rule()
7 years ago
philsmd
d8e7f5f05c
fixed problem with cached word lists (dictstat2): nanoseconds must be considered/ignored too
7 years ago
Jens Steube
4a4eb0ef7f
Merge pull request #1376 from neheb/make
...
Deny warnings with -Wno instead of commenting them out.
7 years ago
Jens Steube
a037ba0c73
Merge pull request #1375 from neheb/warning
...
Fix for clang and some cppcheck warnings
7 years ago
Rosen Penev
da621fa3be
fix some clang -Weverything warnings
7 years ago
Rosen Penev
148c4335aa
fix printf formats.
7 years ago
Rosen Penev
190fc9bf17
Deny warnings with -Wno instead of commenting them out.
...
Ease of use change. I usually replace -W with -Weverything and silencing these warnings involves adding a bunch of -Wno.
Also sorted alphabetically.
7 years ago
Chick3nman
68db9c438d
Style change for benchmark mode output
7 years ago
Chick3nman
ee430ead14
Styling change for benchmark mode output
7 years ago
Chick3nman
5e05c6c14e
Styling change for benchmark mode output
7 years ago
Chick3nman
0a20640cc9
Changing mode display styling
7 years ago
Chick3nman
59927ac923
Switch hash-mode in benchmark from DEBUG to Production
...
moved event_log_info (hashcat_ctx, "Hashmode: %d", hashconfig->hash_mode); to Production segment, skipping DEBUG check
7 years ago
Rosen Penev
ec55209254
remove hc_sleep and _msec.
...
MinGW defines sleep and usleep so just use those directly.
7 years ago
Jens Steube
55eaff3a45
Merge pull request #1365 from Fist0urs/DPAPI_reworked
...
-m 15300 reworked + splitted in 15300/15900
7 years ago
Fist0urs
e3cb3e9b4c
test.pl ready and 0 error. Ready for PR
7 years ago
jsteube
92df9592e6
Merge branch 'master' of https://github.com/hashcat/hashcat
7 years ago
jsteube
81c2ab2ded
OpenCL Runtime: On AMD GPU, recommend AMD ROCm driver for Linux
7 years ago
philsmd
48f153b5e2
typo in Makefile
7 years ago
Fist0urs
a6294537fd
Splitted DPAPI kernel in 2 to increase performances
7 years ago
jsteube
036d4874c7
Update version numbers to v4.0.0-RC1
7 years ago
jsteube
57a70710ae
Small wordlist loading performance optimization
7 years ago
jsteube
f55446b6f3
HCdict File: Renamed file from hashcat.hcdict to hashcat.hcdict2 and add header because versions are incompatible
7 years ago
Jens Steube
24a78574e2
Fix use of veracrypt-pim
7 years ago
jsteube
2517292ac1
Removed option --weak-hash-check (zero-length password check) to increase startup time, it also causes many Trap 6 error on OSX
7 years ago
jsteube
bac000667c
Fix wpa_parse_hash(), the wpa esalt was partially initialized beforehand, we can not simply memset it to zero
7 years ago
jsteube
617dbb97ba
Prepare migration -m 15800 into -m 2500
7 years ago
jsteube
7a278ef035
Fix overflow in out_push()
7 years ago
Jens Steube
8802b12644
Merge pull request #1358 from 0xbsec/master
...
Fix overflow in mangle_dupechar_last function
7 years ago
jsteube
5551337cf6
Show advice to use optimized kernels only if there's actually one for this hash-mode
7 years ago
mhasbini
de7ccd88ef
Fix overflow in mangle_dupechar_last function
7 years ago
jsteube
34c5eac550
Fixed the use of --veracrypt-pim option. It was completely ignored without showing an error
7 years ago
jsteube
3aec5ecf1c
Add some advice and notes about pure and optimized OpenCL kernels
7 years ago
jsteube
0675f72c4d
Fix --stdout in -a 7 mode
...
Fixes https://github.com/hashcat/hashcat/issues/1354
7 years ago
jsteube
2b4be5d093
Move AMD ROCm driver check out of a --force condition
7 years ago
jsteube
3b89153c2d
Fix use of --hex-salt with SALT_TYPE_GENERIC
7 years ago
jsteube
d05f40ab98
Remove OpenCL build option -O2 fixed for ROCm and AMDGPU-PRO using AMD_OCL_BUILD_OPTIONS_APPEND, no longer needed with latest ROCm
7 years ago
Jens Steube
3e597f4c7b
Revert use of zero-copy for main password buffer using CL_MEM_ALLOC_HOST_PTR and hc_clEnqueueMapBuffer()
...
Caused problems with WPA cracking performance on NVidia when not using rules
7 years ago
jsteube
0dfe015301
Fixed a parser error in multiple modes not checking for return code, resulting in negative memory index writes
7 years ago
jsteube
8ee75141ea
OpenCL Runtime: Set OpenCL build option -O2 fixed for ROCm and AMDGPU-PRO using AMD_OCL_BUILD_OPTIONS_APPEND
7 years ago
jsteube
6d112aeb39
OpenCL Kernels: Rewritten Keccak kernel to run fully on registers and partially reversed last round
7 years ago
Jens Steube
8fb583f0a7
Simplify kernel thread calculation for SCRYPT based algorithms
7 years ago
Jens Steube
12295dcd90
Restore v3.6.0 kernel thread handling of scrypt
7 years ago
Jens Steube
fcd20fbacb
OpenCL Runtime: Fall back to 64 threads default (from 256) on AMD GPU to prevent creating too many workitems
7 years ago
jsteube
86f67517a0
Allow higher number of kernel_loops for -a 0 mode in case they are slow hashes
7 years ago
jsteube
a0be36d7b8
Fix compile error caused by __add3()
7 years ago
jsteube
35a24df55e
Fixed an integer overflow in hash buffer size calculation
7 years ago
jsteube
f6fe5657a3
Fixed an integer overflow in masks not skipped when loaded from file
7 years ago
jsteube
2bc2137203
Remove some debugging statement
7 years ago
jsteube
688a580d6c
Fixed an integer overflow in innerloop_step and innerloop_cnt variables
7 years ago
Jens Steube
b58da88174
Merge pull request #1343 from philsmd/master
...
fixes show output of -m 9710, -m 9810 and -m 10410
7 years ago
philsmd
f1c3f952ba
fixes show output of -m 9710, -m 9810 and -m 10410
7 years ago
Royce Williams
21bf521f30
Merge remote-tracking branch 'upstream/master'
7 years ago
Royce Williams
1a162e2ab4
Clarify Blake2b label
7 years ago
jsteube
1d04de3a8e
Limit kernel-loops in straight-mode to 256, therefore allow rules to be stored in constant memory
7 years ago
jsteube
51372438fe
Allow OpenCL kernel inline assembly if ROCm drivers was detected
7 years ago
Royce Williams
cd69cd3c0b
Merge remote-tracking branch 'upstream/master'
7 years ago