MCPcopy Create free account

hub / github.com/cowrie/cowrie / functions

Functions2,302 in github.com/cowrie/cowrie

Methodhelp_about
(self)
src/cowrie/scripts/fsctl.py:853
Methodhelp_help
(self)
src/cowrie/scripts/fsctl.py:850
FunctionimportFailureObserver
(event: dict)
src/twisted/plugins/cowrie_plugin.py:48
MethodinConnectionLost
(self)
src/cowrie/shell/pipe.py:296
Methodinitial_pool_connection_error
(self, reason)
src/cowrie/pool_interface/handler.py:52
Methodinitial_pool_connection_success
(self, client)
src/cowrie/pool_interface/handler.py:45
MethodinitializeScreen
Overriding super to prevent terminal.reset()
src/cowrie/shell/protocol.py:387
MethodinitializeScreen
Overriding super to prevent terminal.reset()
src/cowrie/llm/protocol.py:388
MethodisCommand
Check if cmd (the argument of a command) is a command, too.
src/cowrie/shell/protocol.py:183
Methodis_ip_free
(self, ip: str)
src/backend_pool/pool_service.py:224
MethodjoinedRoom
(self, room)
src/cowrie/output/xmpp.py:42
MethodkeystrokeReceived
(self, keyID, modifier)
src/cowrie/shell/protocol.py:328
Methodlexists
Return True if path refers to an existing path. Returns True for broken symbolic links.
src/cowrie/shell/fs.py:254
MethodlineReceived
(self, line: bytes)
src/backend_pool/telnet_exec.py:70
MethodlineReceived
(self, line: str)
src/cowrie/shell/command.py:163
MethodlineReceived
IMPORTANT Before this, all data is 'bytes'. Here it converts to 'string' and commands work with string rather than bytes.
src/cowrie/llm/protocol.py:131
MethodlineReceived
(self, line)
src/cowrie/commands/yum.py:260
MethodlineReceived
This function logs standard input from the user send to cat
src/cowrie/commands/cat.py:89
MethodlineReceived
(self, line: str)
src/cowrie/commands/fs.py:107
MethodlineReceived
(self, line: str)
src/cowrie/commands/fs.py:179
MethodlineReceived
(self, line: str)
src/cowrie/commands/fs.py:256
MethodlineReceived
(self, line: str)
src/cowrie/commands/scp.py:74
MethodlineReceived
(self, line: str)
src/cowrie/commands/cut.py:127
MethodlineReceived
(self, line: str)
src/cowrie/commands/chpasswd.py:90
MethodlineReceived
(self, line: str)
src/cowrie/commands/uniq.py:71
MethodlineReceived
Handle password input - honeypot accepts any password.
src/cowrie/commands/su.py:124
MethodlineReceived
(self, line: str)
src/cowrie/commands/base.py:845
MethodlineReceived
(self, line: str)
src/cowrie/commands/base.py:1041
MethodlineReceived
(self, line: str)
src/cowrie/commands/ssh.py:147
MethodlineReceived
This function logs standard input from the user send to tee
src/cowrie/commands/tee.py:103
MethodlineReceived
This function logs standard input from the user send to awk
src/cowrie/commands/awk.py:146
MethodlineReceived
(self, line: str)
src/cowrie/commands/base64.py:141
MethodlineReceived
(self, line: str)
src/cowrie/commands/adduser.py:88
MethodlineReceived
(self, line: str)
src/cowrie/commands/python.py:123
MethodlineReceived
(self, line: str)
src/cowrie/commands/perl.py:114
MethodlineReceived
(self, line: str)
src/cowrie/commands/nc.py:277
MethodlineReceived
(self, line: str)
src/cowrie/commands/crontab.py:67
MethodlineReceived
(self, line: str)
src/cowrie/commands/dd.py:100
MethodlogDispatch
Send log directly to factory, avoiding normal log dispatch
src/cowrie/shell/protocol.py:81
MethodlogDispatch
Send log directly to factory, avoiding normal log dispatch
src/cowrie/llm/protocol.py:63
MethodlogDispatch
Special delivery to the loggers to avoid scope problems
src/cowrie/ssh/factory.py:62
MethodlogDispatch
Special delivery to the loggers to avoid scope problems
src/cowrie/telnet/factory.py:47
Functionlogger
Custom logger that can log in a defined timezone and with custom roll over properties
src/cowrie/python/logfile.py:33
Methodlogout
(self)
src/cowrie/shell/avatar.py:55
Methodlogout
(self)
src/cowrie/llm/telnet.py:77
Methodlogout
(self)
src/cowrie/llm/avatar.py:28
Methodlogout
(self)
src/cowrie/telnet/session.py:96
MethodlookupChannel
Override this to get more info on the unknown channel
src/cowrie/shell/avatar.py:58
MethodlookupChannel
Override this to get more info on the unknown channel
src/cowrie/llm/avatar.py:31
Methodloop_cont
()
src/cowrie/shell/honeypot.py:309
MethodloseConnection
Override super to remove the terminal reset on logout
src/cowrie/insults/insults.py:140
MethodmakeDirectory
(self, path, attrs)
src/cowrie/shell/filetransfer.py:229
MethodmakeLink
(self, linkPath, targetPath)
src/cowrie/shell/filetransfer.py:267
MethodmakeService
Construct a TCPServer from a factory defined in Cowrie.
src/twisted/plugins/cowrie_plugin.py:89
Methodmessage
(query)
src/cowrie/output/greynoise.py:53
FunctionnetworkMask
Convert a network address to a long integer
src/cowrie/commands/nc.py:50
Functionnmap_port
(guest_ip: str, port: int)
src/backend_pool/util.py:27
Functionnow
()
src/backend_pool/util.py:99
Methodobserver
(event: dict)
src/cowrie/test/test_telnet_transport.py:196
MethodonMessage
(self, msg)
src/cowrie/output/xmpp.py:54
MethodopenShell
(self, processprotocol)
src/cowrie/shell/session.py:85
MethodopenShell
(self, processprotocol)
src/cowrie/llm/session.py:32
Methodoptional_arg
(arg_default)
src/cowrie/commands/iptables.py:83
MethodoutReceived
Invoked when a command in the chain called 'write' method
src/cowrie/shell/pipe.py:280
MethodoutReceived
(self, data: bytes)
src/cowrie/llm/telnet.py:92
MethodoutReceived
(self, data: bytes)
src/cowrie/telnet/session.py:114
Methodpacket_buffer
We have to wait until we have a connection to the backend ready. Meanwhile, we hold packets from client to server in here.
src/cowrie/telnet_proxy/server_transport.py:240
Methodpacket_buffer
We can only proceed if authentication has been performed between client and proxy. Meanwhile we hold packets in here.
src/cowrie/telnet_proxy/client_transport.py:63
Methodparse_packet
(self, parent: str, data: bytes)
src/cowrie/ssh_proxy/protocols/exec_term.py:51
Methodparse_packet
Parse forwarded traffic and generate JA4/JA4H fingerprints.
src/cowrie/ssh_proxy/protocols/port_forward.py:26
Methodparse_packet
(self, parent: str, data: bytes)
src/cowrie/ssh_proxy/protocols/base_protocol.py:27
Methodparse_packet
(self, parent: str, data: bytes)
src/cowrie/ssh_proxy/protocols/sftp.py:78
MethodpauseProducing
(self)
src/cowrie/llm/llm.py:50
MethodpauseProducing
(self)
src/cowrie/output/virustotal.py:730
Functionping
(guest_ip: str)
src/backend_pool/util.py:22
Methodpool_connection_error
(self, reason)
src/cowrie/telnet_proxy/server_transport.py:96
Methodpool_connection_error
(self, reason: failure.Failure)
src/cowrie/ssh_proxy/server_transport.py:115
Methodpool_connection_success
(self, pool_interface)
src/cowrie/telnet_proxy/server_transport.py:102
Methodpool_connection_success
(self, pool_interface)
src/cowrie/ssh_proxy/server_transport.py:120
Methodpostentry
(self, entry: dict[str, Any])
src/cowrie/output/discord.py:84
Methodposturl
Send a URL to Cuckoo
src/cowrie/output/cuckoo.py:161
MethodprocessConnect
Create log messages for connect events
src/cowrie/output/reversedns.py:43
MethodprocessEnded
Fake function for mockup.
src/cowrie/test/fake_transport.py:44
MethodprocessEnded
here SSH is doing signal handling, I don't think telnet supports that so I'm simply going to bail out
src/cowrie/telnet/session.py:141
MethodprocessExited
(self, reason: failure.Failure)
src/cowrie/shell/pipe.py:315
MethodprocessForward
Create log messages for forward events
src/cowrie/output/reversedns.py:65
MethodprocessResult
(result)
src/cowrie/output/splunk.py:109
Functionprocess_ended
(reason: object = None)
src/cowrie/test/test_exit_status.py:161
Methodprocess_response
(body_bytes)
src/cowrie/output/virustotal.py:229
Methodproducer_loop
(self)
src/backend_pool/pool_service.py:380
Methodput_int
(self, number: int)
src/cowrie/ssh_proxy/protocols/base_protocol.py:41
MethodrawDataReceived
The login and password prompt on some systems are not received in lineMode. Therefore we do the authentication in raw mode and switch
src/backend_pool/telnet_exec.py:48
MethodreadChunk
(self, offset: int, length: int)
src/cowrie/shell/filetransfer.py:116
MethodreadLink
(self, path)
src/cowrie/shell/filetransfer.py:262
Functionread_file
(file_name: str)
src/backend_pool/util.py:35
Functionread_pool_config
Read a pool configuration file by basename. Resolution: 1. If [backend_pool] config_files_path is set and <config_files_path>/<nam
src/backend_pool/util.py:40
MethodrealPath
(self, path)
src/cowrie/shell/filetransfer.py:273
MethodreceiveError
Called when we receive a disconnect error message from the other side. @param reasonCode: the reason for the disconnect, one of the
src/cowrie/ssh/transport.py:291
MethodreceiveError
Called when we receive a disconnect error message from the other side. @param reasonCode: the reason for the disconnect, one
src/cowrie/ssh_proxy/server_transport.py:434
MethodreceivedGroupChat
(self, room, user, body)
src/cowrie/output/xmpp.py:57
← previousnext →1,201–1,300 of 2,302, ranked by callers