PenguinKeeper7
e9eccf32b6
Space cleanup
1 year ago
PenguinKeeper7
2954b62a6a
Use chgd variable to decide dictstat building
...
Use rule_buf_l_chgd and rule_buf_r_chgd instead of checking raw values for futureproofing / code cleanliness
1 year ago
PenguinKeeper7
0c65c03397
Correctly check -j / -k's values
...
Check as ':' instead of NULL, as : is the default value of rule_buf_l and rule_buf_r
1 year ago
jsteube
734b435028
Fix missing check for -j and -k before writing hashcat.dictstat2 which can lead to false negatives
1 year ago
Gabriele Gristina
36606addac
Help: show supported hash-modes only with -hh
1 year ago
Gabriele Gristina
3064c63c71
User Options: Change --backend-info/-I option type, from bool to int
3 years ago
Jens Steube
84fcea9592
Fix unusued variable warning
3 years ago
Jukka Ojanen
6b5af5e849
Fix leaks in dictstat_destroy
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
d706f90a75
Dictstat: On Windows, the st_ino attribute in the stat struct is not set which can lead to invalid cache hits. Added the filename to the database entry.
5 years ago
Jens Steube
f1d4260983
Fix missing hc_unlockfile()
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
708a86fb59
Move old ascii_digest() to hashes.c and rename it to hash_encode(), also remove some unused includes
6 years ago
jsteube
3ad6fab63e
Add module_potfile_disable()
6 years ago
jsteube
4993a85b27
Get rid of hash_mode in dictstat.c
6 years ago
Jens Steube
c9f3ef6dae
Fix final comparison in sort_by_dictstat()
7 years ago
jsteube
05a01d3843
fix some datatypes
7 years ago
philsmd
a10a8427cb
fixed the nanosecond access time problem, also working on macos now
7 years ago
jsteube
2670791916
Improved dictstat header check
7 years ago
philsmd
d8e7f5f05c
fixed problem with cached word lists (dictstat2): nanoseconds must be considered/ignored too
7 years ago
jsteube
f55446b6f3
HCdict File: Renamed file from hashcat.hcdict to hashcat.hcdict2 and add header because versions are incompatible
7 years ago
jsteube
12d95fd22c
Added option --example-hashes to show an example hash for each hash-mode
7 years ago
jsteube
8abd7ae9d1
Fix some old GCC compiler warnings
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
8 years ago
Rosen Penev
a7d9e242ac
Linux ifdefs atime to atim. No need for this
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
ebcb6a050c
Wordlists: Disable dictstat handling for hash-mode 3000 as it virtually creates words in the wordlist which is not the case for other modes
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
6ece83760d
Add wrapping function for asprintf()
8 years ago
Rosen Penev
36bd1c7dd9
Replace some snprintf calls with asprintf.
...
Simplifies the code.
8 years ago
Rosen Penev
5c0bd0a15f
Remove strerror in favor of thread safe %m
8 years ago
Rosen Penev
96783ed7a3
Fix compilation for native Cygwin
8 years ago
jsteube
90b9d5c12c
Fix some potential resource leaks in case of an error
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
Rosen Penev
03efea645f
More sign fixes
8 years ago
magnum
a52b96583f
Fix file locking (again).
8 years ago
jsteube
9d4f9f5698
Fix dictstat and logfile
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