Module ImportFrom alias Import alias ImportFrom alias alias alias alias ImportFrom alias alias alias identifier ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias Import alias alias alias Import alias Assign NameStore Str ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Expr Call NameLoad NameLoad keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return Assign NameStore Str Assign NameStore Call AttributeLoad Str attr BinOpAdd Call AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpAdd Call NameLoad NameLoad Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad Call NameLoad SubscriptLoad NameLoad Slice Num Index Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str Str AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Expr Call NameLoad NameLoad keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore SubscriptLoad Call NameLoad SubscriptLoad Call NameLoad SubscriptLoad NameLoad Slice Num Index Num Index Num handlers ExceptHandler body Assign NameStore Str TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Str handlers ExceptHandler body Assign NameStore Call AttributeLoad Str attr keyword Call AttributeLoad NameLoad attr Str For NameStore ListLoad Str Str Str Str body If CompareIn NameLoad NameLoad body Assign NameStore Call AttributeLoad Str attr keyword NameLoad keyword Call AttributeLoad NameLoad attr NameLoad Print Call AttributeLoad Str attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Dict Str Str NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases body Expr Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg body If CompareIn AttributeLoad NameLoad attr NameLoad body Return TupleLoad SubscriptLoad NameLoad Index Num Call NameLoad NameLoad AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad orelse Raise NameLoad Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore CompareNotEq Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Num If BoolOpAnd BoolOpOr CompareLt AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad UnaryOpNot AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpSub Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr If CompareIn AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Delete SubscriptDel AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot CompareIn Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If UnaryOpNot BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body ImportFrom alias ImportFrom alias Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad orelse With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If UnaryOpNot BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body ImportFrom alias ImportFrom alias Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad orelse With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list ClassDef bases body Expr Call NameLoad AttributeLoad NameLoad attr Assign NameStore TupleLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body Expr Call NameLoad AttributeLoad NameLoad attr Assign NameStore TupleLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str keyword Num Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Str keyword Str attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Assign TupleStore NameStore NameStore Call NameLoad Assign TupleStore NameStore NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign AttributeStore NameLoad attr Dict Str Str Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr decorator_list decorator_list
N/A opencanary.modules CanaryService N/A twisted twisted.cred portal checkers credentials error twisted.conch error avatar interfaces conchinterfaces twisted.conch.checkers SSHPublicKeyDatabase twisted.conch.ssh factory userauth connection keys session transport twisted.internet reactor protocol defer twisted.application internet zope.interface implements N/A sys os time N/A base64 N/A SSH_PATH /var/tmp twisted.conch.ssh.common NS getNS HoneyPotSSHUserAuthServer N/A N/A userauth SSHUserAuthServer N/A serviceStarted N/A N/A self N/A N/A N/A N/A N/A N/A userauth SSHUserAuthServer serviceStarted self N/A us N/A N/A N/A self transport getHost N/A peer N/A N/A N/A self transport getPeer N/A logdata N/A LOCALVERSION REMOTEVERSION N/A N/A self transport ourVersionString N/A N/A self transport otherVersionString N/A logtype N/A N/A N/A N/A N/A self transport factory canaryservice logger LOG_SSH_REMOTE_VERSION_SENT N/A log N/A N/A N/A N/A self transport factory canaryservice log N/A N/A log logdata logtype logtype src_host N/A N/A peer address host src_port N/A N/A peer address port dst_host N/A N/A us address host dst_port N/A N/A us address port N/A N/A self bannerSent False N/A sendBanner N/A N/A self N/A N/A N/A N/A self bannerSent N/A N/A N/A data N/A data N/A N/A join N/A N/A N/A data splitlines N/A N/A N/A N/A N/A self transport sendPacket N/A userauth MSG_USERAUTH_BANNER N/A N/A NS data N/A NS en N/A N/A self bannerSent True N/A auth_password N/A N/A self packet N/A N/A N/A 
        Password authentication.  Payload::
            string password

        Make a UsernamePassword credential and verify it with our portal.
         N/A password N/A N/A getNS N/A packet N/A 1 N/A 0 N/A c N/A N/A credentials UsernamePassword N/A self user password N/A us N/A N/A N/A self transport getHost N/A peer N/A N/A N/A self transport getPeer N/A logdata N/A USERNAME PASSWORD LOCALVERSION REMOTEVERSION N/A self user password N/A N/A self transport ourVersionString N/A N/A self transport otherVersionString N/A logtype N/A N/A N/A N/A N/A self transport factory canaryservice logger LOG_SSH_LOGIN_ATTEMPT N/A log N/A N/A N/A N/A self transport factory canaryservice log N/A N/A log logdata logtype logtype src_host N/A N/A peer address host src_port N/A N/A peer address port dst_host N/A N/A us address host dst_port N/A N/A us address port N/A N/A N/A N/A N/A N/A self portal login c None N/A conchinterfaces IConchUser addErrback N/A self _ebPassword N/A auth_publickey N/A N/A self packet N/A N/A N/A N/A N/A key_blob N/A N/A getNS N/A N/A getNS N/A packet N/A 1 N/A 1 N/A 0 N/A N/A N/A N/A key_blob No public key found. N/A N/A N/A key N/A N/A N/A N/A N/A keys Key fromString key_blob toString openssh N/A N/A N/A N/A key N/A N/A Invalid SSH Public Key Submitted: {key_blob} format key_blob N/A N/A key_blob encode hex N/A keytype N/A ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 ecdsa-sha2-nistp521 ssh-ed25519 N/A N/A N/A keytype key_blob N/A N/A key N/A N/A {keytype} {keydata} format keytype keytype keydata N/A N/A base64 b64encode key_blob N/A N/A N/A Key was {key} format key key N/A c N/A N/A credentials SSHPrivateKey None None None None None N/A N/A N/A N/A N/A N/A self portal login c None N/A conchinterfaces IConchUser addErrback N/A self _ebPassword N/A ssh_USERAUTH_REQUEST N/A N/A self packet N/A N/A N/A N/A N/A self sendBanner N/A N/A N/A N/A userauth SSHUserAuthServer ssh_USERAUTH_REQUEST self packet N/A N/A HoneyPotSSHFactory N/A N/A factory SSHFactory N/A N/A services N/A ssh-userauth ssh-connection HoneyPotSSHUserAuthServer N/A connection SSHConnection logDispatch N/A N/A self sessionid msg N/A N/A N/A data N/A N/A N/A data N/A logdata msg N/A N/A N/A N/A self logger log data N/A __init__ N/A N/A self logger version N/A None None N/A N/A N/A self sessions N/A N/A N/A self logger logger N/A N/A self version version N/A buildProtocol N/A N/A self addr N/A N/A N/A t N/A HoneyPotTransport N/A N/A self version N/A N/A N/A t ourVersionString N/A self version N/A N/A N/A t ourVersionString empty N/A N/A t supportedPublicKeys N/A N/A N/A self privateKeys keys N/A N/A N/A self primes N/A N/A ske N/A N/A t supportedKeyExchanges N/A N/A N/A N/A ske remove diffie-hellman-group-exchange-sha1 N/A N/A t supportedKeyExchanges ske N/A N/A t factory self N/A t N/A N/A HoneyPotRealm N/A N/A N/A N/A implements N/A portal IRealm __init__ N/A N/A self N/A N/A N/A N/A requestAvatar N/A N/A self avatarId mind N/A interfaces N/A N/A N/A N/A conchinterfaces IConchUser interfaces N/A N/A N/A N/A interfaces N/A 0 N/A HoneyPotAvatar avatarId N/A self env N/A N/A N/A N/A None N/A N/A Exception No supported interfaces found. N/A N/A HoneyPotTransport N/A N/A transport SSHServerTransport N/A N/A hadVersion False connectionMade N/A N/A self N/A N/A N/A logdata N/A SESSION N/A str N/A N/A self transport sessionno N/A logtype N/A N/A N/A N/A self factory canaryservice logger LOG_SSH_NEW_CONNECTION N/A log N/A N/A N/A self factory canaryservice log N/A N/A log logdata transport N/A self transport logtype logtype N/A N/A self interactors N/A N/A N/A self logintime N/A N/A time time N/A N/A self ttylog_open False N/A N/A N/A N/A transport SSHServerTransport connectionMade self N/A sendKexInit N/A N/A self N/A N/A N/A N/A N/A self gotVersion N/A N/A N/A N/A N/A N/A transport SSHServerTransport sendKexInit self N/A dataReceived N/A N/A self data N/A N/A N/A N/A N/A N/A transport SSHServerTransport dataReceived self data N/A isLibssh N/A N/A N/A data find libssh N/A N/A data find SSH- -1 N/A N/A N/A N/A N/A N/A twisted version major 11 isLibssh N/A N/A self hadVersion N/A self gotVersion N/A N/A N/A N/A self sendKexInit N/A N/A self hadVersion True N/A ssh_KEXINIT N/A N/A self packet N/A N/A N/A N/A N/A N/A transport SSHServerTransport ssh_KEXINIT self packet N/A lastlogExit N/A N/A self N/A N/A N/A starttime N/A N/A time strftime %a %b %d %H:%M N/A N/A time localtime N/A self logintime N/A endtime N/A N/A time strftime %H:%M N/A N/A time localtime N/A N/A time time N/A duration N/A str N/A N/A N/A time time N/A self logintime N/A clientIP N/A N/A N/A N/A self transport getPeer host N/A connectionLost N/A N/A self reason N/A N/A N/A i N/A self interactors N/A N/A N/A N/A i sessionClosed N/A N/A N/A N/A self transport sessionno N/A N/A self factory sessions N/A N/A N/A N/A N/A self factory sessions N/A N/A N/A self transport sessionno N/A N/A self ttylog_open N/A N/A N/A N/A ttylog ttylog_close N/A self ttylog_file N/A N/A time time N/A N/A self ttylog_open False N/A N/A N/A N/A transport SSHServerTransport connectionLost self reason N/A sendDisconnect N/A N/A self reason desc N/A N/A N/A 
        Workaround for the "bad packet length" error message.

        @param reason: the reason for the disconnect.  Should be one of the
                       DISCONNECT_* values.
        @type reason: C{int}
        @param desc: a descrption of the reason for the disconnection.
        @type desc: C{str}
         N/A N/A N/A bad packet length desc N/A N/A N/A N/A N/A transport SSHServerTransport sendDisconnect self reason desc N/A N/A N/A N/A N/A self transport write Protocol mismatch.
 N/A N/A N/A log msg N/A Disconnecting with error, code %s
