jsteube
5e6d43107e
Startup: Check and abort session if outfile and wordlist point to the same file
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
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
617dbb97ba
Prepare migration -m 15800 into -m 2500
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
1d04de3a8e
Limit kernel-loops in straight-mode to 256, therefore allow rules to be stored in constant memory
7 years ago
jsteube
12d95fd22c
Added option --example-hashes to show an example hash for each hash-mode
7 years ago
philsmd
bc1a101d2b
fixes #1321 : new option --wordlist-autohex-disable
7 years ago
philsmd
42ee091772
fixed the usage of getopt_* ()
7 years ago
jsteube
8a0d21360b
Prepare for pure kernel rule engine support
7 years ago
jsteube
03bb234045
Preparation for WPA/WPA2 AES-CMAC: works till PMK
7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
Royce Williams
be4cf9ef67
more event_log_* standardization
7 years ago
Royce Williams
067372f5ce
more event_log_* standardization
7 years ago
jsteube
c3e118f5ea
Instead of checking some path checks to result in files change it to disallow folders
7 years ago
jsteube
368f8b39bc
Add function to distinguish between warning and advice messages
7 years ago
jsteube
9558fcc012
Reset optind and optopt for second getopt loop
7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
philsmd
4021d5744c
fixes #1175 : custom charsets and --stdout triggered a missing mask error
7 years ago
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
7 years ago
philsmd
0a8b139ae3
minor: comment fix, rephrase the explanation of the conditional expression
7 years ago
philsmd
8bd6001072
fixes #1153 : incorrect error message when --keyspace combined with custom charsets was used
7 years ago
jsteube
54ad27da7d
Session Management: Automatically set dedicated session names for non-cracking parameters, for example: --stdout
7 years ago
Jens Steube
e82ce9243d
Added support for filtering hccapx message pairs using --hccapx-message-pair
7 years ago
jsteube
dc170907ed
Compress multiple newlines to one in host code, too
7 years ago
jsteube
d6b843901b
In case of multiline error message use only the first line as error and the description as warning
7 years ago
jsteube
ef004e85f0
Fix some variable initializationg warnings in older GCC
7 years ago
jsteube
c859cff25c
File Reads: Fixed memory leak in case outfile or hashfile was not accessible
7 years ago
philsmd
c1b89fb2ac
added return code check whenever fstat () was called
7 years ago
philsmd
5f6ba4bf4b
fix: initialize the hc_stat_t structs before using/modifying them
7 years ago
jsteube
8329704977
Commandline: Do some checks related to custom-charset options if user specifies them
...
Fixes https://github.com/hashcat/hashcat/issues/1040
8 years ago
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.
8 years ago
jsteube
2d2eadd2f6
Use hc_path_create() for additional write checks on startup
8 years ago
jsteube
322862f8dc
Fix #999 outfile for recovered hash not longer working
8 years ago
Jens Steube
518983d3a0
Do not check hc_path_read() if hc_path_exist() failed for commandline hash argument
8 years ago
jsteube
d4fdb4f7a7
Also check existence of rules selected from user using -r on startup
8 years ago
jsteube
ac5d274845
Sessions: Move out handling of multiple instance from restore file into separate pidfile
8 years ago
jsteube
e2b2dc7ae0
Fix user_options_check_files() in case -b is used
8 years ago
jsteube
84fcd8289f
Files: Do several file and folder checks on startup rather than when they are actually used to avoid related error after eventual intense operations
8 years ago
jsteube
0fe6db6839
Sanity: Added sanity check to disallow --loopback in combination with --runtime
8 years ago
jsteube
4a81601c0a
Reenabled automatic status screen display in case of stdin used
8 years ago
jsteube
ec5610271a
New option --progress-only: Quickly provides ideal progress step size and time to process it per device based on the user hashes and selected options, then quit
8 years ago
jsteube
f9ba94954b
Added sanity check to disallow --speed-only in combination with -i
8 years ago
Rosen Penev
4d09cc10fd
Fix some formats and conversion errors
8 years ago
jsteube
ea4fd1de50
Remove complicated checks after memory allocation and in case of error print to stderr instead. This makes the memory allocation functions more natural to use.
8 years ago
jsteube
d6b6c8dbbd
Do not control fan speed in benchmark mode
8 years ago
jsteube
1edc129f8a
Added core-clock and memory-clock to output in benchmark mode with --machine-readable enabled
8 years ago
jsteube
fb8fb6b21d
Actual use of --outfile-autohex-disable was lost during refactoring. Fixes https://github.com/hashcat/hashcat/issues/567
8 years ago
jsteube
f3626fa082
Added new hash-mode 99999 = Plaintext
8 years ago
jsteube
6d2ce0d71a
Added option --keep-guessing to continue cracking hashes even after they have been cracked.
...
It will be useful if there are multiple collisions and we want a specific one.
This one implements https://github.com/hashcat/hashcat/issues/493
8 years ago
Etienne
f35f475b4f
Add --restore-file-path option
...
This option set the restore file path.
It's useful when we need all session files in specific directory.
Example:
hashcat -m 0 --session "Test" --potfile-path "/path/to/my/potfile.potfile"
--restore-file-path "/path/to/my/restore_file.restore" hashs.txt -a 3 ?a?a?a?a
Restore session with :
hashcat --sesion "Test" --restore --restore-file-path
"/path/to/my/restore_file.restore"
8 years ago
jsteube
39eed94703
Add option OPTS_TYPE_BINARY_HASHFILE for interface.c
8 years ago
jsteube
6f07d0d947
Fix https://github.com/hashcat/hashcat/issues/547
8 years ago
jsteube
e1010ffba1
Prepare library user access to OpenCL device information without running an attack
8 years ago
jsteube
3b014dce28
Switch event_log_info() to event_log_error() in user_options.c
8 years ago
jsteube
8ecabcb9ac
Fix --stdout and --keyspace
8 years ago
jsteube
191269f4f0
Add --speed-only mode
8 years ago
jsteube
8598a79732
Removed exit() from memory.c, resulting in all exit() calls removed from all code in the repository
8 years ago
jsteube
af9de0a7b7
Fix some error string formats
8 years ago
jsteube
8fc4da795b
Replace fprintf(stderr, ...) on malloc.c with log_event_error()
8 years ago
jsteube
27bec8be13
Get rid of logging.c and most exit() calls replaced with return() for true library usage
8 years ago
jsteube
39d333d551
Add user_options_extra_amplifier()
8 years ago
jsteube
076784d235
Update user_options.c function parameters
8 years ago
jsteube
000534cdbc
Update logfile.c function parameters
8 years ago
jsteube
dab40d2dd5
Fix default-mask mode
8 years ago
jsteube
94eab8a7b6
Do not reset user_options_t on shutdown, it could be used by main.c
8 years ago
jsteube
5b2fcc4a18
Fix --version
8 years ago
jsteube
2764333160
Fix --stdout mode
8 years ago
jsteube
cb78b910d3
Fix default mask usage
8 years ago
jsteube
667a8b1d3d
Make use of argc/argv easier
8 years ago
jsteube
9413ed8f56
Centralize hashcat_ctx memory allocation and deallocation
8 years ago
jsteube
f987546a74
Replaced "HAVE_HWMON" with "WITH_HWMON" as a more cmakish variable name for compile-time feature
8 years ago
jsteube
0d8b179d40
Move around some types and globals were they belong to
8 years ago
jsteube
7191780296
Make use of hwmon_ctx_t
8 years ago
jsteube
3eaac31445
Fix for https://github.com/hashcat/hashcat/issues/514
8 years ago
jsteube
54a4ea3db2
Large but needed refactoring of mask handling, maskfiles, default mask, etc., expect smaller bugs
8 years ago
jsteube
fd72834322
data. no longer required in restore
8 years ago
jsteube
a79a144e46
Put --show and --left into --quiet mode automatically
8 years ago
jsteube
1c9aa25886
Fix some memory leaks at shutdown
8 years ago
jsteube
0a330d4335
Rewrote logfile handling from scratch
8 years ago
jsteube
b6f966970b
Move all bitmap related host code into bitmap.c
8 years ago
jsteube
97d9a5d9cc
Fix missing includes in folder.h
...
Fix some warning message
8 years ago
jsteube
2215174c2e
Replace "#if defined (HAVE_HWMON)" with "user_options->powertune_enable = false" which give a more easy to read sourcecode
8 years ago
jsteube
80685d94c4
Get rid of truecrypt_keyfiles and veracrypt_keyfiles variable in main
8 years ago
jsteube
a4647baba5
Get rid of segment_size variable in main
8 years ago
jsteube
32d44a5f3e
Get rid of markov_disable, markov_classic, markov_threshold and markov_hcstat variable in main
8 years ago
jsteube
a7ab9f6ca9
Get rid of gpu_temp_disable, gpu_temp_abort and gpu_temp_retain variable in main
8 years ago
jsteube
f3c427407e
Reuse user_options_parse() for restore case
8 years ago
jsteube
ecdb74f440
Get rid of bitmap_min and bitmap_max variable in main
8 years ago
jsteube
4718bb3d2d
Move wordlist_mode into user_options_extra
8 years ago
jsteube
c008b11de3
Make more use of new user_options_t*
8 years ago
jsteube
cb1375bcd7
Add user_options_extra_t
8 years ago
jsteube
a70590b0dc
Move sanity check into user_options.c
8 years ago
jsteube
e6f083b708
Add all defaults for user commandline parameters to user_options.h; Prepare user commandline parameter struct for easier handling of functions calls that require them
8 years ago