Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.1.1 & Your IP : 18.191.235.161
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3 /
dist-packages /
twisted /
conch /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2024-11-28 06:59
client
[ DIR ]
drwxr-xr-x
2024-11-28 06:59
insults
[ DIR ]
drwxr-xr-x
2024-11-28 06:59
openssh_compat
[ DIR ]
drwxr-xr-x
2024-11-28 06:59
scripts
[ DIR ]
drwxr-xr-x
2024-11-28 06:59
ssh
[ DIR ]
drwxr-xr-x
2024-11-28 06:59
test
[ DIR ]
drwxr-xr-x
2024-11-28 06:59
ui
[ DIR ]
drwxr-xr-x
2024-11-28 06:59
__init__.py
198
B
-rw-r--r--
2022-02-07 13:12
avatar.py
1.6
KB
-rw-r--r--
2022-02-07 13:12
checkers.py
18.97
KB
-rw-r--r--
2022-02-07 13:12
endpoints.py
29.26
KB
-rw-r--r--
2022-02-07 13:12
error.py
2.6
KB
-rw-r--r--
2022-02-07 13:12
interfaces.py
14.57
KB
-rw-r--r--
2022-02-07 13:12
ls.py
2.63
KB
-rw-r--r--
2022-02-07 13:12
manhole.py
11.57
KB
-rw-r--r--
2022-02-07 13:12
manhole_ssh.py
4.32
KB
-rw-r--r--
2022-02-07 13:12
manhole_tap.py
5.36
KB
-rw-r--r--
2022-02-07 13:12
mixin.py
1.34
KB
-rw-r--r--
2022-02-07 13:12
recvline.py
18.71
KB
-rw-r--r--
2022-02-07 13:12
stdio.py
2.71
KB
-rw-r--r--
2022-02-07 13:12
tap.py
3.12
KB
-rw-r--r--
2022-02-07 13:12
telnet.py
37.16
KB
-rw-r--r--
2022-02-07 13:12
ttymodes.py
2.14
KB
-rw-r--r--
2022-02-07 13:12
unix.py
16.16
KB
-rw-r--r--
2022-02-07 13:12
Save
Rename
# -*- test-case-name: twisted.conch.test.test_conch -*- from zope.interface import implementer from twisted.conch.error import ConchError from twisted.conch.interfaces import IConchUser from twisted.conch.ssh.connection import OPEN_UNKNOWN_CHANNEL_TYPE from twisted.logger import Logger from twisted.python.compat import nativeString @implementer(IConchUser) class ConchUser: _log = Logger() def __init__(self): self.channelLookup = {} self.subsystemLookup = {} @property def conn(self): return self._conn @conn.setter def conn(self, value): self._conn = value def lookupChannel(self, channelType, windowSize, maxPacket, data): klass = self.channelLookup.get(channelType, None) if not klass: raise ConchError(OPEN_UNKNOWN_CHANNEL_TYPE, "unknown channel") else: return klass( remoteWindow=windowSize, remoteMaxPacket=maxPacket, data=data, avatar=self, ) def lookupSubsystem(self, subsystem, data): self._log.debug( "Subsystem lookup: {subsystem!r}", subsystem=self.subsystemLookup ) klass = self.subsystemLookup.get(subsystem, None) if not klass: return False return klass(data, avatar=self) def gotGlobalRequest(self, requestType, data): # XXX should this use method dispatch? requestType = nativeString(requestType.replace(b"-", b"_")) f = getattr(self, "global_%s" % requestType, None) if not f: return 0 return f(data)