Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cowrie/cowrie
/ functions
Functions
2,302 in github.com/cowrie/cowrie
⨍
Functions
2,302
◇
Types & classes
393
↳
Endpoints
20
Method
__init__
(self, tolerance_attempts, state_dump)
src/cowrie/output/abuseipdb.py:182
Method
__init__
(self, logbook, attempts)
src/cowrie/output/abuseipdb.py:326
Method
__init__
(self)
src/cowrie/output/virustotal.py:47
Method
__init__
(self, body)
src/cowrie/output/virustotal.py:722
Method
__init__
(self, rooms, server, nick)
src/cowrie/output/xmpp.py:25
Method
__init__
(self, username: bytes, pamConversion: Callable, ip: str)
src/cowrie/core/credentials.py:52
Method
__init__
(self, username: bytes)
src/cowrie/core/credentials.py:60
Method
__init__
(self, username: bytes, password: bytes, ip: str)
src/cowrie/core/credentials.py:70
Method
__init__
(self)
src/cowrie/core/auth.py:42
Method
__init__
(self)
src/cowrie/core/auth.py:142
Method
__init__
(self)
src/cowrie/core/output.py:71
Method
__init__
(self, label: str)
src/cowrie/core/artifact.py:43
Method
__init__
Initialize the rate limiter. Args: enabled: Whether rate limiting is enabled max_requests: Maximum requests
src/cowrie/core/rate_limiter.py:24
Method
__init__
(self)
src/cowrie/test/test_insults.py:23
Method
__init__
( self, connection_type, hostname, port_backend, port_proxy, u
src/cowrie/test/proxy_compare.py:20
Method
__init__
(self, code: int, data: bytes)
src/cowrie/test/test_virustotal.py:21
Method
__init__
(self)
src/cowrie/test/fake_server.py:18
Method
__init__
(self, server)
src/cowrie/test/fake_server.py:36
Method
__init__
(self)
src/cowrie/test/test_ssh_teardown.py:21
Method
__init__
(self, env: dict[str, str] | None = None)
src/cowrie/test/test_bashparse.py:29
Method
__init__
(self, server)
src/cowrie/test/test_su.py:30
Method
__init__
(self, test_file_content: bytes = b"Test file content\n")
src/cowrie/test/test_tftp.py:51
Method
__init__
( self, him_result: MagicMock | None = None, us_result: MagicMock | None = None )
src/cowrie/test/test_telnet_transport.py:35
Method
__init__
(self)
src/cowrie/test/test_telnet_transport.py:150
Method
__init__
(self, backend, pool_handler)
src/cowrie/ssh/factory.py:47
Method
__init__
Modifies the original to store where the data was originally going to go
src/cowrie/ssh/forwarding.py:193
Method
__init__
(self, *args, **kw)
src/cowrie/ssh/session.py:24
Method
__init__
Initialize logging
src/cowrie/ssh/channel.py:47
Method
__init__
(self, pickle_file_path)
src/cowrie/scripts/fsctl.py:144
Method
__init__
(self, factory)
src/cowrie/pool_interface/client.py:21
Method
__init__
(self, handler)
src/cowrie/pool_interface/client.py:123
Method
__init__
(self, pool_host, pool_port, cowrie_plugin)
src/cowrie/pool_interface/handler.py:28
Method
__init__
(self, backend, pool_handler)
src/cowrie/telnet/factory.py:40
Method
__init__
(self, username, server)
src/cowrie/telnet/session.py:31
Method
__init__
(self, sess)
src/cowrie/telnet/session.py:110
Method
__init__
(self, protocolFactory=None, *a, **kw)
src/cowrie/insults/insults.py:34
Method
__init__
(self)
src/cowrie/ssh_proxy/server_transport.py:42
Method
__init__
(self, factory: BackendSSHFactory)
src/cowrie/ssh_proxy/client_transport.py:46
Method
__init__
(self)
src/cowrie/ssh_proxy/userauth.py:16
Method
__init__
(self, uuid, chan_name, ssh, channelId)
src/cowrie/ssh_proxy/protocols/term.py:20
Method
__init__
(self, uuid, channelName, ssh, channelId, command)
src/cowrie/ssh_proxy/protocols/exec_term.py:20
Method
__init__
(self, uuid, chan_name, ssh)
src/cowrie/ssh_proxy/protocols/port_forward.py:23
Method
__init__
(self, server)
src/cowrie/ssh_proxy/protocols/ssh.py:73
Method
__init__
(self, uuid=None, name=None, ssh=None)
src/cowrie/ssh_proxy/protocols/base_protocol.py:17
Method
__init__
(self, uuid, chan_name, ssh)
src/cowrie/ssh_proxy/protocols/sftp.py:67
Method
__iter__
(self)
src/cowrie/shell/filetransfer.py:141
Method
__next__
(self)
src/cowrie/shell/filetransfer.py:144
Method
__repr__
(self)
src/cowrie/shell/command.py:182
Method
__repr__
Return a pretty representation of this object. @return Pretty representation of this object as a string @rtype: L{str}
src/cowrie/ssh/transport.py:49
Method
__repr__
Return a pretty representation of this object. @return Pretty representation of this object as a string @rtype: L{str}
src/cowrie/ssh/channel.py:38
Method
__str__
(self)
src/cowrie/shell/customparser.py:15
Method
__str__
(self)
src/cowrie/shell/customparser.py:23
Method
_after_error
(self, failure: Any, entry: dict[str, Any])
src/cowrie/output/discord.py:150
Method
_after_result
( self, result: tuple[int, float | None], entry: dict[str, Any] )
src/cowrie/output/discord.py:129
Method
_cbFinishedAuth
We only want to return a success to the user, no service needs to be set. Those will be proxied back to the backend.
src/cowrie/ssh_proxy/userauth.py:28
Method
_cbLogin
Fired on a successful login
src/cowrie/telnet/userauth.py:140
Method
_download_error
Called when download fails
src/cowrie/commands/ftpget.py:281
Method
_download_error
Called when download fails. The partial artifact is already closed and removed by _ensure_artifact_closed.
src/cowrie/commands/tftp.py:373
Method
_download_success
Called when download completes successfully
src/cowrie/commands/ftpget.py:243
Method
_download_success
Called when download completes successfully. The artifact is already hashed and stored by _ensure_artifact_closed, so shasum and shas
src/cowrie/commands/tftp.py:328
Method
_ebLogin
(self, failure)
src/cowrie/telnet/userauth.py:161
Method
_format_command
(cmd: str)
src/cowrie/output/slack.py:75
Method
_format_download
(event: dict[str, Any])
src/cowrie/output/slack.py:81
Method
_ftp_after_retrieve
Cleanup after FTP retrieval completes
src/cowrie/commands/wget.py:375
Method
_ftp_connected
Called when FTP connection established
src/cowrie/commands/ftpget.py:182
Method
_ftp_connected
Handle established FTP connection
src/cowrie/commands/wget.py:333
Method
_handle_connection_error
Handle connection errors.
src/cowrie/llm/llm.py:180
Method
_handle_exec_error
Handle errors from the LLM client during exec.
src/cowrie/llm/protocol.py:321
Method
_handle_exec_response
Handle the LLM response for an exec command.
src/cowrie/llm/protocol.py:306
Method
_handle_llm_error
Handle errors from the LLM client.
src/cowrie/llm/protocol.py:225
Method
_handle_llm_response
Handle the response from the LLM and display it to the user.
src/cowrie/llm/protocol.py:210
Method
_handle_response_body
Extract the response body from the HTTP response.
src/cowrie/llm/llm.py:174
Method
_pamConv
Convert a list of PAM authentication questions into a MSG_USERAUTH_INFO_REQUEST. Returns a Deferred that will be called back
src/cowrie/ssh/userauth.py:135
Method
_print_message
(self, message, file=None)
src/cowrie/shell/customparser.py:63
Method
_restore_env
(self)
src/cowrie/test/test_honeyfs.py:168
Method
_restore_env
(self)
src/cowrie/test/test_honeyfs.py:197
Method
_restore_env
(self)
src/cowrie/test/test_pool_config.py:30
Method
_runInteraction
(self, interaction, *args, **kw)
src/cowrie/output/postgresql.py:24
Method
_runInteraction
(self, interaction, *args, **kw)
src/cowrie/output/mysql.py:39
Method
_unwrap
(resp: Any)
src/cowrie/output/discord.py:114
Method
abortConnection
(self)
src/cowrie/test/fake_transport.py:110
Function
addressInNetwork
Is an address in a network
src/cowrie/commands/nc.py:57
Method
ask_again
(self, line: str)
src/cowrie/commands/base.py:832
Method
auth_keyboard_interactive
Keyboard interactive authentication. No payload. We create a PluggableAuthenticationModules credential and authenticate with our
src/cowrie/ssh/userauth.py:114
Method
auth_none
Allow every login
src/cowrie/ssh/userauth.py:95
Method
auth_password
Overridden to pass src_ip to credentials.UsernamePasswordIP
src/cowrie/ssh/userauth.py:103
Method
auth_password
Overridden to get password
src/cowrie/ssh_proxy/userauth.py:20
Method
backend_connection_error
(self, reason: failure.Failure)
src/cowrie/telnet_proxy/server_transport.py:122
Method
backend_connection_error
(self, reason: failure.Failure)
src/cowrie/ssh_proxy/server_transport.py:140
Method
backend_connection_success
(self, backendTransport)
src/cowrie/telnet_proxy/server_transport.py:136
Method
backend_connection_success
(self, backendTransport)
src/cowrie/ssh_proxy/server_transport.py:154
Method
buildProtocol
(self, addr: IAddress | None)
src/backend_pool/telnet_exec.py:122
Method
buildProtocol
(self, addr: IAddress | None)
src/backend_pool/ssh_exec.py:98
Method
buildProtocol
(self, addr: IAddress | None)
src/backend_pool/pool_server.py:218
Method
buildProtocol
(self, addr: IAddress | None)
src/backend_pool/nat.py:35
Method
buildProtocol
(self, addr: IAddress | None)
src/backend_pool/nat.py:82
Method
buildProtocol
Create an instance of the server side of the SSH protocol. @type addr: L{twisted.internet.interfaces.IAddress} provider @par
src/cowrie/ssh/factory.py:116
Method
buildProtocol
(self, addr)
src/cowrie/pool_interface/client.py:127
Method
buildProtocol
(self, addr)
src/cowrie/ssh_proxy/client_transport.py:36
Method
call
(self)
src/cowrie/shell/protocol.py:157
← previous
next →
801–900 of 2,302, ranked by callers