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
test_int_non_numeric_errors
(self)
src/cowrie/test/test_test_builtin.py:111
Method
test_interactive_channel_translates_newline
Interactive PTY sessions still rewrite \\n to \\r\\n.
src/cowrie/test/test_insults.py:49
Method
test_interactive_empty_pipe_returns_to_prompt
A filter downstream of an empty pipe must exit on EOF, not park.
src/cowrie/test/test_pipe_eof.py:72
Method
test_interactive_tee_waits_for_terminal_stdin
`tee` typed at the prompt must wait for stdin, not exit immediately.
src/cowrie/test/test_pipe_eof.py:101
Method
test_invalid_directory
Test ftpget with invalid local directory
src/cowrie/test/test_ftpget.py:124
Method
test_invalid_fd_redirection
(self)
src/cowrie/test/test_fd_redirection.py:158
Method
test_invalid_iac_byte_dropped_cleanly
(self)
src/cowrie/test/test_telnet_transport.py:266
Method
test_invalid_ip_address
(self)
src/cowrie/test/test_network.py:72
Method
test_invalid_utf8_algorithm_name_does_not_crash
(self)
src/cowrie/test/test_ssh_transport.py:57
Method
test_invalid_utf8_is_binary
(self)
src/cowrie/test/test_script_execution.py:218
Method
test_ipv4_address_allowed
(self)
src/cowrie/test/test_network.py:34
Method
test_ipv4_address_blocked
(self)
src/cowrie/test/test_network.py:40
Method
test_ipv6_address_allowed
(self)
src/cowrie/test/test_network.py:48
Method
test_ipv6_address_blocked
(self)
src/cowrie/test/test_network.py:54
Method
test_issue_net_resolves_without_error
(self)
src/cowrie/test/test_honeyfs.py:182
Method
test_jobs_command
(self)
src/cowrie/test/test_base_commands.py:186
Method
test_kill_command
(self)
src/cowrie/test/test_base_commands.py:190
Method
test_killall5_command
(self)
src/cowrie/test/test_base_commands.py:202
Method
test_killall_command
(self)
src/cowrie/test/test_base_commands.py:198
Method
test_large_file_download
Test TFTP download of file larger than one block
src/cowrie/test/test_tftp.py:257
Method
test_leading_andor_is_syntax_error
(self)
src/cowrie/test/test_bashparse.py:264
Method
test_leaves_unlisted_files_empty
(self)
src/cowrie/test/test_createfs.py:56
Method
test_legitimate_client_hassh_is_stable
(self)
src/cowrie/test/test_ssh_transport.py:63
Method
test_loads_matching_file
(self)
src/cowrie/test/test_fsctl.py:49
Method
test_log_closed
(self)
src/cowrie/test/test_ocsf.py:377
Method
test_log_closed_duration_ms_is_int
(self)
src/cowrie/test/test_session_duration.py:66
Method
test_log_keys_stripped_before_send
(self, mock_post: MagicMock)
src/cowrie/test/test_signal.py:153
Method
test_login_failed
(self)
src/cowrie/test/test_ocsf.py:297
Method
test_login_success
(self)
src/cowrie/test/test_ocsf.py:280
Method
test_login_success_sends_notification
(self, mock_post: MagicMock)
src/cowrie/test/test_signal.py:36
Method
test_logout_command
(self)
src/cowrie/test/test_base_commands.py:46
Method
test_logs_client_var_event
Test that environment variables are logged as cowrie.client.var.
src/cowrie/test/test_telnet_new_environ.py:220
Method
test_lose_connection_is_idempotent
(self)
src/cowrie/test/test_ssh_teardown.py:34
Method
test_ls_command_001
(self)
src/cowrie/test/test_ls.py:33
Method
test_ls_command_002
(self)
src/cowrie/test/test_ls.py:41
Method
test_ls_command_003
(self)
src/cowrie/test/test_ls.py:49
Method
test_ls_command_004
(self)
src/cowrie/test/test_ls.py:55
Method
test_mapped_events_have_no_raw_data
(self)
src/cowrie/test/test_ocsf.py:203
Method
test_missing_everywhere_raises
(self)
src/cowrie/test/test_pool_config.py:56
Method
test_missing_host_reports_error_without_crashing
(self)
src/cowrie/test/test_curl.py:74
Method
test_missing_in_override_falls_through_to_bundled
(self)
src/cowrie/test/test_pool_config.py:49
Method
test_missing_operator_txtcmd_falls_back_to_bundled_data
Missing operator command files keep the existing bundled fallback.
src/cowrie/test/test_txtcmds_path.py:59
Method
test_missing_outfile_skips_lookup
(self)
src/cowrie/test/test_misp.py:77
Method
test_missing_redirect_target_is_syntax_error
(self)
src/cowrie/test/test_fd_redirection.py:49
Method
test_missing_redirect_target_is_syntax_error
(self)
src/cowrie/test/test_bashparse.py:170
Method
test_mkdir_error_output
(self)
src/cowrie/test/test_base_commands.py:316
Method
test_mkdir_output
(self)
src/cowrie/test/test_base_commands.py:308
Method
test_multiline_script
Script with multiple commands executes all of them.
src/cowrie/test/test_script_execution.py:120
Method
test_multiple_command_substitutions
(self)
src/cowrie/test/test_fd_redirection.py:282
Method
test_multiple_output_redirections
(self)
src/cowrie/test/test_fd_redirection.py:162
Method
test_multiple_redirections
(self)
src/cowrie/test/test_parser.py:73
Method
test_multiple_redirections_same_file
(self)
src/cowrie/test/test_fd_redirection.py:207
Method
test_mv_error_output
(self)
src/cowrie/test/test_base_commands.py:300
Method
test_mv_output
(self)
src/cowrie/test/test_base_commands.py:296
Method
test_naws_handler_registered
(self)
src/cowrie/test/test_telnet_userauth.py:33
Method
test_naws_negotiated_before_banner
(self)
src/cowrie/test/test_telnet_userauth.py:37
Method
test_naws_negotiated_on_connect
(self)
src/cowrie/test/test_telnet_userauth.py:29
Method
test_negation
(self)
src/cowrie/test/test_test_builtin.py:119
Method
test_nested_command_substitution
(self)
src/cowrie/test/test_fd_redirection.py:253
Method
test_nested_for
(self)
src/cowrie/test/test_flow_control.py:59
Method
test_nested_shell_propagates_exit_code
(self)
src/cowrie/test/test_exit_status.py:76
Method
test_nested_shell_status_gates_and
(self)
src/cowrie/test/test_exit_status.py:81
Method
test_nested_su
Test nested su (su to phil, then su to root).
src/cowrie/test/test_su.py:142
Method
test_nested_substitution_source
(self)
src/cowrie/test/test_bashparse.py:228
Method
test_new_environ_option_byte
Test NEW_ENVIRON option is correct (RFC 1572).
src/cowrie/test/test_telnet_new_environ.py:285
Method
test_newline_separates_statements
(self)
src/cowrie/test/test_bashparse.py:371
Method
test_no_collection_when_not_configured
Test that collection operations are skipped when not configured
src/cowrie/test/test_virustotal.py:575
Method
test_no_false_positive_normal_user
Test that normal USER values don't trigger exploit detection.
src/cowrie/test/test_telnet_new_environ.py:201
Method
test_no_negotiation_while_closing
While closing, negotiation must not touch self.options. Telnet.connectionLost() iterates self.options.values(); driving a negotiation
src/cowrie/test/test_telnet_transport.py:220
Method
test_no_redirections
(self)
src/cowrie/test/test_parser.py:21
Method
test_no_stdin_data_does_not_open_missing_file
An exec session that received no stdin has no log file to hash. connectionMade() sets stdinlogOpen unconditionally for exec channels,
src/cowrie/test/test_insults.py:75
Method
test_non_blocking_behavior
Test that FTP download doesn't block the reactor
src/cowrie/test/test_ftpget.py:254
Method
test_non_blocking_behavior
Test that TFTP download doesn't block the reactor
src/cowrie/test/test_tftp.py:237
Method
test_non_digit_after_dup
(self)
src/cowrie/test/test_parser.py:114
Method
test_nonroot_su_accepts_password
Test that non-root user can su after entering password.
src/cowrie/test/test_su.py:177
Method
test_nonroot_su_command_executes_after_password
Test that command executes after password is entered.
src/cowrie/test/test_su.py:194
Method
test_nonroot_su_shows_password_prompt
Test that non-root user gets password prompt when su'ing.
src/cowrie/test/test_su.py:172
Method
test_nonroot_su_with_command_shows_password
Test that non-root user gets password prompt even with -c.
src/cowrie/test/test_su.py:189
Method
test_nul_byte_does_not_reach_line_buffer
The NUL handler is a no-op: it leaves no character in the buffer.
src/cowrie/test/test_protocol_keystroke.py:54
Method
test_nul_byte_is_binary
(self)
src/cowrie/test/test_script_execution.py:205
Method
test_nul_byte_logs_no_warning
A NUL byte is routine NVT traffic and must not be logged.
src/cowrie/test/test_protocol_keystroke.py:43
Method
test_nul_past_sample_is_binary
(self)
src/cowrie/test/test_script_execution.py:221
Method
test_only_whitespace
(self)
src/cowrie/test/test_bashparse.py:279
Method
test_open_directory_missing_raises_enoent
(self)
src/cowrie/test/test_filetransfer.py:36
Method
test_open_file_for_write_missing_parent_raises_enoent
(self)
src/cowrie/test/test_filetransfer.py:42
Method
test_open_file_under_special_path_raises_eacces
(self)
src/cowrie/test/test_filetransfer.py:48
Method
test_operator_directory_entry_is_ignored
(self)
src/cowrie/test/test_honeyfs.py:245
Method
test_operator_file_wins_over_pickle
(self)
src/cowrie/test/test_honeyfs.py:211
Method
test_operator_override_wins
(self)
src/cowrie/test/test_pool_config.py:43
Method
test_operator_txtcmds_path_overrides_bundled_command
A command file under txtcmds_path takes precedence over bundled data.
src/cowrie/test/test_txtcmds_path.py:49
Method
test_or_combiner
(self)
src/cowrie/test/test_test_builtin.py:125
Method
test_or_runs_second_only_on_failure
(self)
src/cowrie/test/test_exit_status.py:62
Method
test_or_runs_whole_group_on_failure
(self)
src/cowrie/test/test_exit_status.py:123
Method
test_or_short_circuits_whole_group
(self)
src/cowrie/test/test_exit_status.py:114
Method
test_order_preserved
(self)
src/cowrie/test/test_parser.py:144
Method
test_out_of_range_fd_reports_bad_file_descriptor
(self)
src/cowrie/test/test_fd_redirection.py:330
Method
test_parse_cve_2026_24061_payload
Test parsing the exact CVE-2026-24061 exploit payload.
src/cowrie/test/test_telnet_new_environ.py:105
Method
test_parse_cve_2026_24061_variant_froot
Test parsing CVE-2026-24061 variant: -froot (no space).
src/cowrie/test/test_telnet_new_environ.py:117
Method
test_parse_empty_data
Test parsing empty data.
src/cowrie/test/test_telnet_new_environ.py:100
Method
test_parse_empty_value
Test parsing variable with empty value.
src/cowrie/test/test_telnet_new_environ.py:78
← previous
next →
1,901–2,000 of 2,302, ranked by callers