mirror of https://github.com/cowrie/cowrie.git
imports now python3 compatible
This commit is contained in:
parent
dbf45b4d31
commit
b7f9d3ff6b
|
@ -13,8 +13,8 @@ from twisted.python import log, failure
|
|||
from twisted.conch import error
|
||||
from twisted.conch.ssh import keys
|
||||
|
||||
import credentials
|
||||
import auth
|
||||
from . import credentials
|
||||
from . import auth
|
||||
|
||||
class HoneypotPublicKeyChecker:
|
||||
implements(ICredentialsChecker)
|
||||
|
|
|
@ -9,7 +9,7 @@ import pickle
|
|||
|
||||
from twisted.python import log
|
||||
|
||||
import fs
|
||||
from . import fs
|
||||
|
||||
class HoneyPotCommand(object):
|
||||
def __init__(self, protocol, *args):
|
||||
|
|
|
@ -6,7 +6,7 @@ import time
|
|||
from twisted.internet import protocol
|
||||
from twisted.conch import telnet, recvline
|
||||
|
||||
import ttylog
|
||||
from . import ttylog
|
||||
|
||||
class Interact(telnet.Telnet):
|
||||
|
||||
|
|
|
@ -10,9 +10,9 @@ from twisted.conch import recvline
|
|||
from twisted.conch.insults import insults
|
||||
from twisted.python import log
|
||||
|
||||
import honeypot
|
||||
import ttylog
|
||||
import utils
|
||||
from . import honeypot
|
||||
from . import ttylog
|
||||
from . import utils
|
||||
|
||||
class HoneyPotBaseProtocol(insults.TerminalProtocol):
|
||||
def __init__(self, avatar, env):
|
||||
|
|
|
@ -6,6 +6,7 @@ import copy
|
|||
import time
|
||||
import struct
|
||||
import uuid
|
||||
import ConfigParser
|
||||
|
||||
from zope.interface import implements
|
||||
|
||||
|
@ -19,14 +20,12 @@ from twisted.conch.openssh_compat import primes
|
|||
from twisted.conch.ssh.common import NS, getNS
|
||||
from twisted.internet import defer
|
||||
|
||||
import ConfigParser
|
||||
|
||||
import credentials
|
||||
import fs
|
||||
import auth
|
||||
import connection
|
||||
import honeypot
|
||||
import protocol
|
||||
from . import credentials
|
||||
from . import fs
|
||||
from . import auth
|
||||
from . import connection
|
||||
from . import honeypot
|
||||
from . import protocol
|
||||
|
||||
class HoneyPotSSHUserAuthServer(userauth.SSHUserAuthServer):
|
||||
|
||||
|
|
Loading…
Reference in New Issue