Jens Steube
57a8923b81
Update complete SCRYPT workload tuning logic.
...
A detailed description will follow.
Set -m 8900 defaults to 16k:8:1 (default scrypt settings).
2021-04-16 20:17:53 +02:00
Gabriele Gristina
77e328d659
Removed option --example-hashes, now is an alias of --hash-info
2020-12-29 07:56:20 +01:00
Gabriele Gristina
3ed1f0d840
Added new option: --hash-info
2020-12-29 04:58:58 +01:00
Jens Steube
04d5e5a119
New Attack-Mode: Association Attack. Like JtR's single mode. Very early
...
stage. See hashcat Forum for detailed writeup.
2020-09-29 15:56:32 +02:00
Jens Steube
9560bfc7a4
Fixed internal access on module option attribute OPTS_TYPE_SUGGEST_KG with the result that it was unused
2020-08-04 15:15:06 +02:00
Jens Steube
dc9f4e993a
Fix for #2387 , but need some testing first
2020-06-03 11:10:31 +02:00
Jens Steube
4ed18af14c
Make VeraCrypt PIM configuration mechanism easier to read
2020-02-08 12:24:47 +01:00
philsmd
ebd904a179
outfile: improved version of OUTFILE_FORMAT assignment
2020-01-24 18:43:13 +01:00
philsmd
13675d2965
Fixes #2255 : new --outfile-format with support for timestamps
2020-01-23 09:03:22 +01:00
Jens Steube
e72bd958ba
Fix some formating
2020-01-15 20:27:08 +01:00
philsmd
844f12abf7
use BRAIN_SERVER_TIMER instead of BRAIN_SERVER_DUMP_EVERY
2020-01-11 11:25:37 +01:00
philsmd
c826558b49
fixes #2271 : added --brain-server-timer for scheduled backup time
2020-01-11 10:46:11 +01:00
Jens Steube
d0fb171da9
Added new options --backend-ignore-cuda and --backend-ingore-opencl, to ignore CUDA and/or OpenCL interface from being load on startup
2020-01-03 11:51:24 +01:00
Jens Steube
d71afd6d7a
Prepare new --hook-threads feature
2019-11-02 10:29:34 +01:00
Jens Steube
5a4cfe9fa3
Allow workload-profile change in benchmark mode
2019-10-25 11:16:06 +02:00
Jens Steube
95920f1ef3
Startup Checks: Prevent the user to modify options which are overwritten automatically in benchmark mode
2019-10-25 10:05:56 +02:00
Rosen Penev
6dc72ebcc5
Run through Clang's readability-else-after-return
...
There's no need for a return statement in an else path. Just take it out.
Simplifies the code slightly.
2019-08-03 22:37:38 -07:00
Jens Steube
3c4f4df771
Rename some more variables
2019-05-01 15:52:56 +02:00
Jens Steube
6fd936b43a
Removed --opencl-platforms filter in order to force backend device numbers to stay constant
2019-04-30 16:24:13 +02:00
Jens Steube
4b986de5fb
Prepare native CUDA hybrid integration
2019-04-25 14:45:17 +02:00
jsteube
a22483f540
Remove some misleading error message
2019-04-07 00:35:33 +02:00
Jens Steube
cf8c815caf
Merge pull request #1975 from Chick3nman/master
...
Add --status-json flag
2019-04-03 09:18:16 +02:00
jsteube
708a86fb59
Move old ascii_digest() to hashes.c and rename it to hash_encode(), also remove some unused includes
2019-03-31 17:39:00 +02:00
Chick3nman
0cc365139b
Added sanity check to confirm --machine-readable and --status-json do not run at the same time.
...
Fixed typo in existing sanity check.
2019-03-27 06:53:34 -05:00
Chick3nman
81bc4b9ee9
Fixed Typo
2019-03-27 05:44:09 -05:00
Chick3nman
2358220cbe
Prepare for --status_json
...
add option, enum, autocomplete, status function placeholders
2019-03-27 05:09:24 -05:00
jsteube
7d4bea41a0
Get rid of OpenCL/inc_hash_constants.h and OpenCL/inc_hash_functions.cl
2019-03-21 23:00:38 +01:00
jsteube
218322f630
Support for inline VeraCrypt PIM Brute-Force
2019-03-15 21:48:49 +01:00
jsteube
bfdeb6eac5
Move test_instruction() to opencl_ctx_devices_init()
2019-03-02 17:58:01 +01:00
jsteube
512b8ed5d6
Add some verification code to detect the "7z e" problem
2019-02-27 09:47:28 +01:00
jsteube
54edd16746
Clean up some code
2019-01-06 13:48:41 +01:00
jsteube
0186f025d3
Add support for hash modules to usage.c
2019-01-06 13:23:45 +01:00
jsteube
ea22065b9c
Get rid of hash_mode in user_options.c
2018-12-19 10:13:51 +01:00
jsteube
3cce072f40
Get rid of strhashtype()
2018-12-17 10:33:21 +01:00
philsmd
7646509234
fixed validation of the --brain-client-features value
2018-12-10 13:16:41 +01:00
Jens Steube
79263c142d
Fix parameter name spelling
2018-11-26 09:38:13 +01:00
Jens Steube
fca4f7e8a6
Prepare to use --keyboard-layout-mapping for algorithms other than TC/VC
2018-11-25 18:21:07 +01:00
Jens Steube
e770449702
OpenCL Runtime: Use our own yielding technique for synchronizing rather than vendor specific
...
Parameter: Rename --nvidia-spin-damp to --spin-damp (now accessible for all devices)
2018-11-20 12:32:24 +01:00
jsteube
1156cf7207
Fixed invalid hardware monitor detection in benchmark mode
...
Fixes https://github.com/hashcat/hashcat/issues/1787
2018-11-17 14:40:30 +01:00
Jens Steube
5d5ac1c935
Prepare for on-the-fly keyboard layout substituations required to crack booting TrueCrypt/VeraCrypt volumes
2018-11-15 14:35:51 +01:00
Jens Steube
2aff01b20e
Hardware Monitor: Renamed --gpu-temp-abort to --hwmon-temp-abort
...
Hardware Monitor: Renamed --gpu-temp-disable to --hwmon-disable
Fixed invalid warnings about throttling in case --hwmon-disable was used
Fixes https://github.com/hashcat/hashcat/issues/1757
2018-11-09 12:48:27 +01:00
Jens Steube
2a366741a5
Added new option --kernel-threads to manually override the automatically calculated number of threads
2018-11-06 16:06:06 +01:00
Jens Steube
d4dad3e1e3
Added support to use --stdout in brain-client mode
2018-11-01 12:21:32 +01:00
Jens Steube
3b8abb7f0d
Fixed missing call to WSACleanup() to cleanly shutdown windows sockets system
2018-11-01 11:09:37 +01:00
Jens Steube
3faf92a261
Merge pull request #1748 from philsmd/master
...
fixes #1744 : added --stdin-timeout-abort to allow a custom time to wait before abort
2018-10-31 12:05:39 +01:00
philsmd
dbb81fb48e
fixes #1744 : added --stdin-timeout-abort to allow a custom time (in seconds) to wait before abort (use 0 to disabled it)
2018-10-31 11:37:06 +01:00
Jens Steube
2fbd711495
Move WSAStartup() call back to user_options
2018-10-31 11:14:21 +01:00
Jens Steube
61ded2bd54
Fixed missing call to WSAStartup() and client indexing in order to start the brain server on windows
2018-10-31 10:50:16 +01:00
Jens Steube
d6fe2c7cd4
The hashcat brain
2018-10-28 16:47:13 +01:00
jsteube
d96b649751
Add support for -a 1 in -S mode
2018-10-20 18:00:42 +02:00
Chrjsen
91bab324b3
Fixed spelling error in user_options.c
2018-10-04 21:31:13 +02:00
jsteube
d6ed195db9
Add -a 1 support for slow candidates mode
2018-09-01 23:12:56 +02:00
jsteube
52c52836e3
Add new option --slow-candidates which allows hashcat to generate passwords on-host
2018-09-01 12:31:17 +02:00
RAN1
ec1b6442b1
Allow hwmon when temp abort is disabled by refactoring guards when hwmon is not present
2018-08-28 16:28:44 -04:00
jsteube
a3ee4d7188
Do not allocate memory segments for bitmap tables if we dont need it, for example in benchmark mode
2018-08-24 12:59:28 +02:00
philsmd
0f449b6440
hcstat2: allow to use option --markov-hcstat2 instead of just --markov-hcstat
2018-08-23 09:10:54 +02:00
jsteube
cd0923f1b8
General file handling: Abort if a byte order mark (BOM) was detected in a wordlist, hashlist, maskfile or rulefile
2018-07-30 13:23:48 +02:00
jsteube
547025ec47
HCCAPX management: Use advanced hints in message_pair stored by hcxtools about endian bitness of replay counter
...
Fixed missing code section in -m 2500 and -m 2501 to crack corrupted handshakes with a LE endian bitness base
2018-06-15 17:00:41 +02:00
jsteube
05a01d3843
fix some datatypes
2018-02-08 19:13:29 +01:00
jsteube
2095e27d46
User Options: According to getopts manpage the last element of the option array has to be filled with zeros
2018-01-29 12:35:08 +01:00
jsteube
1184ae1cdd
Added option --benchmark-all to benchmark all hash-modes not just the default selection
2017-12-05 11:08:59 +01:00
jsteube
8ec2af97ed
Eventual fix for unicode folder name issue on windows
2017-12-02 15:24:10 +01:00
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
2017-12-01 15:19:10 +01:00
Jens Steube
6047f591ff
Merge pull request #1444 from neheb/master
...
Replace char[] with *char
2017-11-14 07:48:46 +01:00
Rosen Penev
b3adf1dc30
Finish conversion to strtol family
2017-11-13 12:53:05 -08:00
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
2017-11-13 12:12:44 -08:00
Rosen Penev
1109017a53
Change atoi family to strtol family
...
Suggested by clang tidy
2017-11-05 12:33:41 -08:00
Rosen Penev
0555613305
Remove else statement after return
...
Suggested by clang tidy
2017-11-04 23:43:33 -07:00
jsteube
5265803493
Add some sanity check for benchmark mode
2017-10-14 16:58:18 +02:00
jsteube
51aba5517f
Update some of the visual indicator of active options when benchmarking
2017-10-14 12:54:34 +02:00
jsteube
5e6d43107e
Startup: Check and abort session if outfile and wordlist point to the same file
2017-10-10 11:30:20 +02:00
Jens Steube
a037ba0c73
Merge pull request #1375 from neheb/warning
...
Fix for clang and some cppcheck warnings
2017-09-29 11:20:35 +02:00
Rosen Penev
da621fa3be
fix some clang -Weverything warnings
2017-09-27 20:05:04 -07:00
jsteube
2517292ac1
Removed option --weak-hash-check (zero-length password check) to increase startup time, it also causes many Trap 6 error on OSX
2017-09-19 12:04:05 +02:00
jsteube
617dbb97ba
Prepare migration -m 15800 into -m 2500
2017-09-18 13:21:00 +02:00
jsteube
86f67517a0
Allow higher number of kernel_loops for -a 0 mode in case they are slow hashes
2017-08-29 10:28:42 +02:00
jsteube
1d04de3a8e
Limit kernel-loops in straight-mode to 256, therefore allow rules to be stored in constant memory
2017-08-23 12:43:59 +02:00
jsteube
12d95fd22c
Added option --example-hashes to show an example hash for each hash-mode
2017-08-22 11:09:46 +02:00
philsmd
bc1a101d2b
fixes #1321 : new option --wordlist-autohex-disable
2017-08-16 12:42:28 +02:00
philsmd
42ee091772
fixed the usage of getopt_* ()
2017-08-16 11:46:17 +02:00
jsteube
8a0d21360b
Prepare for pure kernel rule engine support
2017-08-11 16:09:12 +02:00
jsteube
03bb234045
Preparation for WPA/WPA2 AES-CMAC: works till PMK
2017-07-20 12:46:18 +02:00
jsteube
fbea72ebd6
Renamed default kernels to optimized kernels
...
Renamed pure kernels to default kernels
Replaced long option --length-limit-disable with --optimized-kernel-enable
Replaced short option -L with -O
Set --optimized-kernel-enable to unset by default
2017-07-18 13:23:42 +02:00
jsteube
fc100a852b
Added hash-mode 2501 = WPA/WPA2 PMK
...
Fixes https://github.com/hashcat/hashcat/issues/1287
Limited hash-mode 2500 to max length 63
Fixes https://github.com/hashcat/hashcat/issues/1286
2017-07-03 16:11:57 +02:00
jsteube
f7a8e7c54b
Multiple changes:
...
* Added more preparations to support to crack passwords and salts up to length 256
* Added option --length-limit-disable to disable optimization based on password- and salt-length
* Added option --self-test-disable to disable self-test functionality on startup
2017-06-29 12:19:05 +02:00
Jens Steube
7cabb848d2
Wordlist encoding: Support added for internal convert from and to user-defined encoding during runtime
...
Wordlist encoding: Added parameters --encoding-from and --encoding-to to configure wordlist encoding handling
Dictstat: Structure for dictstat file changed as it has to include --encoding-from and --encoding-to parameter now
2017-04-14 16:36:28 +02:00
Royce Williams
be4cf9ef67
more event_log_* standardization
2017-04-02 00:18:59 -08:00
Royce Williams
067372f5ce
more event_log_* standardization
2017-04-01 23:50:06 -08:00
jsteube
c3e118f5ea
Instead of checking some path checks to result in files change it to disallow folders
2017-03-27 10:27:53 +02:00
jsteube
368f8b39bc
Add function to distinguish between warning and advice messages
2017-03-25 20:50:37 +01:00
jsteube
9558fcc012
Reset optind and optopt for second getopt loop
2017-03-19 15:27:43 +01:00
jsteube
378f852cec
Parameter: Detect and error when users try to use a non-digit where a digit is expected
...
Fixes https://github.com/hashcat/hashcat/issues/1189
2017-03-19 15:11:41 +01:00
jsteube
d78a58414c
Parameter: Detect and warn when users try to use an empty string (length 0) for parameters like --session=
...
Fixes https://github.com/hashcat/hashcat/issues/1190
2017-03-19 14:18:11 +01:00
jsteube
53acb98cf8
Files: Detect and warn when users try to use -r with a parameter which is not a file
...
Fixes https://github.com/hashcat/hashcat/issues/1191
2017-03-19 13:59:36 +01:00
philsmd
4021d5744c
fixes #1175 : custom charsets and --stdout triggered a missing mask error
2017-03-11 08:25:58 +01:00
jsteube
c04dd5c8b1
WPA cracking: Added support for WPA/WPA2 handshake AP nonce automatic error correction
...
WPA cracking: Added parameter --nonce-error-corrections to configure range of error correction
2017-03-07 14:41:58 +01:00
philsmd
0a8b139ae3
minor: comment fix, rephrase the explanation of the conditional expression
2017-03-04 09:03:16 +01:00
philsmd
8bd6001072
fixes #1153 : incorrect error message when --keyspace combined with custom charsets was used
2017-03-04 08:58:22 +01:00
jsteube
54ad27da7d
Session Management: Automatically set dedicated session names for non-cracking parameters, for example: --stdout
2017-03-02 19:57:34 +01:00
Jens Steube
e82ce9243d
Added support for filtering hccapx message pairs using --hccapx-message-pair
2017-02-27 12:09:49 +01:00