philsmd
5f6ba4bf4b
fix: initialize the hc_stat_t structs before using/modifying them
8 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