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 : 13.59.243.24
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 /
ssh /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2024-11-28 06:59
__init__.py
182
B
-rw-r--r--
2022-02-07 13:12
_kex.py
8.37
KB
-rw-r--r--
2022-02-07 13:12
address.py
1.08
KB
-rw-r--r--
2022-02-07 13:12
agent.py
9.29
KB
-rw-r--r--
2022-02-07 13:12
channel.py
9.73
KB
-rw-r--r--
2022-02-07 13:12
common.py
1.91
KB
-rw-r--r--
2022-02-07 13:12
connection.py
24.94
KB
-rw-r--r--
2022-02-07 13:12
factory.py
3.74
KB
-rw-r--r--
2022-02-07 13:12
filetransfer.py
37.2
KB
-rw-r--r--
2022-02-07 13:12
forwarding.py
8.03
KB
-rw-r--r--
2022-02-07 13:12
keys.py
64.58
KB
-rw-r--r--
2022-02-07 13:12
service.py
1.52
KB
-rw-r--r--
2022-02-07 13:12
session.py
13.41
KB
-rw-r--r--
2022-02-07 13:12
sexpy.py
944
B
-rw-r--r--
2022-02-07 13:12
transport.py
78.58
KB
-rw-r--r--
2024-11-22 17:49
userauth.py
27.08
KB
-rw-r--r--
2022-02-07 13:12
Save
Rename
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ The parent class for all the SSH services. Currently implemented services are ssh-userauth and ssh-connection. Maintainer: Paul Swartz """ from typing import Dict from twisted.logger import Logger class SSHService: # this is the ssh name for the service: name: bytes = None # type:ignore[assignment] protocolMessages: Dict[int, str] = {} # map #'s -> protocol names transport = None # gets set later _log = Logger() def serviceStarted(self): """ called when the service is active on the transport. """ def serviceStopped(self): """ called when the service is stopped, either by the connection ending or by another service being started """ def logPrefix(self): return "SSHService {!r} on {}".format( self.name, self.transport.transport.logPrefix() ) def packetReceived(self, messageNum, packet): """ called when we receive a packet on the transport """ # print self.protocolMessages if messageNum in self.protocolMessages: messageType = self.protocolMessages[messageNum] f = getattr(self, "ssh_%s" % messageType[4:], None) if f is not None: return f(packet) self._log.info( "couldn't handle {messageNum} {packet!r}", messageNum=messageNum, packet=packet, ) self.transport.sendUnimplemented()