MCPcopy Create free account

hub / github.com/cowrie/cowrie / functions

Functions2,302 in github.com/cowrie/cowrie

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
MethodabortConnection
(self)
src/cowrie/test/fake_transport.py:110
FunctionaddressInNetwork
Is an address in a network
src/cowrie/commands/nc.py:57
Methodask_again
(self, line: str)
src/cowrie/commands/base.py:832
Methodauth_keyboard_interactive
Keyboard interactive authentication. No payload. We create a PluggableAuthenticationModules credential and authenticate with our
src/cowrie/ssh/userauth.py:114
Methodauth_none
Allow every login
src/cowrie/ssh/userauth.py:95
Methodauth_password
Overridden to pass src_ip to credentials.UsernamePasswordIP
src/cowrie/ssh/userauth.py:103
Methodauth_password
Overridden to get password
src/cowrie/ssh_proxy/userauth.py:20
Methodbackend_connection_error
(self, reason: failure.Failure)
src/cowrie/telnet_proxy/server_transport.py:122
Methodbackend_connection_error
(self, reason: failure.Failure)
src/cowrie/ssh_proxy/server_transport.py:140
Methodbackend_connection_success
(self, backendTransport)
src/cowrie/telnet_proxy/server_transport.py:136
Methodbackend_connection_success
(self, backendTransport)
src/cowrie/ssh_proxy/server_transport.py:154
MethodbuildProtocol
(self, addr: IAddress | None)
src/backend_pool/telnet_exec.py:122
MethodbuildProtocol
(self, addr: IAddress | None)
src/backend_pool/ssh_exec.py:98
MethodbuildProtocol
(self, addr: IAddress | None)
src/backend_pool/pool_server.py:218
MethodbuildProtocol
(self, addr: IAddress | None)
src/backend_pool/nat.py:35
MethodbuildProtocol
(self, addr: IAddress | None)
src/backend_pool/nat.py:82
MethodbuildProtocol
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
MethodbuildProtocol
(self, addr)
src/cowrie/pool_interface/client.py:127
MethodbuildProtocol
(self, addr)
src/cowrie/ssh_proxy/client_transport.py:36
Methodcall
(self)
src/cowrie/shell/protocol.py:157
← previousnext →801–900 of 2,302, ranked by callers