Gabriele Gristina
3161aec3da
fix the comments :)
2019-07-01 17:27:08 +02:00
Gabriele Gristina
5679ca3344
Rewrite hc_fopen to better handling file descriptor locking/unlocking functions, saving kernels binary from plain to gzip format
2019-07-01 01:30:24 +02:00
Gabriele Gristina
5d3ed3e754
Remove union from HCFILE, using std file ops in ocl_check_dri, remove debug comments
2019-06-28 17:58:08 +02:00
Gabriele Gristina
c2e634c426
switch is_gzip from short to bool
2019-06-27 23:51:54 +02:00
Gabriele Gristina
481c752456
No more compress functions, update example.dict.gz, remove some comments
2019-06-27 20:18:47 +02:00
Gabriele Gristina
398c89c75c
switch almost all FILE ops, potfile is the only missing
2019-06-26 19:06:46 +02:00
Gabriele Gristina
b2529af172
remove original commented code
2019-06-22 15:00:50 +02:00
Gabriele Gristina
6cb4abd526
Add zlib support v2
2019-06-21 21:56:38 +02:00
Jens Steube
3c4f4df771
Rename some more variables
2019-05-01 15:52:56 +02:00
jsteube
708a86fb59
Move old ascii_digest() to hashes.c and rename it to hash_encode(), also remove some unused includes
2019-03-31 17:39:00 +02:00
jsteube
3ad6fab63e
Add module_potfile_disable()
2018-12-20 11:04:37 +01:00
jsteube
4993a85b27
Get rid of hash_mode in dictstat.c
2018-12-18 15:00:00 +01:00
Jens Steube
c9f3ef6dae
Fix final comparison in sort_by_dictstat()
2018-02-12 14:56:28 +01:00
jsteube
05a01d3843
fix some datatypes
2018-02-08 19:13:29 +01:00
philsmd
a10a8427cb
fixed the nanosecond access time problem, also working on macos now
2017-10-04 12:23:37 +02:00
jsteube
2670791916
Improved dictstat header check
2017-10-02 15:44:03 +02:00
philsmd
d8e7f5f05c
fixed problem with cached word lists (dictstat2): nanoseconds must be considered/ignored too
2017-09-29 12:13:29 +02:00
jsteube
f55446b6f3
HCdict File: Renamed file from hashcat.hcdict to hashcat.hcdict2 and add header because versions are incompatible
2017-09-20 10:22:18 +02:00
jsteube
12d95fd22c
Added option --example-hashes to show an example hash for each hash-mode
2017-08-22 11:09:46 +02:00
jsteube
8abd7ae9d1
Fix some old GCC compiler warnings
2017-07-06 10:35:25 +02:00
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
2017-04-14 16:36:28 +02:00
Rosen Penev
a7d9e242ac
Linux ifdefs atime to atim. No need for this
2017-03-04 18:27:33 -08:00
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.
2017-02-03 17:53:50 -08:00
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
2017-01-30 10:45:56 +01:00
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
2017-01-27 14:50:39 +01:00
jsteube
6ece83760d
Add wrapping function for asprintf()
2016-12-24 00:40:40 +01:00
Rosen Penev
36bd1c7dd9
Replace some snprintf calls with asprintf.
...
Simplifies the code.
2016-12-19 16:46:30 -08:00
Rosen Penev
5c0bd0a15f
Remove strerror in favor of thread safe %m
2016-12-02 21:26:10 -08:00
Rosen Penev
96783ed7a3
Fix compilation for native Cygwin
2016-11-29 14:10:39 -08:00
jsteube
90b9d5c12c
Fix some potential resource leaks in case of an error
2016-11-20 23:15:54 +01:00
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.
2016-11-20 22:54:52 +01:00
Rosen Penev
03efea645f
More sign fixes
2016-11-16 21:17:28 -08:00
magnum
a52b96583f
Fix file locking (again).
2016-11-05 11:33:29 +01:00
jsteube
9d4f9f5698
Fix dictstat and logfile
2016-10-14 20:29:21 +02:00
jsteube
8598a79732
Removed exit() from memory.c, resulting in all exit() calls removed from all code in the repository
2016-10-13 10:07:04 +02:00
jsteube
af9de0a7b7
Fix some error string formats
2016-10-11 10:55:02 +02:00
jsteube
8fc4da795b
Replace fprintf(stderr, ...) on malloc.c with log_event_error()
2016-10-10 11:03:11 +02:00
jsteube
7ed79bf42e
switch dictstat.c to event_log_*
2016-10-08 23:55:57 +02:00
jsteube
52068e25d5
Add some additional start-up checks
2016-10-06 17:26:15 +02:00
jsteube
3f05b7c0a7
Update dictstat.c function parameters
2016-10-06 16:55:17 +02:00
jsteube
57cb082fda
Add some useful stuff to main.c
2016-10-03 01:27:55 +02:00
jsteube
9413ed8f56
Centralize hashcat_ctx memory allocation and deallocation
2016-10-02 00:00:21 +02:00
jsteube
2994afd81a
Use hc_stat from types.c instead of OS dependant branching
2016-10-01 14:22:50 +02:00
jsteube
fb3e6bab0d
Finished refactoring to remove all global variables
2016-09-30 22:52:44 +02:00
jsteube
af1701c765
Fix some memleaks on shutdown
2016-09-30 13:36:27 +02:00
jsteube
d2877b95e4
Automatically disable most features in case -I is used
2016-09-30 13:14:11 +02:00
jsteube
7e3905e1db
Make dictstat support modular
2016-09-30 11:50:13 +02:00
jsteube
59ebe10b07
Move functions from filenames.c to opencl.c and shared.c
2016-09-24 21:44:43 +02:00
jsteube
521db46c11
Move dictstat_init() out of outer loop, also add enabled flag
2016-09-24 13:01:17 +02:00
jsteube
a0f6ed6832
Introduce hashes_t; not finishe yet
2016-09-16 17:01:18 +02:00