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
8 years ago
jsteube
cdfabe333f
Fixed pointer to local outside scope when using -j or -k
8 years ago
jsteube
dc2ecc9dae
Fixed pointer to local outside scope when using -j or -k
8 years ago
jsteube
291c1bcdd2
Dispatcher: Fixed several memory leaks when an OpenCL error occurs
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
Rosen Penev
5c0bd0a15f
Remove strerror in favor of thread safe %m
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
c0c7830835
Fix includes for dispatch.c
8 years ago
jsteube
72e39a7ec0
Try to use true and false in case we're handling a bool data-type just as kind of a hint it's a bool
8 years ago
jsteube
fc490263a5
Fix a bug in reject counter in stdin mode and simplify some code
8 years ago
Jens Steube
779662ea23
Fixed a bug when cracking a large salted hashlist: If a word is rejected this produces so high CPU load that cracking process doesn't start
8 years ago
Gabriele Gristina
6bf5ee95a6
Fix resource leak
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
2005f5d193
Remove terminal.h where's it's not needed
8 years ago
jsteube
bfbc4279f4
Add some more returncode checks
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
42677df2a6
Start context-related logging with goal to get rid of logging.c
8 years ago
jsteube
f469694030
Add event_set_kernel_power_final()
8 years ago
jsteube
a5e83c27c3
Update wordlist.c function parameters
8 years ago
jsteube
0579f93402
Update opencl.c and autotune.c function parameters
8 years ago
jsteube
578f6816c6
Fix some uint datatype leftovers
8 years ago
jsteube
fb3e6bab0d
Finished refactoring to remove all global variables
8 years ago
jsteube
299edf5170
Fix some missing sign conversions
8 years ago
jsteube
a5800b41f4
Rename hash_management.c to hashes.c
8 years ago
jsteube
133c9295f5
Cleaned up data_t, only contexts left
8 years ago
jsteube
12a2d6d2a0
Move more stuff to status_ctx_t
8 years ago
jsteube
831ef1490b
Prepare status_ctx_t
8 years ago
jsteube
84f96c4dda
Add cpt_ctx_t
8 years ago
jsteube
e12abeb9de
Add inner2_loop()
8 years ago
jsteube
f8d538413e
Move pw_min and pw_max to hashconfig_t and bring back data.shutdown_*
8 years ago
jsteube
94680cb311
Move hardware_power_all, kernel_power_all and kernel_power_final to opencl_ctx_t
8 years ago
jsteube
c71f1bfb0c
Introduct combinator_ctx_t
8 years ago
jsteube
67dd2e9b67
Separate rules and straight mode from each other, remove rules_ctx_t
8 years ago
jsteube
54a4ea3db2
Large but needed refactoring of mask handling, maskfiles, default mask, etc., expect smaller bugs
8 years ago
jsteube
62b97a6fe6
Move loading rules into outer loop
8 years ago
jsteube
095dfdc730
Get rid of quiet variable in data. context
8 years ago
jsteube
f9ec232b9b
Get rid of attack_kern variable in data. context
8 years ago
jsteube
f1d93d576a
Get rid of attack_mode variable in data. context
8 years ago
jsteube
5b0835258c
Get rid of hex_wordlist variable in data. context
8 years ago
jsteube
21d852b194
Get rid of benchmark variable in data. context
8 years ago
jsteube
c18d6a3302
Get rid of skip and limit variables in data. context
8 years ago
jsteube
1c9027cb03
Get rid of rule_buf_l, rule_buf_r, rule_len_l and rule_len_r in data. context
8 years ago
jsteube
3664f02670
Get rid of global get_next_word_func function pointer variable
8 years ago
jsteube
c008b11de3
Make more use of new user_options_t*
8 years ago
jsteube
ced3b3b82f
Move global mux_counter variable into opencl_ctx_t
8 years ago
jsteube
3adbf3d0d5
Move global mux_dispatcher variable into opencl_ctx_t
8 years ago