philsmd
437e9aa3d1
allow --left and -o work with binary hash files
4 years ago
philsmd
11f3c8c285
fixes #2424 : only print EOL in case of non-binary hash file
4 years ago
Jens Steube
6adc217bae
Keep output of --show and --left in the original ordering of the input hash file
5 years ago
Jens Steube
ce0257dd84
Merge pull request #2189 from neheb/fgfggdf
...
bools
5 years ago
Rosen Penev
bd6c0e57e4
Change 0/1 to true/false
...
Found with clang-tidy
5 years ago
Rosen Penev
fd8150769d
Add casts where needed in C++ mode
...
Otherwise, -fpermissive must be passed.
5 years ago
Jens Steube
97c9e86d15
Filehandling: Print a truncation warning in case an oversized line was detected
5 years ago
Rosen Penev
6dc72ebcc5
Run through Clang's readability-else-after-return
...
There's no need for a return statement in an else path. Just take it out.
Simplifies the code slightly.
5 years ago
Rosen Penev
fb75164126
Run through Clang's google-readability-casting
...
Removes casts where the type is identical.
5 years ago
Gabriele Gristina
3d39d2fc91
update all HCFILE vars and related code
5 years ago
Gabriele Gristina
2db6dfcd4e
fix HCFILE with potfile BUG and something else related to HCFILE wrong usage
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
92f4ccce93
Increase buffer size for --example-hashes output
6 years ago
jsteube
3c9d26b161
Add some conditions to make scan-build happy
6 years ago
jsteube
13edc32fb4
Fix some unused variable warnings
6 years ago
jsteube
d855ddaf9e
Make use of need_hexify to decide if hexification is needed for ESSID in -m 16800 and -m 16801
6 years ago
jsteube
a9663cdb53
For modes 2500, 2501, 16800 and 16801, if --left is used, return original input format
6 years ago
jsteube
b8d609ba16
WPA/WPA2 cracking: In the potfile, replace password with PMK in order to detect already cracked networks across all WPA modes
6 years ago
jsteube
c0a31b3239
Prepare potfile specific module_hash_decode and module_hash_encode hooks
6 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
Chick3nman
3c7d42079e
Update catch for --keep-guessing to include auto-enabled kernels
6 years ago
Chick3nman
c0b3f03605
Do not remove hashes if --keep-guessing enabled
6 years ago
jsteube
75f7172cca
Prepare remove of hash_type variable
6 years ago
jsteube
2bd55bca74
Add missing hook_salt buffer parameter to decoder/encoder function declaration
6 years ago
jsteube
35265d43f3
Update outfile_check
6 years ago
jsteube
02fe28fe6c
Preparation for -m 501
6 years ago
jsteube
26033e5787
Make use of return length from ascii_digest instead of calling strlen()
6 years ago
jsteube
0ae955c5ba
With this commit, all hash_mode depending branches from core files are converted into hooks which can be registered on a module level
6 years ago
jsteube
aec6a3bc99
Get rid of hash_mode depending branches in potfile.c
6 years ago
jsteube
bbcc8fea29
Use MODULE_DEFAULT in module_init to reference a global default function
6 years ago
jsteube
a81a566121
Remove hashcat_ctx requirement in ascii_digest()
6 years ago
jsteube
0421cc6782
Add OPTS_TYPE_PT_ALWAYS_HEXIFY
6 years ago
jsteube
0ce01b8836
Make use of module_hash_decode_outfile() in potfile.c as well
6 years ago
jsteube
cfc9772e0e
Add module_hash_decode_zero_hash()
6 years ago
jsteube
3ad6fab63e
Add module_potfile_disable()
6 years ago
Jens Steube
3aecd150f9
Call module_hash_encode() in ascii_digest()
6 years ago
Jens Steube
222d76f01e
Replace parse_func() with module_hash_decode()
6 years ago
jsteube
88ebca40b8
Added hash-mode 16800 = WPA-PMKID-PBKDF2
...
Added hash-mode 16801 = WPA-PMKID-PMK
Renamed lot's of existing WPA related variables to WPA-EAPOL in order to distinguish them with WPA-PMKID variables
Renamed WPA/WPA2 to WPA-EAPOL-PBKDF2
Renamed WPA/WPA2 PMK to WPA-EAPOL-PMK
6 years ago
jsteube
05a01d3843
fix some datatypes
7 years ago
jsteube
0796c074c3
Added -m 16500 Kernels
...
Also changed function declaration of parser function from const hashconfig_t to just hashconfig_t
7 years ago
Rosen Penev
3ba84f17f1
More clang tidy fixes
7 years ago
philsmd
2c963054f3
show/left: fix new variable redeclaration bug
7 years ago
philsmd
276879b1ea
show/left: improve speed of --show/--left again by using a single malloc/free for all nodes and reduce RAM by using the first nodes hash information
7 years ago