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
help_about
(self)
src/cowrie/scripts/fsctl.py:853
Method
help_help
(self)
src/cowrie/scripts/fsctl.py:850
Function
importFailureObserver
(event: dict)
src/twisted/plugins/cowrie_plugin.py:48
Method
inConnectionLost
(self)
src/cowrie/shell/pipe.py:296
Method
initial_pool_connection_error
(self, reason)
src/cowrie/pool_interface/handler.py:52
Method
initial_pool_connection_success
(self, client)
src/cowrie/pool_interface/handler.py:45
Method
initializeScreen
Overriding super to prevent terminal.reset()
src/cowrie/shell/protocol.py:387
Method
initializeScreen
Overriding super to prevent terminal.reset()
src/cowrie/llm/protocol.py:388
Method
isCommand
Check if cmd (the argument of a command) is a command, too.
src/cowrie/shell/protocol.py:183
Method
is_ip_free
(self, ip: str)
src/backend_pool/pool_service.py:224
Method
joinedRoom
(self, room)
src/cowrie/output/xmpp.py:42
Method
keystrokeReceived
(self, keyID, modifier)
src/cowrie/shell/protocol.py:328
Method
lexists
Return True if path refers to an existing path. Returns True for broken symbolic links.
src/cowrie/shell/fs.py:254
Method
lineReceived
(self, line: bytes)
src/backend_pool/telnet_exec.py:70
Method
lineReceived
(self, line: str)
src/cowrie/shell/command.py:163
Method
lineReceived
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
Method
lineReceived
(self, line)
src/cowrie/commands/yum.py:260
Method
lineReceived
This function logs standard input from the user send to cat
src/cowrie/commands/cat.py:89
Method
lineReceived
(self, line: str)
src/cowrie/commands/fs.py:107
Method
lineReceived
(self, line: str)
src/cowrie/commands/fs.py:179
Method
lineReceived
(self, line: str)
src/cowrie/commands/fs.py:256
Method
lineReceived
(self, line: str)
src/cowrie/commands/scp.py:74
Method
lineReceived
(self, line: str)
src/cowrie/commands/cut.py:127
Method
lineReceived
(self, line: str)
src/cowrie/commands/chpasswd.py:90
Method
lineReceived
(self, line: str)
src/cowrie/commands/uniq.py:71
Method
lineReceived
Handle password input - honeypot accepts any password.
src/cowrie/commands/su.py:124
Method
lineReceived
(self, line: str)
src/cowrie/commands/base.py:845
Method
lineReceived
(self, line: str)
src/cowrie/commands/base.py:1041
Method
lineReceived
(self, line: str)
src/cowrie/commands/ssh.py:147
Method
lineReceived
This function logs standard input from the user send to tee
src/cowrie/commands/tee.py:103
Method
lineReceived
This function logs standard input from the user send to awk
src/cowrie/commands/awk.py:146
Method
lineReceived
(self, line: str)
src/cowrie/commands/base64.py:141
Method
lineReceived
(self, line: str)
src/cowrie/commands/adduser.py:88
Method
lineReceived
(self, line: str)
src/cowrie/commands/python.py:123
Method
lineReceived
(self, line: str)
src/cowrie/commands/perl.py:114
Method
lineReceived
(self, line: str)
src/cowrie/commands/nc.py:277
Method
lineReceived
(self, line: str)
src/cowrie/commands/crontab.py:67
Method
lineReceived
(self, line: str)
src/cowrie/commands/dd.py:100
Method
logDispatch
Send log directly to factory, avoiding normal log dispatch
src/cowrie/shell/protocol.py:81
Method
logDispatch
Send log directly to factory, avoiding normal log dispatch
src/cowrie/llm/protocol.py:63
Method
logDispatch
Special delivery to the loggers to avoid scope problems
src/cowrie/ssh/factory.py:62
Method
logDispatch
Special delivery to the loggers to avoid scope problems
src/cowrie/telnet/factory.py:47
Function
logger
Custom logger that can log in a defined timezone and with custom roll over properties
src/cowrie/python/logfile.py:33
Method
logout
(self)
src/cowrie/shell/avatar.py:55
Method
logout
(self)
src/cowrie/llm/telnet.py:77
Method
logout
(self)
src/cowrie/llm/avatar.py:28
Method
logout
(self)
src/cowrie/telnet/session.py:96
Method
lookupChannel
Override this to get more info on the unknown channel
src/cowrie/shell/avatar.py:58
Method
lookupChannel
Override this to get more info on the unknown channel
src/cowrie/llm/avatar.py:31
Method
loop_cont
()
src/cowrie/shell/honeypot.py:309
Method
loseConnection
Override super to remove the terminal reset on logout
src/cowrie/insults/insults.py:140
Method
makeDirectory
(self, path, attrs)
src/cowrie/shell/filetransfer.py:229
Method
makeLink
(self, linkPath, targetPath)
src/cowrie/shell/filetransfer.py:267
Method
makeService
Construct a TCPServer from a factory defined in Cowrie.
src/twisted/plugins/cowrie_plugin.py:89
Method
message
(query)
src/cowrie/output/greynoise.py:53
Function
networkMask
Convert a network address to a long integer
src/cowrie/commands/nc.py:50
Function
nmap_port
(guest_ip: str, port: int)
src/backend_pool/util.py:27
Function
now
()
src/backend_pool/util.py:99
Method
observer
(event: dict)
src/cowrie/test/test_telnet_transport.py:196
Method
onMessage
(self, msg)
src/cowrie/output/xmpp.py:54
Method
openShell
(self, processprotocol)
src/cowrie/shell/session.py:85
Method
openShell
(self, processprotocol)
src/cowrie/llm/session.py:32
Method
optional_arg
(arg_default)
src/cowrie/commands/iptables.py:83
Method
outReceived
Invoked when a command in the chain called 'write' method
src/cowrie/shell/pipe.py:280
Method
outReceived
(self, data: bytes)
src/cowrie/llm/telnet.py:92
Method
outReceived
(self, data: bytes)
src/cowrie/telnet/session.py:114
Method
packet_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
Method
packet_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
Method
parse_packet
(self, parent: str, data: bytes)
src/cowrie/ssh_proxy/protocols/exec_term.py:51
Method
parse_packet
Parse forwarded traffic and generate JA4/JA4H fingerprints.
src/cowrie/ssh_proxy/protocols/port_forward.py:26
Method
parse_packet
(self, parent: str, data: bytes)
src/cowrie/ssh_proxy/protocols/base_protocol.py:27
Method
parse_packet
(self, parent: str, data: bytes)
src/cowrie/ssh_proxy/protocols/sftp.py:78
Method
pauseProducing
(self)
src/cowrie/llm/llm.py:50
Method
pauseProducing
(self)
src/cowrie/output/virustotal.py:730
Function
ping
(guest_ip: str)
src/backend_pool/util.py:22
Method
pool_connection_error
(self, reason)
src/cowrie/telnet_proxy/server_transport.py:96
Method
pool_connection_error
(self, reason: failure.Failure)
src/cowrie/ssh_proxy/server_transport.py:115
Method
pool_connection_success
(self, pool_interface)
src/cowrie/telnet_proxy/server_transport.py:102
Method
pool_connection_success
(self, pool_interface)
src/cowrie/ssh_proxy/server_transport.py:120
Method
postentry
(self, entry: dict[str, Any])
src/cowrie/output/discord.py:84
Method
posturl
Send a URL to Cuckoo
src/cowrie/output/cuckoo.py:161
Method
processConnect
Create log messages for connect events
src/cowrie/output/reversedns.py:43
Method
processEnded
Fake function for mockup.
src/cowrie/test/fake_transport.py:44
Method
processEnded
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
Method
processExited
(self, reason: failure.Failure)
src/cowrie/shell/pipe.py:315
Method
processForward
Create log messages for forward events
src/cowrie/output/reversedns.py:65
Method
processResult
(result)
src/cowrie/output/splunk.py:109
Function
process_ended
(reason: object = None)
src/cowrie/test/test_exit_status.py:161
Method
process_response
(body_bytes)
src/cowrie/output/virustotal.py:229
Method
producer_loop
(self)
src/backend_pool/pool_service.py:380
Method
put_int
(self, number: int)
src/cowrie/ssh_proxy/protocols/base_protocol.py:41
Method
rawDataReceived
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
Method
readChunk
(self, offset: int, length: int)
src/cowrie/shell/filetransfer.py:116
Method
readLink
(self, path)
src/cowrie/shell/filetransfer.py:262
Function
read_file
(file_name: str)
src/backend_pool/util.py:35
Function
read_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
Method
realPath
(self, path)
src/cowrie/shell/filetransfer.py:273
Method
receiveError
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
Method
receiveError
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
Method
receivedGroupChat
(self, room, user, body)
src/cowrie/output/xmpp.py:57
← previous
next →
1,201–1,300 of 2,302, ranked by callers