Skip to content

Awk script which is showing how to grab data from iw scan

Notifications You must be signed in to change notification settings

dmtrygrey/awk_iw_grab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

INTRO

This small awk script helps to parse iw tool output. This is just an example, you can modify it as you like.

iw tool output is not stable and format might change in the future.

Requirenments

  • GNU Awk 4.2.1 or later

Might work with some older versions too.

Usage

# iw dev wlan0 scan | gawk -f parse.awk

Output with test router:

A5FEF2C499BB:test-ssid2:OPEN:no:9:43:0d00h00m
039EFACA9A8B:test-ssid2:WPA1WPA2:no:9:33:0d00h00m
038BF3C1988B:test-ssid2:WPA2:no:9:35:0d00h00m
028EF3C2997B:test-ssid2:WPA1WPA2:no:9:35:0d00h03m

Licence

MIT

About

Awk script which is showing how to grab data from iw scan

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages