OXIESEC PANEL
- Current Dir:
/
/
usr
/
lib
/
python3
/
dist-packages
/
twisted
/
conch
/
client
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
139 bytes
09/08/2017 10:38:36 AM
rw-r--r--
📁
__pycache__
-
03/31/2022 06:22:38 AM
rwxr-xr-x
📄
agent.py
1.69 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
connect.py
672 bytes
09/08/2017 10:38:36 AM
rw-r--r--
📄
default.py
11.7 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
direct.py
3.19 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
knownhosts.py
19.41 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
options.py
4.05 KB
09/08/2017 10:38:36 AM
rw-r--r--
Editing: connect.py
Close
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. # from twisted.conch.client import direct connectTypes = {"direct" : direct.connect} def connect(host, port, options, verifyHostKey, userAuthObject): useConnects = ['direct'] return _ebConnect(None, useConnects, host, port, options, verifyHostKey, userAuthObject) def _ebConnect(f, useConnects, host, port, options, vhk, uao): if not useConnects: return f connectType = useConnects.pop(0) f = connectTypes[connectType] d = f(host, port, options, vhk, uao) d.addErrback(_ebConnect, useConnects, host, port, options, vhk, uao) return d