jsteube
5551337cf6
Show advice to use optimized kernels only if there's actually one for this hash-mode
7 years ago
philsmd
f1c3f952ba
fixes show output of -m 9710, -m 9810 and -m 10410
7 years ago
jsteube
12d95fd22c
Added option --example-hashes to show an example hash for each hash-mode
7 years ago
jsteube
03bb234045
Preparation for WPA/WPA2 AES-CMAC: works till PMK
7 years ago
jsteube
fc100a852b
Added hash-mode 2501 = WPA/WPA2 PMK
...
Fixes https://github.com/hashcat/hashcat/issues/1287
Limited hash-mode 2500 to max length 63
Fixes https://github.com/hashcat/hashcat/issues/1286
7 years ago
jsteube
ad242c2f12
Working example of generic salt up to length 256 for mode 2100
7 years ago
Royce Williams
067372f5ce
more event_log_* standardization
7 years ago
jsteube
c04dd5c8b1
WPA cracking: Added support for WPA/WPA2 handshake AP nonce automatic error correction
...
WPA cracking: Added parameter --nonce-error-corrections to configure range of error correction
7 years ago
jsteube
33a043ec63
Refactored internal use of esalt from sync with number of salts to sync with number of digests
...
This enables a true N esalts per salt feature which is required for WPA/WPA2 handling
In case we need that for a future algorithm, just make sure to have a unique value in digest in hash parser.
Fixes https://github.com/hashcat/hashcat/issues/1158
7 years ago
Jens Steube
dd55c1eb66
WPA: Changed format for outfile and potfile from essid:mac1:mac2 to hash:mac_ap:mac_sta:essid
...
Fixes https://github.com/hashcat/hashcat/issues/1113
7 years ago
jsteube
6bcfca26b3
Fix CID 1402873: Dereference before null check
7 years ago
philsmd
c440dec867
file locking: check return value of fcntl ()
7 years ago
jsteube
9c5cfd17ac
Added support for automatic merge of LM halfes when --show and --left is used
...
Fixes https://github.com/hashcat/hashcat/issues/1034
7 years ago
sgroat
113fe102f5
Cleanup zero-length printf format string warnings
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
2135ea3329
WPA: Changed format for outfile and potfile from essid:mac1:mac2 to hash:essid
...
WPA: Changed format for outfile_check from essid:mac1:mac2 to hash
8 years ago
philsmd
1c4af583e8
minor: removed unused user_options variable
8 years ago
philsmd
dfd4084b3b
fixes #963 : show all user's hashes if --show/--left was specified
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
17548d3ee8
Helper: Added functions to check existence, type, read- and write-permissions and rewrite sources to use them instead of stat()
8 years ago
philsmd
297c797521
hook code: refactored the hook salt to be part of the hash_t struct
8 years ago
jsteube
5ea24d9bca
Fixed duplicate detection for WPA handshakes with the same ESSID
...
https://github.com/hashcat/hashcat/issues/955
8 years ago
jsteube
8257883ec1
Added hash-mode 14600 = LUKS
8 years ago
jsteube
1f756bf752
Include passwords for removed hashes present in the potfile to next loopback iteration
8 years ago
jsteube
e1b5de12d5
Fixed potfile loading to accept blank passwords
8 years ago
jsteube
a4f40ac226
Added old potfile detection, show warning message
8 years ago
jsteube
6ece83760d
Add wrapping function for asprintf()
8 years ago
Jens Steube
1b4edc92ee
Merge pull request #925 from neheb/master
...
Replace some snprintf calls with asprintf.
8 years ago
Rosen Penev
36bd1c7dd9
Replace some snprintf calls with asprintf.
...
Simplifies the code.
8 years ago
jsteube
ec5610271a
New option --progress-only: Quickly provides ideal progress step size and time to process it per device based on the user hashes and selected options, then quit
8 years ago
jsteube
1342cf2ce3
Use $HEX[...] in case the password includes the separater character, increases potfile reading performance
8 years ago
Rosen Penev
5c0bd0a15f
Remove strerror in favor of thread safe %m
8 years ago
magnum
fb56ce9b5a
Only lock loopback and pot files while actually writing to them. Closes #893 .
8 years ago
jsteube
db5291a76c
Add special weak-hash detection section for LM
...
Fixes https://github.com/hashcat/hashcat/issues/889
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
jsteube
e8078f2c73
Add output buffer size to ascii_digest()
8 years ago
jsteube
e777c25a67
Improve handling of MAX_CUT_TRIES
8 years ago
jsteube
daeb5f66ac
Use same locking mechanism in potfile as in outfile
8 years ago
jsteube
2f398becfb
Do not store result of binary operation in a bool
8 years ago
jsteube
0cd39ab963
Fix some code in potfile.c to make cppcheck happy
8 years ago
jsteube
316694fd08
Move hc_qsort_r() and hc_bsearch_r() from potfile.c to shared.c - Lets us use them from within all objects
8 years ago
jsteube
23fa7000fa
Removed functions sort_by_pot() and sort_by_salt_buf() from potfile.c - Code no longer required due to potfile --show and --left handling logic
8 years ago
jsteube
16c6a48e0b
Fix some null-pointer derefence which never occurs but is listed in the clang analyzer output
8 years ago
Jens Steube
2d743706cb
Merge pull request #570 from magnumripper/master
...
Fix file locking (again).
8 years ago
jsteube
2507f62722
Add hash-mode option OPTS_TYPE_PT_ALWAYS_ASCII to control need_hexify() from interface.c
8 years ago
magnum
7d7ca48704
Change need_hexify so it optionally tests for printable UTF-8 as opposed
...
to printable ASCII.
8 years ago
magnum
a52b96583f
Fix file locking (again).
8 years ago
jsteube
fb8fb6b21d
Actual use of --outfile-autohex-disable was lost during refactoring. Fixes https://github.com/hashcat/hashcat/issues/567
8 years ago
jsteube
b8efae4281
Refactor all variables with HCBUFSIZ_LARGE size from stack to heap
8 years ago