OXIESEC PANEL
- Current Dir:
/
/
usr
/
lib
/
python3
/
dist-packages
/
twisted
/
conch
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/31/2022 06:22:38 AM
rwxr-xr-x
📄
__init__.py
515 bytes
09/08/2017 10:38:35 AM
rw-r--r--
📁
__pycache__
-
03/31/2022 06:22:39 AM
rwxr-xr-x
📄
avatar.py
1.4 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
checkers.py
19.28 KB
09/08/2017 10:38:36 AM
rw-r--r--
📁
client
-
03/31/2022 06:22:38 AM
rwxr-xr-x
📄
endpoints.py
28.33 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
error.py
2.65 KB
09/08/2017 10:38:36 AM
rw-r--r--
📁
insults
-
03/31/2022 06:22:38 AM
rwxr-xr-x
📄
interfaces.py
12.76 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
ls.py
2.49 KB
09/08/2017 10:38:35 AM
rw-r--r--
📄
manhole.py
11.3 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
manhole_ssh.py
3.9 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
manhole_tap.py
5.24 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
mixin.py
1.34 KB
09/08/2017 10:38:36 AM
rw-r--r--
📁
openssh_compat
-
03/31/2022 06:22:38 AM
rwxr-xr-x
📄
recvline.py
11.25 KB
09/08/2017 10:38:36 AM
rw-r--r--
📁
scripts
-
03/31/2022 06:22:38 AM
rwxr-xr-x
📁
ssh
-
03/31/2022 06:22:38 AM
rwxr-xr-x
📄
stdio.py
2.71 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
tap.py
3.11 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
telnet.py
37.64 KB
09/08/2017 10:38:36 AM
rw-r--r--
📁
test
-
03/31/2022 06:22:38 AM
rwxr-xr-x
📄
ttymodes.py
2.19 KB
09/08/2017 10:38:36 AM
rw-r--r--
📁
ui
-
03/31/2022 06:22:38 AM
rwxr-xr-x
📄
unix.py
15.91 KB
09/23/2017 05:51:46 AM
rw-r--r--
Editing: error.py
Close
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ An error to represent bad things happening in Conch. Maintainer: Paul Swartz """ from __future__ import absolute_import, division from twisted.cred.error import UnauthorizedLogin class ConchError(Exception): def __init__(self, value, data = None): Exception.__init__(self, value, data) self.value = value self.data = data class NotEnoughAuthentication(Exception): """ This is thrown if the authentication is valid, but is not enough to successfully verify the user. i.e. don't retry this type of authentication, try another one. """ class ValidPublicKey(UnauthorizedLogin): """ Raised by public key checkers when they receive public key credentials that don't contain a signature at all, but are valid in every other way. (e.g. the public key matches one in the user's authorized_keys file). Protocol code (eg L{SSHUserAuthServer<twisted.conch.ssh.userauth.SSHUserAuthServer>}) which attempts to log in using L{ISSHPrivateKey<twisted.cred.credentials.ISSHPrivateKey>} credentials should be prepared to handle a failure of this type by telling the user to re-authenticate using the same key and to include a signature with the new attempt. See U{http://www.ietf.org/rfc/rfc4252.txt} section 7 for more details. """ class IgnoreAuthentication(Exception): """ This is thrown to let the UserAuthServer know it doesn't need to handle the authentication anymore. """ class MissingKeyStoreError(Exception): """ Raised if an SSHAgentServer starts receiving data without its factory providing a keys dict on which to read/write key data. """ class UserRejectedKey(Exception): """ The user interactively rejected a key. """ class InvalidEntry(Exception): """ An entry in a known_hosts file could not be interpreted as a valid entry. """ class HostKeyChanged(Exception): """ The host key of a remote host has changed. @ivar offendingEntry: The entry which contains the persistent host key that disagrees with the given host key. @type offendingEntry: L{twisted.conch.interfaces.IKnownHostEntry} @ivar path: a reference to the known_hosts file that the offending entry was loaded from @type path: L{twisted.python.filepath.FilePath} @ivar lineno: The line number of the offending entry in the given path. @type lineno: L{int} """ def __init__(self, offendingEntry, path, lineno): Exception.__init__(self) self.offendingEntry = offendingEntry self.path = path self.lineno = lineno