fixed bug when try to load all plugins on sniffkin3

This commit is contained in:
mh4x0f 2020-04-03 20:18:01 -03:00
parent d40d35c7ce
commit 003663b637
2 changed files with 5 additions and 4 deletions

View File

@ -75,7 +75,8 @@ All notable changes to this project will be documented in this file.
- Removed all files *.py compiler. [mh4x0f] - Removed all files *.py compiler. [mh4x0f]
### Fixed ### Fixed
- fixed Bad file descriptor with socket SO_REUSEADDR activate [mh4x0f] - fixed bug when try to load all plugins on sniffkin3 [mh4x0f]
- fixed mascared bug file descriptor bad partial solution [mh4x0f]
- Fixed session id not empty when start app. [mh4x0f] - Fixed session id not empty when start app. [mh4x0f]
- Fixed wirelessmode docker remount ap without errors. [mh4x0f] - Fixed wirelessmode docker remount ap without errors. [mh4x0f]
- Fixed name file configuration. [mh4x0f] - Fixed name file configuration. [mh4x0f]

View File

@ -116,9 +116,9 @@ class Sniffkin3Core(QtCore.QThread):
self.plugin_classes = default.PSniffer.__subclasses__() self.plugin_classes = default.PSniffer.__subclasses__()
for p in self.plugin_classes: for p in self.plugin_classes:
plugin_load = p() plugin_load = p()
self.plugins[plugin_load.name] = plugin_load self.plugins[plugin_load.Name] = plugin_load
self.plugins[plugin_load.name].output = self._ProcssOutput self.plugins[plugin_load.Name].output = self._ProcssOutput
self.plugins[plugin_load.name].session = self.session self.plugins[plugin_load.Name].session = self.session
print('\n[*] {} running on port 80/8080:\n'.format(self.getID())) print('\n[*] {} running on port 80/8080:\n'.format(self.getID()))
for name in self.plugins.keys(): for name in self.plugins.keys():
if self.config.get('plugins', name, format=bool): if self.config.get('plugins', name, format=bool):