Beispiel #1
0
	def response_card(self, data):
		""" Current wireless CARD information """
		global card
		card = kismet.parse(kismet.CARD, data)
		gui.unlock()
		log.write_status('Received %s packets on channel %s (%s)' % (card['packets'],
				card['channel'], card['hopping'] == '1' and 'hopping' or 'locked'))
		gui.lock()
Beispiel #2
0
	def response_alert(self, data):
		""" ALERT received from kismet """
		alert = kismet.parse(kismet.ALERT, data)
		gui.unlock()
		# better write it to statusbar
		log.write('Alert: ' + alert['text'])
		log.write_status('Alert: ' + alert['text'])
		gui.lock()
Beispiel #3
0
	def response_network(self, data):
		""" NETWORK information from kismet """
		gui.unlock()
		gui.window.add_network(kismet.parse(kismet.NETWORK, data))
		gui.lock()