Share

AutoAP

Tracker: Bugs

5 site_survey output is parsed wrong - ID: 2846911
Last Update: Tracker Item Submitted ( nobody )

Hi guys,


site_survey outputs this:


[ 0] SSID[ virgin broadband] BSSID[00:22:3E:15:7F:08] channel[ 6]
rssi[-85] noise[-85] beacon[100] cap[411] dtim[0] rate[12] enc[Group-TKIP
Pair-AES-CCMP Pair-TKIP WPA-PSK Group-TKIP Pair-AES-CCMP Pair-TKIP WPA2-PSK
]
[ 1] SSID[ virgin broadband] BSSID[00:22:3F:A7:AA:86] channel[ 6]
rssi[-82] noise[-87] beacon[100] cap[411] dtim[0] rate[12] enc[Group-TKIP
Pair-TKIP WPA-PSK ]
[ 2] SSID[ XXXXXXX] BSSID[00:18:4D:63:7C:BE] channel[11]
rssi[-78] noise[-81] beacon[100] cap[431] dtim[0] rate[12] enc[Group-TKIP
Pair-TKIP WPA-PSK ]
[ 3] SSID[ BTVOYAGER2110-4B] BSSID[00:12:E3:27:8E:4B] channel[10]
rssi[-81] noise[-84] beacon[100] cap[411] dtim[0] rate[12] enc[WEP]
[ 4] SSID[ zzzzzzzzz] BSSID[00:18:39:F7:38:63] channel[13]
rssi[-83] noise[-84] beacon[100] cap[431] dtim[0] rate[12] enc[WEP]
[ 5] SSID[ TalkTalk9c428] BSSID[00:21:61:FF:26:5B] channel[ 1]
rssi[-61] noise[-92] beacon[100] cap[411] dtim[0] rate[12] enc[Group-TKIP
Pair-TKIP WPA-PSK ]


So this line of the script parses it wrong, needs to discard an extra field
at the beginning of the line - would be better to do the line parsing based
on the square brackets rater than spaces:
while IFS="[]"; read a b cSSID e cBSSID g cCHAN i cRSSI k cNOISE m n o
cCAP q r s t u cMODES; do


Nobody/Anonymous ( nobody ) - 2009-08-29 16:53

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.