hashcat Forum
Decoding multiple PMKID SSIDs - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Misc (https://hashcat.net/forum/forum-15.html)
+--- Forum: General Talk (https://hashcat.net/forum/forum-33.html)
+--- Thread: Decoding multiple PMKID SSIDs (/thread-8708.html)



Decoding multiple PMKID SSIDs - slawson - 10-11-2019

I would like to take my capture file that has several PMKIDs in it, and decode the SSIDs before cracking them.

This is what I have done so far:

cut -f4 -d'*' pmkidfile | xxd -r -p

xxd properly decodes the SSIDs, but it appends all of the SSIDs together without line breaks. I.e.  SSID1SSID2SSID3, etc.

What is the better method to decode the SSIDs and list them on seperate lines?


RE: Decoding multiple PMKID SSIDs - slawson - 10-11-2019

Ok with some trial and error I have found a way to do this with a for loop. It seems a bit excessive so I would be interested in an easier way of doing this. Here is the command

for line in $(cut -f4 -d'*' pmkidfile); do echo "$line">temp.txt; cat temp.txt | xxd -r -p; echo ; done


RE: Decoding multiple PMKID SSIDs - undeath - 10-13-2019

wlanhcxinfo of https://github.com/ZerBea/hcxtools should be able to do all you need.


RE: Decoding multiple PMKID SSIDs - slawson - 10-15-2019

When I run wlanhcxinfo -i file, I always get an error "file corrupt 0 records loaded"

The "file" is my original hcxdumptool capture that I have verified is good. I have tried multiple capture files.

I'm sure it's something simple, but what am I missing.


RE: Decoding multiple PMKID SSIDs - slawson - 10-15-2019

Sorry, nevermind. I just figured out that I have to output the capture to a hccapx file first.