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
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
Jens Steube
4b986de5fb
Prepare native CUDA hybrid integration
5 years ago
jsteube
708a86fb59
Move old ascii_digest() to hashes.c and rename it to hash_encode(), also remove some unused includes
5 years ago
jsteube
a4fb31e8f7
Add more global default value functions
6 years ago
philsmd
b1465693a3
fixes #1708 : reject invalid masks with only a single ? at the end
6 years ago
jsteube
52c52836e3
Add new option --slow-candidates which allows hashcat to generate passwords on-host
6 years ago
philsmd
0f449b6440
hcstat2: allow to use option --markov-hcstat2 instead of just --markov-hcstat
6 years ago
jsteube
05a01d3843
fix some datatypes
6 years ago
jsteube
1c25cf5490
Fix compiler warning about rc variable which shadows a previous local
6 years ago
jsteube
bb401c9cec
Fixed a missing check for returncode in case hashcat.hcstat2 was not found
6 years ago
philsmd
fa679ce496
masks: skipping too large/small masks fixed
6 years ago
Rosen Penev
1c5915cae3
remove special time handling in hashcat.
...
There's a way to get 64-bit time_t and 64-bit stat in MinGW, so use that.
7 years ago
Rosen Penev
353d3c3008
Fix a bunch of cast-qual warnings
7 years ago
Rosen Penev
8458f07a57
Replace char[] with *char
...
The latter is more correct. The side effect is that filesize becomes smaller.
gcc clang
before
O2
756112 762120
Os
674192 680216
after
O2
748456 760728
Os
666536 674728
7 years ago
Rosen Penev
3ba84f17f1
More clang tidy fixes
7 years ago
jsteube
12d95fd22c
Added option --example-hashes to show an example hash for each hash-mode
7 years ago
jsteube
beb6ee2061
Add OPTI_TYPE_OPTIMIZED_KERNEL
...
Rename unconverted fast hash kernels to optimized kernels
Finalize some converted fast hashes to default kernels
7 years ago
jsteube
fbea72ebd6
Renamed default kernels to optimized kernels
...
Renamed pure kernels to default kernels
Replaced long option --length-limit-disable with --optimized-kernel-enable
Replaced short option -L with -O
Set --optimized-kernel-enable to unset by default
7 years ago
jsteube
8abd7ae9d1
Fix some old GCC compiler warnings
7 years ago
jsteube
f97c0d38d7
Allow using -L with -a 7 (other modes need no modification) for fast hashes
7 years ago
jsteube
297a64de8b
Fix fread() on windows when loading the LZMA hcstat
7 years ago
jsteube
7ca8ca241b
Use hc_lzma2_decompress() instead of Lzma2Decode() directly
7 years ago
jsteube
a993395f28
Add code to read LZMA compressed hashcat.hcstat2
7 years ago
jsteube
c59432a760
Add hcstat2 support to enable masks of length up to 256, also adds a filetype header
7 years ago
jsteube
b8ad89c529
Rename function and variables containing 'unicode' to 'utf16le' because that's what's meant actually
7 years ago
jsteube
018bb208d9
Refactor OPTS_TYPE_PT_UNICODE -> OPTS_TYPE_PT_UNICODE_LE and add OPTS_TYPE_PT_UNICODE_BE
7 years ago
Royce Williams
067372f5ce
more event_log_* standardization
7 years ago
jsteube
4e2adc031a
Add some compiler independant integer overflow functions
7 years ago
jsteube
922fea7616
Add more integer overflow checks
7 years ago
jsteube
080131c86e
Use type independant __builtin_mul_overflow()
7 years ago
jsteube
62bc8689b7
Mask Checks: Added integer overflow detection for a keyspace of a mask provided by user
7 years ago
philsmd
437289c41e
mp: memory checks added to avoid leaks
7 years ago
jsteube
1fc24cbcd3
Mask Increment: Fixed memory leak in case mask_append() fails
7 years ago
jsteube
53d6808794
Fixed pointer to local outside scope when using not specifying --markov-hcstat
7 years ago
jsteube
dc4f96f42e
Fixed string not null terminated when reading maskfiles
7 years ago
jsteube
85aba06e6f
Renamed some variables which 'shadow' another variable or function
7 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.
7 years ago
jsteube
17548d3ee8
Helper: Added functions to check existence, type, read- and write-permissions and rewrite sources to use them instead of stat()
7 years ago
jsteube
ada22000b5
Fixes https://github.com/hashcat/hashcat/issues/932
8 years ago
jsteube
24a3aff5ea
Fixed mask length check in hybrid attack-modes: Do not include hash-mode dependant mask length checks
8 years ago
jsteube
767ad440b2
Fixed custom char parsing code in maskfiles in --increment mode: Custom charset wasn't used
8 years ago
Rosen Penev
5c0bd0a15f
Remove strerror in favor of thread safe %m
8 years ago
Rosen Penev
f5f17997b2
Fix cppcheck warnings
8 years ago