stuff...

  • Increase font size
  • Default font size
  • Decrease font size
Home Software Scripting
Scripting

Parse wireless scan output

E-mail Print PDF
User Rating: / 1
PoorBest 

Hi,

I wrote a little script for sed that takes a wireless scan output and prints in human readable form the essid and the MAC address. It's useful when you have a lot of wifis around you to identify each other easily, and for the case I'm using it: connect only to desired hosts from a file with the same format as the output.

Basically, this sed script outputs something like this:

[essid1]
Address=00:E4:55:66:16:71
[essid2 with spaces available]
Address=00:E4:55:66:16:72
[essid2-whatever]
Address=00:E4:55:66:16:73
[]
Address=00:E4:55:66:16:71
Last Updated on Monday, 25 January 2010 01:30
 



polls