def scan_all(iface): if iface == "": import gui.container iface = gui.container.interface else: iface = iface table = Toplevel() table.title("Wireless Scanning") scan = ThreadedClient() scan.main(table, iface, "", "position") table.mainloop()
def scan_ap(iface, canvas): if iface == "": import gui.container iface = gui.container.interface else: iface = iface table = Toplevel() table.title("Wireless Scanning: Access Points") scan = ThreadedClient() scan.main(table, iface, canvas, "AP") table.mainloop()
def scan_client(iface): if iface == "": import gui.container iface = gui.container.interface canvas = gui.container.canvas else: iface = iface table = Toplevel() table.title("Wireless Scanning: Stations") scan = ThreadedClient() scan.main(table, iface, canvas, "Client") table.mainloop()