Beispiel #1
0
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()
Beispiel #2
0
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()
Beispiel #3
0
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()