mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-18 14:34:22 +01:00
future needs to be imported first
This commit is contained in:
@@ -30,10 +30,10 @@
|
||||
FIXME: This module contains ...
|
||||
"""
|
||||
|
||||
from zope.interface import implementer
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
from zope.interface import implementer
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -96,7 +96,7 @@ class CowrieServiceMaker(object):
|
||||
factory = core.ssh.HoneyPotSSHFactory(cfg)
|
||||
factory.portal = portal.Portal(core.realm.HoneyPotRealm(cfg))
|
||||
factory.portal.registerChecker(
|
||||
core.checkers.HoneypotPublicKeyChecker(cfg))
|
||||
core.checkers.HoneypotPublicKeyChecker())
|
||||
factory.portal.registerChecker(
|
||||
core.checkers.HoneypotPasswordChecker(cfg))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user