Sinisterly
a script - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: a script (/Thread-a-script)



a script - prudruhuph - 02-18-2017

i want a script (bash,python or perl) that can provide me a list of macaddress with WPS enabled

i was thinking about using airodump-ng output

airodump output look like this:
Code:
BSSID PWR Beacons #Data, #/s CH MB ENC CIPHER AUTH WPS DD:12:04:0E:14:42 -68 30 0 0 3 54e. WPA2 CCMP PSK 1.0 D 04:4F:HH:31:42:D9 -64 1 15 1 6 54e. WPA2 CCMP MGT BSSID STATION PWR Rate Lost Frames Probe (not associated) 45:5F:421:B4:24:04 -78 0 - 1 0 6

and my desired output is
Code:
DD:12:04:0E:14:42

can anyone help me in coding this script ?


RE: a script - Blink - 02-19-2017

You should be able to make a bash script with awk and grep for looking through the output.
Shouldn't be too hard.


Why do you need this though? The only reason I can think of is parsing the output of this script with another script to do something with the addresses.