mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-23 00:28:11 +00:00
Fix endianness and invalid separator character in outfile format of hash-mode 16801 (WPA-PMKID-PMK)
This commit is contained in:
parent
b2334d20e4
commit
5f53a9ec32
@ -23,6 +23,7 @@
|
|||||||
## Bugs
|
## Bugs
|
||||||
##
|
##
|
||||||
|
|
||||||
|
- Fix endianness and invalid separator character in outfile format of hash-mode 16801 (WPA-PMKID-PMK)
|
||||||
|
|
||||||
* changes v4.2.1 -> v5.0.0
|
* changes v4.2.1 -> v5.0.0
|
||||||
|
|
||||||
|
@ -22352,11 +22352,11 @@ int ascii_digest (hashcat_ctx_t *hashcat_ctx, char *out_buf, const size_t out_le
|
|||||||
|
|
||||||
tmp_buf[tmp_len] = 0;
|
tmp_buf[tmp_len] = 0;
|
||||||
|
|
||||||
snprintf (out_buf, out_len - 1, "%08x%08x%08x%08x*%02x%02x%02x%02x%02x%02x*%02x%02x%02x%02x%02x%02x:%s",
|
snprintf (out_buf, out_len - 1, "%08x%08x%08x%08x*%02x%02x%02x%02x%02x%02x*%02x%02x%02x%02x%02x%02x*%s",
|
||||||
wpa_pmkid->pmkid[0],
|
byte_swap_32 (wpa_pmkid->pmkid[0]),
|
||||||
wpa_pmkid->pmkid[1],
|
byte_swap_32 (wpa_pmkid->pmkid[1]),
|
||||||
wpa_pmkid->pmkid[2],
|
byte_swap_32 (wpa_pmkid->pmkid[2]),
|
||||||
wpa_pmkid->pmkid[3],
|
byte_swap_32 (wpa_pmkid->pmkid[3]),
|
||||||
wpa_pmkid->orig_mac_ap[0],
|
wpa_pmkid->orig_mac_ap[0],
|
||||||
wpa_pmkid->orig_mac_ap[1],
|
wpa_pmkid->orig_mac_ap[1],
|
||||||
wpa_pmkid->orig_mac_ap[2],
|
wpa_pmkid->orig_mac_ap[2],
|
||||||
@ -22374,10 +22374,10 @@ int ascii_digest (hashcat_ctx_t *hashcat_ctx, char *out_buf, const size_t out_le
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
snprintf (out_buf, out_len - 1, "%08x%08x%08x%08x*%02x%02x%02x%02x%02x%02x*%02x%02x%02x%02x%02x%02x",
|
snprintf (out_buf, out_len - 1, "%08x%08x%08x%08x*%02x%02x%02x%02x%02x%02x*%02x%02x%02x%02x%02x%02x",
|
||||||
wpa_pmkid->pmkid[0],
|
byte_swap_32 (wpa_pmkid->pmkid[0]),
|
||||||
wpa_pmkid->pmkid[1],
|
byte_swap_32 (wpa_pmkid->pmkid[1]),
|
||||||
wpa_pmkid->pmkid[2],
|
byte_swap_32 (wpa_pmkid->pmkid[2]),
|
||||||
wpa_pmkid->pmkid[3],
|
byte_swap_32 (wpa_pmkid->pmkid[3]),
|
||||||
wpa_pmkid->orig_mac_ap[0],
|
wpa_pmkid->orig_mac_ap[0],
|
||||||
wpa_pmkid->orig_mac_ap[1],
|
wpa_pmkid->orig_mac_ap[1],
|
||||||
wpa_pmkid->orig_mac_ap[2],
|
wpa_pmkid->orig_mac_ap[2],
|
||||||
|
Loading…
Reference in New Issue
Block a user