HCCAP format : retrieve bssid
#2
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.


Messages In This Thread
HCCAP format : retrieve bssid - by Mem5 - 11-17-2012, 12:32 PM
RE: HCCAP format : retrieve bssid - by M@LIK - 11-17-2012, 06:07 PM
RE: HCCAP format : retrieve bssid - by Mem5 - 11-17-2012, 11:28 PM