I know that a WiFi adapter can scan for active BSSIDs, and that in monitor mode it can scan all unencrypted traffic.

What is the best way to list nearby WiFi clients from Python? I understand that all I might get is a MAC address and the AP it's communicating with, but this is all the data that I need.


1 Answer 1


Check sources for the WPS handshake attacks from the WIFITE package.

I remember it listing clients of all scanned APs, with MACs.

(Needs clients info to force deauth and capture handshake)


class Client:
        Holds data for a Client (device connected to Access Point/Router)

    def __init__(self, bssid, station, power):
        self.bssid = bssid
        self.station = station
        self.power = power



#sniff for client mac's

I don't know python very well, but it's in there.

Comment: remove inaccurate pieces of code via edit

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .