예제 #1
0
 def init_map(self):
     if self.map_error is not None:
         self.map = None
     else:
         from kismon.map import Map
         user_agent = 'kismon/%s' % utils.get_version()
         self.map = Map(self.config["map"], user_agent=user_agent)
         self.map.set_last_from_config()
예제 #2
0
파일: gui.py 프로젝트: Kismon/kismon
	def on_about_dialog(self, widget):
		dialog = Gtk.AboutDialog()
		dialog.set_program_name("Kismon")
		dialog.set_version(utils.get_version())
		dialog.set_comments('PyGTK based kismet client')
		dialog.set_website('https://www.salecker.org/software/kismon.html')
		dialog.set_copyright("(c) 2010-2015 Patrick Salecker")
		dialog.run()
		dialog.destroy()
예제 #3
0
 def on_about_dialog(self, widget):
     dialog = Gtk.AboutDialog()
     dialog.set_program_name("Kismon")
     dialog.set_version(utils.get_version())
     dialog.set_comments('GUI client for kismet')
     dialog.set_website('https://www.salecker.org/software/kismon.html')
     dialog.set_copyright("(c) 2010-2019 Patrick Salecker")
     dialog.run()
     dialog.destroy()
예제 #4
0
파일: core.py 프로젝트: krzotr/kismon
	def init_map(self):
		if self.map_error is not None:
			self.map = None
		else:
			try:
				from .map import Map
			except SystemError:
				from map import Map
			user_agent = 'kismon/%s' % utils.get_version()
			self.map = Map(self.config["map"], user_agent=user_agent)
			self.map.set_last_from_config()
예제 #5
0
파일: setup.py 프로젝트: mark-ankit/kismon
#!/usr/bin/env python3

import platform
from distutils.core import setup
from kismon.utils import get_version

data_files = []

platform_system = platform.system()
if platform_system == 'Linux' or platform_system.endswith('BSD'):
	data_files.append(('/usr/share/applications', ['files/kismon.desktop']))

setup(name='kismon',
	version=get_version(),
	description='A GUI client for kismet (wireless scanner/sniffer/monitor)',
	author='Patrick Salecker',
	author_email='*****@*****.**',
	url='https://www.salecker.org/software/kismon.html',
	license='BSD',
	packages=['kismon', 'kismon.widgets', 'kismon.windows'],
	scripts=['bin/kismon'],
	platforms='UNIX',
	data_files = data_files,
)