Please note, this is a STATIC archive of website hashcat.net from 08 Oct 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.

hashcat Forum

Full Version: HCCAP format : retrieve bssid
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I read the hccap format https://hashcat.net/wiki/hccap to try to retrieve ESSID ans BSSID from the command line.

Quote:Essid 0x00 to 0x23 the essid(name) of the access point
Bssid 0x24 to 0x29 the bssid(MAC) of the access point

I did :

Code:
cat file.hccap | cut -b 1-23 | head -n 1
it gives me the right essid.

But for bssid :
Code:
cat file.hccap | cut -b 24-29 | head -n 1
returns nothing.

Any help ?
To extract the ESSiD (using just head):
Code:
head -c36 hccap
Much more neater than piping twice
To extract the BSSiD (using just od):
Code:
od -j36 -N6 -tx1 hccap | grep -Eo "[a-f0-9 ]{17}$" | sed "s/ /:/g"
Note: grep and sed are only to parse the output, you can read od's output directly.

Works perfect for me.
Works VERY well, thanks !