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
jsteube
dc170907ed
Compress multiple newlines to one in host code, too
2017-02-26 15:48:14 +01:00
jsteube
d6b843901b
In case of multiline error message use only the first line as error and the description as warning
2017-02-23 11:59:34 +01:00
jsteube
ef004e85f0
Fix some variable initializationg warnings in older GCC
2017-02-16 10:10:38 +01:00
jsteube
c859cff25c
File Reads: Fixed memory leak in case outfile or hashfile was not accessible
2017-02-14 16:25:38 +01:00
philsmd
c1b89fb2ac
added return code check whenever fstat () was called
2017-02-14 13:57:24 +01:00
philsmd
5f6ba4bf4b
fix: initialize the hc_stat_t structs before using/modifying them
2017-02-14 11:17:19 +01:00
jsteube
8329704977
Commandline: Do some checks related to custom-charset options if user specifies them
...
Fixes https://github.com/hashcat/hashcat/issues/1040
2017-02-10 09:08:19 +01:00
Rosen Penev
2a2bd0e2b1
Restore strerror as %m is unsupported by the BSDs
...
The BSDs just print m instead of the actual error message. Benefit
is not worth the cost.
2017-02-03 17:53:50 -08:00
jsteube
2d2eadd2f6
Use hc_path_create() for additional write checks on startup
2017-01-28 00:08:12 +01:00