MCPcopy Create free account

hub / github.com/cowrie/cowrie / functions

Functions2,302 in github.com/cowrie/cowrie

MethodeofReceived
(self)
src/cowrie/llm/session.py:65
MethodeofReceived
ctrl-d is end-of-file, time to terminate
src/cowrie/commands/cat.py:102
MethodeofReceived
(self)
src/cowrie/commands/fs.py:115
MethodeofReceived
(self)
src/cowrie/commands/fs.py:187
MethodeofReceived
(self)
src/cowrie/commands/fs.py:264
MethodeofReceived
(self)
src/cowrie/commands/scp.py:187
MethodeofReceived
(self)
src/cowrie/commands/cut.py:136
MethodeofReceived
(self)
src/cowrie/commands/chpasswd.py:99
MethodeofReceived
(self)
src/cowrie/commands/uniq.py:80
MethodeofReceived
(self)
src/cowrie/commands/base.py:1049
MethodeofReceived
ctrl-d is end-of-file, time to terminate
src/cowrie/commands/tee.py:122
MethodeofReceived
ctrl-d is end-of-file, time to terminate
src/cowrie/commands/awk.py:159
MethodeofReceived
(self)
src/cowrie/commands/base64.py:151
MethodeofReceived
(self)
src/cowrie/commands/python.py:131
MethodeofReceived
(self)
src/cowrie/commands/perl.py:122
MethodeofReceived
(self)
src/cowrie/commands/nc.py:287
MethodeofReceived
(self)
src/cowrie/commands/crontab.py:75
MethodeofReceived
(self)
src/cowrie/commands/dd.py:108
MethodeofReceived
(self)
src/cowrie/ssh/forwarding.py:112
MethodeofReceived
(self)
src/cowrie/ssh/forwarding.py:290
MethoderrConnectionLost
(self)
src/cowrie/shell/pipe.py:312
MethoderrConnectionLost
(self)
src/cowrie/llm/telnet.py:107
MethoderrConnectionLost
See outConnectionLost().
src/cowrie/telnet/session.py:131
MethoderrReceived
(self, data: bytes)
src/cowrie/llm/telnet.py:95
MethoderrReceived
(self, data: bytes)
src/cowrie/telnet/session.py:117
Methoderror
(self, message)
src/cowrie/shell/customparser.py:66
Methoderror
handle errors
src/cowrie/commands/wget.py:582
Methoderror
(self, msg: str)
src/cowrie/commands/iptables.py:30
MethodexecCommand
(self, processprotocol, cmd)
src/cowrie/shell/session.py:102
MethodexecCommand
(self, processprotocol, cmd)
src/cowrie/llm/session.py:49
Methodexecute_both
(self, command)
src/cowrie/test/proxy_compare.py:47
Methodexecute_one
(self, is_proxy, command, deferred)
src/cowrie/test/proxy_compare.py:90
Functionexecute_ssh
(host, port, username, password, command, callback=None)
src/backend_pool/ssh_exec.py:108
Functionexecute_telnet
Executes a command over Telnet. For that, it performs authentication beforehand, and waits some time to get all of the output (slow machines
src/backend_pool/telnet_exec.py:151
Methodexit
(self, status=0, message=None)
src/cowrie/shell/customparser.py:60
MethodextReceived
(self, dataType: int, data: bytes)
src/backend_pool/ssh_exec.py:44
MethodextendedRequest
(self, extName, extData)
src/cowrie/shell/filetransfer.py:276
Methodfailing_open
(*args, **kwargs)
src/cowrie/test/test_insults.py:121
Methodfake_make_request
(*args, **kwargs)
src/cowrie/test/test_virustotal.py:240
Methodfileno
(self)
src/cowrie/core/artifact.py:70
Methodfinish
(self, line: str)
src/cowrie/commands/base.py:836
Methodfinish
(self)
src/cowrie/commands/base.py:909
Methodfinish
(self)
src/cowrie/commands/base.py:930
Methodfinish
(self, line: str)
src/cowrie/commands/ssh.py:128
Methodfoo
(p, cwd)
src/cowrie/shell/fs.py:199
FunctionformatCef
Take logentry and turn into CEF string
src/cowrie/core/cef.py:25
Methodfull_uname
(self)
src/cowrie/commands/uname.py:81
Methodfunc
(option, opt_str, value, parser)
src/cowrie/commands/iptables.py:84
Methodgenerate_file
(self, outfile: str)
src/cowrie/commands/gcc.py:190
Functiongenerate_network_table
Generates a table associating MAC and IP addressed to be distributed by our virtual network adapter via DHCP.
src/backend_pool/util.py:68
MethodgetAttrs
(self, path, followLinks)
src/cowrie/shell/filetransfer.py:246
FunctiongetECDSAKeys
If no keys in configfile file, generate but don't write them. If keys are defined, but don't exist, create them. If keys defined and exis
src/cowrie/ssh/keys.py:68
MethodgetPassword
(self, prompt=None)
src/backend_pool/ssh_exec.py:22
MethodgetProtoTransport
Due to protocol nesting differences, we need to override how we grab the proper transport to access underlying Telnet information.
src/cowrie/shell/protocol.py:477
MethodgetProtoTransport
Due to protocol nesting differences, we need to override how we grab the proper transport to access underlying Telnet information.
src/cowrie/llm/protocol.py:463
MethodgetPty
(self, terminal, windowSize, attrs)
src/cowrie/shell/session.py:92
MethodgetPty
(self, terminal, windowSize, attrs)
src/cowrie/llm/session.py:39
FunctiongetRSAKeys
If no keys in configfile file, generate but don't write them. If keys are defined, but don't exist, create them. If keys defined and exis
src/cowrie/ssh/keys.py:28
MethodgetSessionId
(self)
src/cowrie/insults/insults.py:249
Functionget_bool
(data: bytes)
src/cowrie/ssh_proxy/client_transport.py:23
Methodget_status
Return $? -- the last command's exit status as a string.
src/cowrie/shell/honeypot.py:128
Methodget_status
(self)
src/cowrie/test/test_bashparse.py:37
Functionget_tree
Return a fresh deep copy of the cached filesystem tree. Each HoneyPotFilesystem instance gets its own copy so per-session mutations (mkfile,
src/cowrie/shell/honeyfs.py:98
Functionget_uuid
Retrieve UUID from state file or create and persist a new one. Ensures the returned UUID is always a valid string representation.
src/cowrie/core/uuid.py:26
Methodget_variable
Look up a shell variable for the Lark word evaluator.
src/cowrie/shell/honeypot.py:124
Methodget_variable
(self, name: str)
src/cowrie/test/test_bashparse.py:34
Functiongeted25519Keys
If no keys in configfile file, generate but don't write them. If keys are defined, but don't exist, create them. If keys defined and exis
src/cowrie/ssh/keys.py:100
Methodgetgrnam
Get group entry for groupname
src/cowrie/shell/pwd.py:178
MethodgotVersion
(self, otherVersion, extData)
src/cowrie/shell/filetransfer.py:210
MethodhandleTimeout
Handle timeout - retry or fail
src/cowrie/commands/tftp.py:190
Methodhandle_CTRL_C
(self)
src/cowrie/shell/command.py:158
Methodhandle_CTRL_C
(self)
src/cowrie/shell/protocol.py:426
Methodhandle_CTRL_C
(self)
src/cowrie/shell/honeypot.py:765
Methodhandle_CTRL_C
(self)
src/cowrie/llm/protocol.py:411
Methodhandle_CTRL_C
(self)
src/cowrie/commands/curl.py:345
Methodhandle_CTRL_C
(self)
src/cowrie/commands/base.py:980
Methodhandle_CTRL_C
(self)
src/cowrie/commands/tee.py:116
Methodhandle_CTRL_C
(self)
src/cowrie/commands/sleep.py:116
Methodhandle_CTRL_C
(self)
src/cowrie/commands/wget.py:438
Methodhandle_CTRL_C
Make sure the scheduled call will be canceled
src/cowrie/commands/gcc.py:147
Methodhandle_CTRL_C
Handle CTRL-C interruption - cancel TFTP transfer
src/cowrie/commands/tftp.py:411
Methodhandle_CTRL_C
(self)
src/cowrie/commands/ping.py:117
Methodhandle_CTRL_D
(self)
src/cowrie/shell/protocol.py:430
Methodhandle_CTRL_K
(self)
src/cowrie/shell/protocol.py:438
Methodhandle_CTRL_K
(self)
src/cowrie/llm/protocol.py:421
Methodhandle_CTRL_L
Handle a 'form feed' byte - generally used to request a screen refresh/redraw.
src/cowrie/shell/protocol.py:443
Methodhandle_CTRL_L
Handle a 'form feed' byte - generally used to request a screen refresh/redraw.
src/cowrie/llm/protocol.py:427
Methodhandle_CTRL_U
(self)
src/cowrie/shell/protocol.py:453
Methodhandle_CTRL_U
(self)
src/cowrie/llm/protocol.py:438
Methodhandle_CTRL_V
(self)
src/cowrie/shell/protocol.py:461
Methodhandle_CTRL_V
(self)
src/cowrie/llm/protocol.py:447
Methodhandle_ESC
(self)
src/cowrie/shell/protocol.py:464
Methodhandle_ESC
(self)
src/cowrie/llm/protocol.py:450
Methodhandle_NUL
Ignore NUL bytes. They are routine NVT traffic: telnet clients send CR NUL as the line ending per RFC 854, and some clients send stra
src/cowrie/shell/protocol.py:419
Methodhandle_RETURN
(self)
src/cowrie/shell/protocol.py:412
Methodhandle_RETURN
(self)
src/cowrie/llm/protocol.py:405
Methodhandle_TAB
(self)
src/cowrie/shell/command.py:172
Methodhandle_TAB
(self)
src/cowrie/shell/protocol.py:434
Methodhandle_TAB
lineBuffer is an array of bytes
src/cowrie/shell/honeypot.py:771
Methodhandle_TAB
(self)
src/cowrie/llm/protocol.py:418
← previousnext →1,101–1,200 of 2,302, ranked by callers