MCPcopy Create free account

hub / github.com/cowrie/cowrie / functions

Functions2,302 in github.com/cowrie/cowrie

Methodtest_unknown_event_returns_dict
(self)
src/cowrie/test/test_ocsf.py:442
Methodtest_unknown_event_severity_unknown
(self)
src/cowrie/test/test_ocsf.py:450
Methodtest_unprivileged_user_type
(self)
src/cowrie/test/test_ocsf.py:306
Methodtest_unquoted_variable_after_literal_expands
(self)
src/cowrie/test/test_bashparse.py:108
Methodtest_unset_command
(self)
src/cowrie/test/test_base_commands.py:167
Methodtest_unset_path_does_not_crash
(self)
src/cowrie/test/test_shell_variables.py:115
Methodtest_unset_removes_variable
(self)
src/cowrie/test/test_shell_variables.py:122
Methodtest_unset_whole_token_dropped
(self)
src/cowrie/test/test_shell_variables.py:86
Methodtest_unterminated_for_is_error
(self)
src/cowrie/test/test_bashparse.py:387
Methodtest_until_clause
(self)
src/cowrie/test/test_bashparse.py:346
Methodtest_until_runs_until_true
(self)
src/cowrie/test/test_flow_control.py:102
Methodtest_until_true_condition_exit_status
(self)
src/cowrie/test/test_flow_control.py:120
Methodtest_upload_comments_and_collects_by_file_hash
A fresh upload must comment on and add to the collection by the file's sha256, not the analysis id the upload returns.
src/cowrie/test/test_virustotal.py:230
Methodtest_url_cache_functionality
Test URL caching functionality
src/cowrie/test/test_virustotal.py:357
Methodtest_user_file_overlays_bundled_default
(self)
src/cowrie/test/test_config.py:31
Methodtest_users_command
(self)
src/cowrie/test/test_base_commands.py:38
Methodtest_utf8_script_is_text
(self)
src/cowrie/test/test_script_execution.py:211
Methodtest_valid_data_still_delivered
(self)
src/cowrie/test/test_telnet_transport.py:273
Methodtest_verbose_output
Test ftpget -v shows FTP commands
src/cowrie/test/test_ftpget.py:221
Methodtest_walks_nested_directories
(self)
src/cowrie/test/test_fsctl.py:89
Methodtest_while_breaks_out
(self)
src/cowrie/test/test_flow_control.py:96
Methodtest_while_clause
(self)
src/cowrie/test/test_bashparse.py:341
Methodtest_while_false_condition_exit_status
(self)
src/cowrie/test/test_flow_control.py:115
Methodtest_while_infinite_is_capped
(self)
src/cowrie/test/test_flow_control.py:108
Methodtest_whoami_command
(self)
src/cowrie/test/test_base_commands.py:34
Methodtest_whole_line_comment_yields_nothing
(self)
src/cowrie/test/test_bashparse.py:300
Methodtest_write_method_file_download
Test write method for file download events
src/cowrie/test/test_virustotal.py:375
Methodtest_write_method_file_upload
Test write method for file upload events
src/cowrie/test/test_virustotal.py:396
Methodtest_writes_etc_cowrie_cfg
(self)
src/cowrie/test/test_cowrie_script.py:72
Methodtest_yields_readable_binary_stream
(self)
src/cowrie/test/test_resources.py:35
MethodtimeoutConnection
Make sure all sessions time out eventually. Timeout is reset when authentication succeeds.
src/cowrie/telnet_proxy/server_transport.py:181
MethodtimeoutConnection
Make sure all sessions time out eventually. Timeout is reset when authentication succeeds.
src/cowrie/telnet_proxy/client_transport.py:43
MethodtimeoutConnection
this logs out when connection times out
src/cowrie/shell/protocol.py:374
MethodtimeoutConnection
this logs out when connection times out
src/cowrie/llm/protocol.py:375
MethodtimeoutConnection
Make sure all sessions time out eventually. Timeout is reset when authentication succeeds.
src/cowrie/ssh/transport.py:229
MethodtimeoutConnection
Make sure all sessions time out eventually. Timeout is reset when authentication succeeds.
src/cowrie/telnet/transport.py:116
MethodtimeoutConnection
Make sure all sessions time out eventually. Timeout is reset when authentication succeeds.
src/cowrie/ssh_proxy/server_transport.py:339
MethodtimeoutConnection
Make sure all sessions time out eventually. Timeout is reset when authentication succeeds.
src/cowrie/ssh_proxy/client_transport.py:138
Functionto_absolute_path
Converts a relative path to absolute, useful when converting cowrie configs (relative) to qemu paths (which must be absolute)
src/backend_pool/util.py:103
Methodtracking_open
(path, *args, **kwargs)
src/cowrie/test/test_insults.py:94
Functiontranslate_fs_errors
Translate the emulated filesystem's exceptions into ``OSError`` at the SFTP boundary. ``HoneyPotFilesystem`` raises ``FileNotFound`` / ``Perm
src/cowrie/shell/filetransfer.py:41
Methodtry_branch
(index: int)
src/cowrie/shell/honeypot.py:380
Functionttylog_close
Close tty log @param logfile: logfile name @param stamp: timestamp
src/cowrie/core/ttylog.py:51
Functionttylog_inputhash
Create unique hash of the input parts of tty log @param logfile: logfile name
src/cowrie/core/ttylog.py:63
Functionttylog_open
Initialize new tty log @param logfile: logfile name @param stamp: timestamp
src/cowrie/core/ttylog.py:21
Functionttylog_write
Write to tty log @param logfile: timestamp @param length: length @param direction: 0 or 1 @param stamp: timestamp @param dat
src/cowrie/core/ttylog.py:33
MethodunhandledCommand
(self, command: bytes, argument: bytes)
src/cowrie/test/test_telnet_transport.py:140
MethodunhandledSubnegotiation
(self, command: bytes, data: list[bytes])
src/cowrie/test/test_telnet_transport.py:143
Functionuptime
Gives a human-readable uptime string Thanks to http://thesmithfam.org/blog/2005/11/19/python-uptime-script/ (modified to look like the re
src/cowrie/core/utils.py:93
Methoduptime
Uptime
src/cowrie/shell/protocol.py:282
MethodverifyHostKey
(self, hostKey, fingerprint)
src/backend_pool/ssh_exec.py:77
MethodverifyHostKey
(self, hostKey, fingerprint)
src/cowrie/ssh_proxy/client_transport.py:62
Methodwait
(self, line: str)
src/cowrie/commands/ssh.py:125
Methodwakeup
(self)
src/cowrie/output/abuseipdb.py:201
MethodwindowChanged
(self, windowSize)
src/cowrie/shell/session.py:121
MethodwindowChanged
(self, windowSize)
src/cowrie/llm/session.py:69
Functionwrapper
(*args: Any, **kwargs: Any)
src/cowrie/shell/filetransfer.py:55
Methodwrite
(self, event)
src/cowrie/output/abuseipdb.py:119
Methodwrite
Process log event
src/cowrie/output/reversedns.py:38
Methodwrite
(self, event)
src/cowrie/output/postgresql.py:93
Methodwrite
(self, event: dict)
src/cowrie/output/signal.py:33
Methodwrite
(self, event)
src/cowrie/output/hpfeeds3.py:59
Methodwrite
(self, event)
src/cowrie/output/malshare.py:44
Methodwrite
Push to redis
src/cowrie/output/redis.py:59
Methodwrite
(self, event)
src/cowrie/output/cuckoo.py:70
Methodwrite
(self, event)
src/cowrie/output/textlog.py:30
Methodwrite
(self, event)
src/cowrie/output/influx.py:108
Methodwrite
(self, event)
src/cowrie/output/greynoise.py:43
Methodwrite
(self, event)
src/cowrie/output/mysql.py:113
Methodwrite
(self, event)
src/cowrie/output/socketlog.py:33
Methodwrite
(self, event)
src/cowrie/output/remotesyslog.py:44
Methodwrite
(self, event)
src/cowrie/output/rethinkdblog.py:44
Methodwrite
Publish an event to the RabbitMQ exchange using event type as routing key, with reconnection logic.
src/cowrie/output/rmq.py:99
Methodwrite
Push to Oracle Cloud put_logs
src/cowrie/output/oraclecloud.py:113
Methodwrite
(self, event)
src/cowrie/output/telegram.py:27
Methodwrite
(self, event)
src/cowrie/output/jsonlog.py:45
Methodwrite
(self, event: dict[str, Any])
src/cowrie/output/slack.py:177
Methodwrite
events are done in emit() not in write()
src/cowrie/output/crashreporter.py:55
Methodwrite
(self, event)
src/cowrie/output/xmpp.py:90
Methodwrite
Only pass on connection events
src/cowrie/output/csirtg.py:48
Methodwrite
(self, event)
src/cowrie/output/localsyslog.py:33
Methodwrite
(self, event)
src/cowrie/output/elasticsearch.py:122
Methodwrite
(self, event)
src/cowrie/output/splunk.py:52
Methodwrite
(self, event)
src/cowrie/output/dshield.py:94
Methodwrite
Queue an event and kick off sending if idle.
src/cowrie/output/discord.py:77
Methodwrite
(self, event: dict)
src/cowrie/output/prometheus.py:110
Methodwrite
(self, event)
src/cowrie/output/mongodb.py:61
Methodwrite
(self, event)
src/cowrie/output/graylog.py:35
Methodwrite
(self, event)
src/cowrie/output/sqlite.py:59
Methodwrite
(self, event)
src/cowrie/output/datadog.py:48
Methodwrite
Process events and submit to MISP
src/cowrie/output/misp.py:91
Methodwrite
(self, event)
src/cowrie/output/axiom.py:40
Methodwrite
(self, data: bytes)
src/cowrie/core/artifact.py:67
Methodwrite
(self, data: bytes)
src/cowrie/test/test_telnet_transport.py:153
Methodwrite
Modifies the original to strip off the TCP tunnel response
src/cowrie/ssh/forwarding.py:266
MethodwriteChunk
(self, offset: int, data: bytes)
src/cowrie/shell/filetransfer.py:119
MethodwriteSequence
(self, seq: list[bytes])
src/cowrie/shell/session.py:36
MethodwriteSequence
(self, seq)
src/cowrie/llm/telnet.py:127
MethodwriteSequence
(self, seq: list[bytes])
src/cowrie/test/test_telnet_transport.py:156
MethodwriteSequence
(self, seq)
src/cowrie/telnet/session.py:164
← previousnext →2,201–2,300 of 2,302, ranked by callers