mushorg / buttinsky

Botnet monitoring is a crucial part in threat analysis and often neglected due to the lack of proper open source tools. Our tool will provide an open source framework for automated botnet monitoring. The modular design will allow full customization of the used protocols, the monitoring clients behavior, how we log the collected information, processing of the data to analyze the botnets purpose, size and threat and how the monitoring task are distributed between dedicated nodes.
http://buttinsky.org
GNU General Public License v3.0
79 stars 27 forks source link

Spawner crash from exception in reporter_handler.py #47

Closed adepasquale closed 11 years ago

adepasquale commented 11 years ago
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/gevent/greenlet.py", line 328, in run
    result = self._run(*self.args, **self.kwargs)
  File "spawner.py", line 139, in listen
    self.spawnMonitor(identifier, data[2], data[3])
  File "spawner.py", line 154, in spawnMonitor
    layer_log = Layer(reporter_handler.ReporterHandler(log_plugins),
  File "./buttinsky/modules/reporter_handler.py", line 49, in __init__
    self.loggers = self.reporting_handler.get_loggers()
  File "./buttinsky/modules/reporter_handler.py", line 39, in get_loggers
    logger = logger_class(create_tables=create_tables)
NameError: global name 'create_tables' is not defined
<Greenlet at 0x1df90f0: <bound method MonitorSpawner.listen of <__main__.MonitorSpawner object at 0x1deef90>>> failed with NameError
glaslos commented 11 years ago

Should be fixed. create_tables wasn't used.

adepasquale commented 11 years ago

Thanks