11-17-2012, 06:07 PM
To extract the ESSiD (using just head):
To extract the BSSiD (using just od):
Works perfect for me.
Code:
head -c36 hccap
Much more neater than piping twice
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.