Gabriele Gristina
3064c63c71
User Options: Change --backend-info/-I option type, from bool to int
3 years ago
Jukka Ojanen
3bc7b6af90
Avoid directly accessing file handle
3 years ago
Jens Steube
7fc0ac4ef1
Do not initialize backend devices in case --id is used and some bug fixes
3 years ago
Gabriele Gristina
77e328d659
Removed option --example-hashes, now is an alias of --hash-info
4 years ago
Gabriele Gristina
3ed1f0d840
Added new option: --hash-info
4 years ago
Jens Steube
ca31ef43af
Fixed race condition in maskfile mode by using a dedicated flag for restore execution
5 years ago
Gabriele Gristina
f0a7ba1473
(restore) remove unused *rc* vars and cleanup
5 years ago
Gabriele Gristina
4b871646fe
fix some memory leaks
5 years ago
Gabriele Gristina
3161aec3da
fix the comments :)
5 years ago
Gabriele Gristina
5679ca3344
Rewrite hc_fopen to better handling file descriptor locking/unlocking functions, saving kernels binary from plain to gzip format
5 years ago
Gabriele Gristina
5d3ed3e754
Remove union from HCFILE, using std file ops in ocl_check_dri, remove debug comments
5 years ago
Gabriele Gristina
c2e634c426
switch is_gzip from short to bool
5 years ago
Gabriele Gristina
481c752456
No more compress functions, update example.dict.gz, remove some comments
5 years ago
Gabriele Gristina
398c89c75c
switch almost all FILE ops, potfile is the only missing
5 years ago
Gabriele Gristina
b2529af172
remove original commented code
5 years ago
Gabriele Gristina
6cb4abd526
Add zlib support v2
5 years ago
Jens Steube
3c4f4df771
Rename some more variables
5 years ago
jsteube
12d95fd22c
Added option --example-hashes to show an example hash for each hash-mode
7 years ago
philsmd
16df4564ce
fixes #1314 : do not use the defines INSTALL_FOLDER/SHARED_FOLDER in read_restore (), but the corresponding values from the folder config
7 years ago
philsmd
344d1a37df
fixes 1306: every permanent chdir () needs to update the folder_config
7 years ago
jsteube
8abd7ae9d1
Fix some old GCC compiler warnings
7 years ago
Royce Williams
067372f5ce
more event_log_* standardization
8 years ago
jsteube
d6b843901b
In case of multiline error message use only the first line as error and the description as warning
8 years ago
philsmd
6eaa7e3741
tainted string fix: check some lower/upper bounds of the strings
8 years ago
jsteube
4b3d39623c
Restore: Add some checks on the rd->cwd variable in restore case
8 years ago
sgroat
113fe102f5
Cleanup zero-length printf format string warnings
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
ac5d274845
Sessions: Move out handling of multiple instance from restore file into separate pidfile
8 years ago
jsteube
17548d3ee8
Helper: Added functions to check existence, type, read- and write-permissions and rewrite sources to use them instead of stat()
8 years ago
jsteube
6ece83760d
Add wrapping function for asprintf()
8 years ago
Jens Steube
1b4edc92ee
Merge pull request #925 from neheb/master
...
Replace some snprintf calls with asprintf.
8 years ago
Rosen Penev
36bd1c7dd9
Replace some snprintf calls with asprintf.
...
Simplifies the code.
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
Rosen Penev
5c0bd0a15f
Remove strerror in favor of thread safe %m
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
733a7385b4
Fix some code in restore.c to make cppcheck happy
8 years ago
Rosen Penev
22abb22c13
Fix a few printf formats
8 years ago
jsteube
d6b7b39515
Fix for invalid error "Restore value greater keyspace"
8 years ago
jsteube
93adde9d2f
* Wrap everything related to *stat() into own functions
...
* Testwise remove early includes to stdin for OSX, see if they are still required
8 years ago
Gabriele Gristina
6bf5ee95a6
Fix resource leak
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
e1010ffba1
Prepare library user access to OpenCL device information without running an attack
8 years ago
jsteube
14bd614bfc
Move event_log_info() out of restore.c
8 years ago
jsteube
27e92540e4
Do not unlink restore file of restore is disabled
8 years ago
jsteube
574acfab6a
Move masks_pos from rd* to masks_ctx and dicts_pot from rd* to straight_ctx
8 years ago
jsteube
761e3f0d96
Move out words_cur from restore_ctx to status_ctx and let the dispatcher update it
8 years ago
jsteube
df521d664b
Move restore_* variables into separate functions for later use in status.c
8 years ago
jsteube
2545ec6bf9
Prepare hashcat_get_status()
8 years ago
jsteube
f8a6d156eb
Add some more returncode checks
8 years ago