MCPcopy Index your code

hub / github.com/cowrie/cowrie / types & classes

Types & classes393 in github.com/cowrie/cowrie

↓ 34 callersClassFakeServer
FakeServer class. @ivar hostname Servers Host Name @ivar fs File System for cowrie to use
src/cowrie/test/fake_server.py:11
↓ 33 callersClassFakeAvatar
FakeAvatar class. @var avatar itself @ivar server server configuration @var fs File System for cowrie to use @var environ for user
src/cowrie/test/fake_server.py:26
↓ 32 callersClassFakeTransport
Fake transport with abortConnection() method.
src/cowrie/test/fake_transport.py:49
↓ 32 callersClassHoneyPotInteractiveProtocol
src/cowrie/llm/protocol.py:337
↓ 14 callersClassSyntaxError_
A bash-style syntax error to report verbatim. TODO: the trailing underscore avoids shadowing the builtin SyntaxError. Consider renaming to Pa
src/cowrie/shell/bashparse.py:293
↓ 10 callersClassArtifact
src/cowrie/core/artifact.py:40
↓ 7 callersClassBashParser
Parse a command line into a list of statements for the shell to run.
src/cowrie/shell/bashparse.py:364
↓ 7 callersClassContainer
This class is placeholder for creating a fake interface. @var host Client fake information @var port Fake Port for connection @var otherV
src/cowrie/test/fake_transport.py:19
↓ 7 callersClassCowrieTelnetTransport
CowrieTelnetTransport
src/cowrie/telnet/transport.py:43
↓ 7 callersClassMockResponse
Mock HTTP response for testing
src/cowrie/test/test_virustotal.py:18
↓ 6 callersClassFakeContext
Minimal ShellContext: fixed variables and a recording substitution.
src/cowrie/test/test_bashparse.py:26
↓ 6 callersClassHoneyPotShell
src/cowrie/shell/honeypot.py:75
↓ 6 callersClassPipeProtocol
src/cowrie/shell/pipe.py:36
↓ 6 callersClassStringProducer
src/cowrie/output/virustotal.py:721
↓ 4 callersClassHoneyPotTelnetAuthProtocol
TelnetAuthProtocol that takes care of Authentication. Once authenticated this protocol is replaced with HoneyPotTelnetSession.
src/cowrie/telnet/userauth.py:46
↓ 4 callersClassHoneypotPasswordChecker
Checker that accepts "keyboard-interactive" and "password"
src/cowrie/core/checkers.py:86
↓ 4 callersClassProtocolTransport
Adapt a terminal protocol so the SSH session can drive it as its process transport, firing the protocol's connectionLost exactly once. The se
src/cowrie/shell/session.py:17
↓ 4 callersClass_Continuation
An internal queue entry that runs a Python callback when reached. Flow control schedules these between the statements it splices into ``cmdpe
src/cowrie/shell/honeypot.py:61
↓ 4 callersClass_TestError
A malformed test expression; ``test`` reports it and exits 2. Message templates live here so the call sites raise with a short tag, keeping t
src/cowrie/commands/base.py:1205
↓ 3 callersClassCommand
A simple command / pipeline, structure only. ``items`` keeps the ordered word trees (still unevaluated) interleaved with the control operator
src/cowrie/shell/bashparse.py:193
↓ 3 callersClassLLMClient
Client for communicating with OpenAI-compatible LLM APIs.
src/cowrie/llm/llm.py:87
↓ 3 callersClassMockOptionState
Mock for Twisted's _OptionState.
src/cowrie/test/test_telnet_transport.py:32
↓ 3 callersClassRateLimiter
Rate limiter to prevent attackers from abusing Cowrie to launch DDoS attacks. Prevents abuse where malicious actors attempt to use Cowrie co
src/cowrie/core/rate_limiter.py:10
↓ 2 callersClassCommandParser
Handles parsing of shell commands, including tokenization, redirection, and variable expansion.
src/cowrie/shell/parser.py:17
↓ 2 callersClassCountingProtocol
Stand-in for LoggingServerProtocol that counts connectionLost calls.
src/cowrie/test/test_ssh_teardown.py:18
↓ 2 callersClassCustomParser
src/cowrie/shell/customparser.py:27
↓ 2 callersClassLibvirtError
src/backend_pool/libvirt/backend_service.py:29
↓ 2 callersClassMockTFTPServer
Mock TFTP server for testing
src/cowrie/test/test_tftp.py:48
↓ 2 callersClassOutput
virustotal output
src/cowrie/output/virustotal.py:61
↓ 2 callersClassServerFactory
src/backend_pool/nat.py:77
↓ 2 callersClassfseditCmd
src/cowrie/scripts/fsctl.py:143
↓ 1 callersClassBackendSSHTransport
This class represents the transport layer from Cowrie's proxy to the backend SSH server. It is responsible for authentication to that server,
src/cowrie/ssh_proxy/client_transport.py:40
↓ 1 callersClassBodyCollector
src/cowrie/output/virustotal.py:46
↓ 1 callersClassBraceGroup
A ``{ ...; }`` command group: its statements run in the current shell.
src/cowrie/shell/bashparse.py:224
↓ 1 callersClassCaseClause
``case WORD in PATTERN[|PATTERN]) BODY ;; ... esac``. ``word`` is a :class:`Command` carrying the (unevaluated) word to match; ``items`` pair
src/cowrie/shell/bashparse.py:271
↓ 1 callersClassClientCommandFactory
src/backend_pool/ssh_exec.py:90
↓ 1 callersClassClientCommandTransport
src/backend_pool/ssh_exec.py:69
↓ 1 callersClassClientConnection
src/backend_pool/ssh_exec.py:56
↓ 1 callersClassClientFactory
src/backend_pool/nat.py:31
↓ 1 callersClassClientProtocol
src/backend_pool/nat.py:19
↓ 1 callersClassCollectingTransport
Underlying TCP transport stub that records bytes written.
src/cowrie/test/test_telnet_transport.py:147
↓ 1 callersClassCommandChannel
src/backend_pool/ssh_exec.py:26
↓ 1 callersClassCowrieDailyLogFile
Overload original Twisted with improved date formatting
src/cowrie/python/logfile.py:17
↓ 1 callersClassCowrieSFTPDirectory
src/cowrie/shell/filetransfer.py:134
↓ 1 callersClassCowrieSFTPFile
SFTPTFile
src/cowrie/shell/filetransfer.py:67
↓ 1 callersClassCowrieSSHFactory
This factory creates HoneyPotSSHTransport instances They listen directly to the TCP port
src/cowrie/ssh/factory.py:32
↓ 1 callersClassCowrieServiceMaker
src/twisted/plugins/cowrie_plugin.py:61
↓ 1 callersClassEchoOnlyProtocol
Minimal application protocol that only agrees to echo locally.
src/cowrie/test/test_telnet_transport.py:113
↓ 1 callersClassEnvironmentConfigParser
ConfigParser with additional option to read from environment variables # TODO: def sections()
src/cowrie/core/config.py:25
↓ 1 callersClassExitException
src/cowrie/shell/customparser.py:19
↓ 1 callersClassFTPFileReceiver
Protocol to receive FTP file data
src/cowrie/commands/ftpget.py:31
↓ 1 callersClassFakeForwardingChannel
This channel does not forward, but just logs requests.
src/cowrie/ssh/forwarding.py:116
↓ 1 callersClassFakeNonRootAvatar
A non-root avatar for testing password prompts.
src/cowrie/test/test_su.py:27
↓ 1 callersClassFakeTransport
Minimal transport capturing bytes written to it.
src/cowrie/test/test_insults.py:20
↓ 1 callersClassForClause
``for VAR in WORDS; do BODY; done``. ``items`` is a :class:`Command` whose words are the (unevaluated) ``in`` list, expanded against the live
src/cowrie/shell/bashparse.py:232
↓ 1 callersClassFrontendTelnetTransport
src/cowrie/telnet_proxy/server_transport.py:29
↓ 1 callersClassFunctionDef
``name() { BODY; }`` -- registers ``name`` for later invocation.
src/cowrie/shell/bashparse.py:284
↓ 1 callersClassGroup
This class contains code to handle the groups and their properties in /etc/group.
src/cowrie/shell/pwd.py:129
↓ 1 callersClassGuest
Class for keeping track of QEMU guests.
src/backend_pool/pool_service.py:46
↓ 1 callersClassHoneyPotRealm
src/cowrie/llm/realm.py:18
↓ 1 callersClassHoneypotPublicKeyChecker
Checker that accepts, logs and denies public key authentication attempts
src/cowrie/core/checkers.py:28
↓ 1 callersClassIfClause
``if COND; then BODY; [elif COND; then BODY;]* [else BODY;] fi``. ``branches`` pairs each condition statement-list with its body; ``else_body``
src/cowrie/shell/bashparse.py:246
↓ 1 callersClassLogBook
Dictionary class with methods for cleaning and dumping its state. This class should be treated as global state. For the moment this is a
src/cowrie/output/abuseipdb.py:173
↓ 1 callersClassModifiedOptionParser
src/cowrie/commands/iptables.py:29
↓ 1 callersClassNATService
This service provides a NAT-like service when the backend pool is located in a remote machine. Guests are bound to a local IP (e.g., 192
src/backend_pool/nat.py:86
↓ 1 callersClassNoAvailableVMs
no VM's available
src/backend_pool/pool_service.py:62
↓ 1 callersClassOptionNotFound
src/cowrie/shell/customparser.py:11
↓ 1 callersClassOptionParsingError
src/cowrie/commands/iptables.py:18
↓ 1 callersClassOptionParsingExit
src/cowrie/commands/iptables.py:23
↓ 1 callersClassOutput
Signal messenger output plugin.
src/cowrie/output/signal.py:20
↓ 1 callersClassPasswd
This class contains code to handle the users and their properties in /etc/passwd. Note that contrary to the name, it does not handle any
src/cowrie/shell/pwd.py:18
↓ 1 callersClassPasswordAuth
src/backend_pool/ssh_exec.py:17
↓ 1 callersClassPoolClient
Represents the connection between a protocol instance (SSH or Telnet) and a QEMU pool
src/cowrie/pool_interface/client.py:16
↓ 1 callersClassPoolClientFactory
src/cowrie/pool_interface/client.py:122
↓ 1 callersClassPoolHandler
When the PoolHandler is started, it establishes a "master" connection to the pool server. After that connection is successful (initial_pool_c
src/cowrie/pool_interface/handler.py:21
↓ 1 callersClassPoolNotReadyError
src/cowrie/pool_interface/handler.py:17
↓ 1 callersClassPoolServer
Main PoolServer
src/backend_pool/pool_server.py:35
↓ 1 callersClassPoolServerFactory
Factory for PoolServer
src/backend_pool/pool_server.py:191
↓ 1 callersClassPoolService
VM States: created -> available -> using -> used -> unavailable -> destroyed created: initialised but not fully booted by QE
src/backend_pool/pool_service.py:72
↓ 1 callersClassQemuGuestError
src/backend_pool/libvirt/guest_handler.py:19
↓ 1 callersClassReconnectingConnectionPool
Reconnecting adbapi connection pool for MySQL. This class improves on the solution posted at http://www.gelens.org/2008/09/12/reinitiali
src/cowrie/output/mysql.py:21
↓ 1 callersClassReconnectingPostgreSQLConnectionPool
Reconnecting adbapi connection pool for PostgreSQL. This handles reconnections on known transient errors like server disconnects or deadlock
src/cowrie/output/postgresql.py:17
↓ 1 callersClassReporter
HTTP client and methods for preparing report paramaters.
src/cowrie/output/abuseipdb.py:321
↓ 1 callersClassSSHConnectForwardingChannel
This class modifies the original to close the connection
src/cowrie/ssh/forwarding.py:105
↓ 1 callersClassServerProtocol
src/backend_pool/nat.py:42
↓ 1 callersClassSimpleResponseReceiver
Collects the response body from an HTTP response.
src/cowrie/llm/llm.py:60
↓ 1 callersClassStringProducer
Feeds a request body to the HTTP client.
src/cowrie/llm/llm.py:37
↓ 1 callersClassSubshell
A ``(...)`` group, holding its parsed (still unevaluated) inner statements. Cowrie does not emulate a subshell's isolated environment, so the cal
src/cowrie/shell/bashparse.py:211
↓ 1 callersClassTCPTunnelForwardingChannel
This class modifies the original to perform TCP tunneling via the CONNECT method
src/cowrie/ssh/forwarding.py:186
↓ 1 callersClassTFTPClient
Async TFTP client using Twisted's DatagramProtocol Implements RFC 1350 TFTP protocol
src/cowrie/commands/tftp.py:55
↓ 1 callersClassTelnetClientCommand
src/backend_pool/telnet_exec.py:131
↓ 1 callersClassTelnetFactory
src/backend_pool/telnet_exec.py:111
↓ 1 callersClassTelnetHandler
src/cowrie/telnet_proxy/handler.py:44
↓ 1 callersClassTelnetSessionProcessProtocol
Both an IProcessProtocol and an ITransport. Transport to the remote endpoint and process protocol to the local subsystem.
src/cowrie/llm/telnet.py:82
↓ 1 callersClassTelnetSessionProcessProtocol
I am both an L{IProcessProtocol} and an L{ITransport}. I am a transport to the remote endpoint and a process protocol to the local subsys
src/cowrie/telnet/session.py:103
↓ 1 callersClassUsernamePasswordIP
This credential interface also provides an IP address
src/cowrie/core/credentials.py:65
↓ 1 callersClassWhileClause
``while COND; do BODY; done`` (or ``until`` when ``until`` is True).
src/cowrie/shell/bashparse.py:261
↓ 1 callersClassWhitelistContextFactory
src/cowrie/output/splunk.py:119
↓ 1 callersClassWhitelistContextFactory
src/cowrie/output/graylog.py:63
↓ 1 callersClassXMPPLoggerProtocol
src/cowrie/output/xmpp.py:24
next →1–100 of 393, ranked by callers