philsmd
e33e828bc6
replace all time_t/__time64_t with hc_time_t and all related functions
7 years ago
jsteube
e47506c610
Use pure kernel rule engine for --stdout
7 years ago
jsteube
f5ee3db5a6
Update cpu rule engine to support passwords up to length 256
7 years ago
jsteube
03bb234045
Preparation for WPA/WPA2 AES-CMAC: works till PMK
7 years ago
jsteube
8abd7ae9d1
Fix some old GCC compiler warnings
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
jsteube
a673aee037
Very hot commit, continue reading here:
...
This is a test commit using buffers large enough to handle both passwords and salts up to length 256.
It requires changes to the kernel code, which is not included in here.
It also requires some of the host code to be modified. Before we're going to modify kernel code to support the larger lengths I want to be
sure of:
1. Host code modification is ok (no overflows or underflows)
2. Passwords and Salts are printed correctly to status, outfile, show, left, etc.
3. Performance does not change (or only very minimal)
This is not a patch that supports actual cracking both passwords and salts up to length 256, but it can not fail anyway.
If if it does, there's no reason to continue to add support for both passwords and salts up to length 256.
7 years ago
jsteube
d7e66996c9
Add support for self-test modes that use a binary hashfile (wpa, tc, vc, etc)
7 years ago
jsteube
94a35ae50a
Add support for hooks in selftest function
7 years ago
Jens Steube
08fc0ec1fb
Added self-test funcionality for OpenCL kernels on startup
...
Fixed a parser error for mode -m 9820 = MS Office <= 2003 $3, SHA1 + RC4, collider #2
7 years ago
sgroat
21efc80975
fix string
8 years ago
Royce Williams
067372f5ce
more event_log_* standardization
8 years ago
Jens Steube
963a9772ba
Fixed --remove was not applied in case all hashes have been cracked by help of potfile or weak-hash check
8 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
8 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
8 years ago
Jens Steube
e82ce9243d
Added support for filtering hccapx message pairs using --hccapx-message-pair
8 years ago
jsteube
d2e95d5e1b
Fix WPA/WPA2 incorrectly reports cracked passwords in some cases
8 years ago
Jens Steube
2dd027af65
Make sure to zero scratch buffer for WPA/WPA2 and LUKS
8 years ago
philsmd
1f88ae42ef
dead code: hash_len is always > 0 at this location
8 years ago
philsmd
94a37157c1
dead code: both hashes_avail and hash_len can't be 0 here
8 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
8 years ago
jsteube
85aba06e6f
Renamed some variables which 'shadow' another variable or function
8 years ago
Rosen Penev
a3d04a40b0
Fix more cppcheck warnings
8 years ago
jsteube
9aabc20248
Add a warning message if old hccap file is detected and abort
8 years ago
Jens Steube
65d5921eda
Merge pull request #1020 from neheb/master
...
Restore strerror as %m is unsupported by the BSDs
8 years ago
jsteube
717da7f4f2
Added support for loading hccapx files
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
philsmd
dfd4084b3b
fixes #963 : show all user's hashes if --show/--left was specified
8 years ago
philsmd
0c68f757d5
fixes 996: for pwdump format both halves of LM need to have the username info
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
philsmd
6fe0173a79
#965 : new hook function to support LZMA1/LZMA2 decompression for -m 11600 = 7-Zip
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
dc843acf63
Fixed use of option --keyspace in combination with -m 2500 (WPA)
...
Fixes https://github.com/hashcat/hashcat/issues/971
8 years ago
jsteube
8257883ec1
Added hash-mode 14600 = LUKS
8 years ago
jsteube
72af615e8b
WPA cracking: Reuse PBKDF2 intermediate keys if duplicate essid is detected
8 years ago
Rosen Penev
5c0bd0a15f
Remove strerror in favor of thread safe %m
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
Jens Steube
acf13c5544
Fix the evil :password bug, where the hash itself wasn't printed
8 years ago
jsteube
e8078f2c73
Add output buffer size to ascii_digest()
8 years ago
Pierre-Antoine Haidar-Bachminska
aaf5231b13
Print expected data in rules debugging modes
8 years ago
jsteube
b0a616084d
Replace some outdated error check
8 years ago
Jens Steube
7958479b62
Do not load data from hashfile if hashfile changed during runtime
8 years ago
jsteube
c02a0cbf3f
Fix potfile handling in case of duplicate salts in hashlist
8 years ago
magnum
a52b96583f
Fix file locking (again).
8 years ago
jsteube
1cc3482eb4
Do not use sizeof() on a pointer address
8 years ago
jsteube
93adde9d2f
* Wrap everything related to *stat() into own functions
...
* Testwise remove early includes to stdin for OSX, see if they are still required
8 years ago
jsteube
a599b06a53
Fix use of invalid buffer
8 years ago