reason: %s N/A reason desc N/A N/A N/A N/A self transport loseConnection N/A N/A HoneyPotSSHSession N/A N/A session SSHSession N/A request_env N/A N/A self data N/A N/A N/A N/A N/A HoneyPotAvatar N/A N/A avatar ConchUser N/A N/A N/A implements N/A conchinterfaces ISession __init__ N/A N/A self username env N/A N/A N/A N/A N/A N/A avatar ConchUser __init__ self N/A N/A self username username N/A N/A self env env N/A N/A N/A N/A self channelLookup update N/A session HoneyPotSSHSession N/A openShell N/A N/A self protocol N/A N/A N/A N/A getPty N/A N/A self terminal windowSize attrs N/A N/A N/A None N/A execCommand N/A N/A self protocol cmd N/A N/A N/A N/A closed N/A N/A self N/A N/A N/A N/A eofReceived N/A N/A self N/A N/A N/A N/A windowChanged N/A N/A self windowSize N/A N/A N/A N/A self windowSize windowSize N/A N/A getRSAKeys N/A N/A N/A N/A N/A public_key N/A N/A N/A os path join SSH_PATH id_rsa.pub N/A private_key N/A N/A N/A os path join SSH_PATH id_rsa N/A N/A N/A N/A N/A N/A os path exists public_key N/A N/A N/A os path exists private_key N/A Crypto.PublicKey RSA twisted.python randbytes N/A KEY_LENGTH 2048 N/A rsaKey N/A N/A RSA generate KEY_LENGTH N/A randbytes secureRandom N/A publicKeyString N/A N/A N/A N/A N/A N/A keys Key rsaKey public toString openssh N/A privateKeyString N/A N/A N/A N/A keys Key rsaKey toString openssh N/A N/A file public_key w+b f N/A N/A N/A N/A f write publicKeyString N/A N/A file private_key w+b f N/A N/A N/A N/A f write privateKeyString N/A N/A N/A file public_key f N/A N/A publicKeyString N/A N/A f read N/A N/A file private_key f N/A N/A privateKeyString N/A N/A f read N/A N/A publicKeyString privateKeyString N/A getDSAKeys N/A N/A N/A N/A N/A public_key N/A N/A N/A os path join SSH_PATH id_dsa.pub N/A private_key N/A N/A N/A os path join SSH_PATH id_dsa N/A N/A N/A N/A N/A N/A os path exists public_key N/A N/A N/A os path exists private_key N/A Crypto.PublicKey DSA twisted.python randbytes N/A KEY_LENGTH 1024 N/A dsaKey N/A N/A DSA generate KEY_LENGTH N/A randbytes secureRandom N/A publicKeyString N/A N/A N/A N/A N/A N/A keys Key dsaKey public toString openssh N/A privateKeyString N/A N/A N/A N/A keys Key dsaKey toString openssh N/A N/A file public_key w+b f N/A N/A N/A N/A f write publicKeyString N/A N/A file private_key w+b f N/A N/A N/A N/A f write privateKeyString N/A N/A N/A file public_key f N/A N/A publicKeyString N/A N/A f read N/A N/A file private_key f N/A N/A privateKeyString N/A N/A f read N/A N/A publicKeyString privateKeyString N/A HoneypotPasswordChecker N/A N/A N/A N/A implements N/A checkers ICredentialsChecker N/A credentialInterfaces N/A N/A credentials IUsernamePassword __init__ N/A N/A self logger N/A None N/A N/A N/A self logger logger N/A N/A self auth_attempt 0 N/A requestAvatarId N/A N/A self credentials N/A N/A N/A N/A N/A defer fail N/A N/A error UnauthorizedLogin N/A N/A CanaryPublicKeyChecker N/A N/A N/A N/A implements N/A checkers ICredentialsChecker N/A credentialInterfaces N/A N/A credentials ISSHPrivateKey __init__ N/A N/A self logger N/A None N/A N/A N/A self logger logger N/A N/A self auth_attempt 0 N/A requestAvatarId N/A N/A self credentials N/A N/A N/A N/A N/A defer fail N/A N/A error UnauthorizedLogin N/A N/A CanarySSH N/A CanaryService N/A N/A NAME ssh __init__ N/A N/A self config logger N/A None None N/A N/A N/A N/A CanaryService __init__ self config config logger logger N/A N/A self port N/A int N/A N/A config getVal ssh.port default 22 N/A N/A self version N/A N/A N/A N/A config getVal ssh.version default SSH-2.0-OpenSSH_5.1p1 Debian-5 encode utf8 N/A N/A self listen_addr N/A N/A config getVal device.listen_addr default N/A getService N/A N/A self N/A N/A N/A factory N/A HoneyPotSSHFactory version N/A self version logger N/A self logger N/A N/A factory canaryservice self N/A N/A factory portal N/A N/A portal Portal N/A HoneyPotRealm N/A N/A rsa_pubKeyString rsa_privKeyString N/A getRSAKeys N/A N/A dsa_pubKeyString dsa_privKeyString N/A getDSAKeys N/A N/A N/A N/A factory portal registerChecker N/A HoneypotPasswordChecker logger N/A factory logger N/A N/A N/A N/A factory portal registerChecker N/A CanaryPublicKeyChecker logger N/A factory logger N/A N/A factory publicKeys N/A ssh-rsa ssh-dss N/A N/A N/A keys Key fromString data rsa_pubKeyString N/A N/A N/A keys Key fromString data dsa_pubKeyString N/A N/A factory privateKeys N/A ssh-rsa ssh-dss N/A N/A N/A keys Key fromString data rsa_privKeyString N/A N/A N/A keys Key fromString data dsa_privKeyString N/A N/A N/A internet TCPServer N/A self port factory interface N/A self listen_addr N/A N/A