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_parse_escape_sequence
Test parsing with escape sequences for literal special bytes.
src/cowrie/test/test_telnet_new_environ.py:85
Method
test_parse_multiple_vars
Test parsing multiple environment variables.
src/cowrie/test/test_telnet_new_environ.py:50
Method
test_parse_single_var
Test parsing a single VAR name/value pair.
src/cowrie/test/test_telnet_new_environ.py:43
Method
test_parse_uservar
Test parsing USERVAR (user-defined variable).
src/cowrie/test/test_telnet_new_environ.py:66
Method
test_passwd_command
(self)
src/cowrie/test/test_base_commands.py:80
Method
test_passwd_has_root_entry
(self)
src/cowrie/test/test_honeyfs.py:174
Method
test_payload_contains_sender_and_recipients
(self, mock_post: MagicMock)
src/cowrie/test/test_signal.py:124
Method
test_pe_is_binary
(self)
src/cowrie/test/test_script_execution.py:202
Method
test_php_help_command
(self)
src/cowrie/test/test_base_commands.py:119
Method
test_php_version_command
(self)
src/cowrie/test/test_base_commands.py:123
Method
test_pickle_entries_without_files_keep_empty_contents
(self)
src/cowrie/test/test_fsctl.py:74
Method
test_pipe_is_its_own_token
(self)
src/cowrie/test/test_bashparse.py:80
Method
test_pipeline_status_is_last_stage
(self)
src/cowrie/test/test_exit_status.py:105
Method
test_pkill_command
(self)
src/cowrie/test/test_base_commands.py:194
Method
test_plain_script_is_text
(self)
src/cowrie/test/test_script_execution.py:208
Method
test_post_uses_correct_content_type
(self, mock_post: MagicMock)
src/cowrie/test/test_signal.py:112
Method
test_postcomment_url_v3_format
Test URL comment posting using v3 API format
src/cowrie/test/test_virustotal.py:295
Method
test_postcomment_v3_format
Test comment posting using v3 API format
src/cowrie/test/test_virustotal.py:264
Method
test_postfile_v3_format
Test file upload using v3 API format
src/cowrie/test/test_virustotal.py:185
Method
test_poweroff_command
(self)
src/cowrie/test/test_base_commands.py:96
Method
test_public_key_login_failed
(self)
src/cowrie/test/test_ocsf.py:311
Method
test_pwd_output
(self)
src/cowrie/test/test_base_commands.py:343
Method
test_question_mark_status
(self)
src/cowrie/test/test_bashparse.py:133
Method
test_raises_file_not_found_for_missing_resource
(self)
src/cowrie/test/test_resources.py:23
Method
test_raises_file_not_found_for_missing_resource
(self)
src/cowrie/test/test_resources.py:41
Method
test_raises_file_not_found_for_missing_subpath
(self)
src/cowrie/test/test_resources.py:27
Method
test_raises_on_broken_symlink
(self)
src/cowrie/test/test_honeyfs.py:126
Method
test_raises_on_symlink_loop
(self)
src/cowrie/test/test_honeyfs.py:136
Method
test_raises_when_both_missing
(self)
src/cowrie/test/test_honeyfs.py:238
Method
test_raises_when_contents_is_empty_list
(self)
src/cowrie/test/test_honeyfs.py:73
Method
test_raises_when_intermediate_dir_missing
(self)
src/cowrie/test/test_honeyfs.py:87
Method
test_raises_when_path_missing
(self)
src/cowrie/test/test_honeyfs.py:81
Method
test_raises_when_target_is_a_directory
(self)
src/cowrie/test/test_honeyfs.py:93
Method
test_redirect_before_operator_is_syntax_error
(self)
src/cowrie/test/test_bashparse.py:177
Method
test_redirect_both_append
(self)
src/cowrie/test/test_fd_redirection.py:67
Method
test_redirect_both_append
(self)
src/cowrie/test/test_parser.py:133
Method
test_redirect_both_inline_target
(self)
src/cowrie/test/test_parser.py:139
Method
test_redirect_both_stdout_stderr
(self)
src/cowrie/test/test_parser.py:121
Method
test_redirect_both_stdout_stderr
(self)
src/cowrie/test/test_bashparse.py:166
Method
test_redirect_both_stdout_stderr_to_file
(self)
src/cowrie/test/test_fd_redirection.py:58
Method
test_redirect_stderr_into_pipe
(self)
src/cowrie/test/test_fd_redirection.py:73
Method
test_redirect_stderr_only_to_pipe
(self)
src/cowrie/test/test_fd_redirection.py:302
Method
test_redirect_stderr_to_devnull
(self)
src/cowrie/test/test_fd_redirection.py:39
Method
test_redirect_stderr_to_file
(self)
src/cowrie/test/test_fd_redirection.py:80
Method
test_redirect_stdout_and_append
(self)
src/cowrie/test/test_fd_redirection.py:87
Method
test_redirect_stdout_and_stderr_to_file
(self)
src/cowrie/test/test_fd_redirection.py:93
Method
test_redirect_to_nonexistent_dir
(self)
src/cowrie/test/test_fd_redirection.py:221
Method
test_redirect_with_args
(self)
src/cowrie/test/test_parser.py:81
Method
test_redirect_without_target
(self)
src/cowrie/test/test_parser.py:87
Method
test_redirection_without_command
(self)
src/cowrie/test/test_fd_redirection.py:174
Method
test_refuses_to_overwrite_existing
(self)
src/cowrie/test/test_cowrie_script.py:106
Method
test_refuses_when_neither_present
(self)
src/cowrie/test/test_cowrie_script.py:50
Method
test_repeated_negotiation_logged_once
(self)
src/cowrie/test/test_telnet_transport.py:302
Method
test_reserved_word_as_argument
(self)
src/cowrie/test/test_bashparse.py:376
Method
test_reset_command
(self)
src/cowrie/test/test_base_commands.py:70
Method
test_returns_a_list
(self)
src/cowrie/test/test_honeyfs.py:46
Method
test_returns_bundled_when_override_unset
(self)
src/cowrie/test/test_pool_config.py:36
Method
test_returns_bytes_for_existing_resource
(self)
src/cowrie/test/test_resources.py:18
Method
test_returns_bytes_for_file_with_embedded_contents
(self)
src/cowrie/test/test_honeyfs.py:66
Method
test_returns_empty_when_no_operator_files_present
(self)
src/cowrie/test/test_config.py:56
Method
test_returns_fresh_copy_each_call
(self)
src/cowrie/test/test_honeyfs.py:50
Method
test_rm_error_output
(self)
src/cowrie/test/test_base_commands.py:276
Method
test_rm_output
(self)
src/cowrie/test/test_base_commands.py:272
Method
test_rmdir_error_output
(self)
src/cowrie/test/test_base_commands.py:335
Method
test_rmdir_output
(self)
src/cowrie/test/test_base_commands.py:326
Method
test_rrq_packet_format
Test that RRQ packets are correctly formatted
src/cowrie/test/test_tftp.py:325
Method
test_run_absolute_directory_as_command
(self)
src/cowrie/test/test_base_commands.py:131
Method
test_run_directory_as_command
(self)
src/cowrie/test/test_base_commands.py:127
Method
test_run_nonexistent_command
(self)
src/cowrie/test/test_base_commands.py:135
Method
test_run_nonexistent_path_command
(self)
src/cowrie/test/test_base_commands.py:142
Method
test_same_line_assignment_is_seen
(self)
src/cowrie/test/test_shell_variables.py:52
Method
test_satisfies_init_marker_after_running
(self)
src/cowrie/test/test_cowrie_script.py:86
Method
test_scanfile_existing_file_found
Test file scanning when file exists in VirusTotal database
src/cowrie/test/test_virustotal.py:101
Method
test_scanfile_new_file_not_found
Test file scanning when file is not found in VirusTotal database
src/cowrie/test/test_virustotal.py:58
Method
test_scanurl_base64_encoding
Test URL scanning with base64 encoding
src/cowrie/test/test_virustotal.py:149
Method
test_script_downloader_retry_idiom
The try-each-mirror-until-one-works loop, run from a file.
src/cowrie/test/test_script_execution.py:169
Method
test_script_exit_status_propagates
A script's exit status is the status of its last command.
src/cowrie/test/test_script_execution.py:188
Method
test_script_with_for_loop
A for loop spanning multiple lines in a script file runs each pass.
src/cowrie/test/test_script_execution.py:150
Method
test_script_with_if
A multi-line if/else in a script file picks the right branch.
src/cowrie/test/test_script_execution.py:159
Method
test_semicolon_splits
(self)
src/cowrie/test/test_bashparse.py:194
Method
test_send_attaches_errback
(self, mock_post: MagicMock)
src/cowrie/test/test_signal.py:141
Method
test_separate_stdout_stderr_files
(self)
src/cowrie/test/test_fd_redirection.py:121
Method
test_session_closed
(self)
src/cowrie/test/test_ocsf.py:238
Method
test_set_command
(self)
src/cowrie/test/test_base_commands.py:159
Method
test_sh_command
(self)
src/cowrie/test/test_base_commands.py:113
Method
test_sh_executes_script_file
sh script.sh reads and executes file contents.
src/cowrie/test/test_script_execution.py:44
Method
test_sh_rejects_binary_file
sh <ELF binary> rejects it instead of splitting its bytes into commands and flooding the log (issue #40215).
src/cowrie/test/test_script_execution.py:80
Method
test_shebang_is_comment_not_executed
The shebang line is treated as a comment and produces no output.
src/cowrie/test/test_script_execution.py:179
Method
test_shebang_line_stripped
Shebang line is not echoed or executed as a command.
src/cowrie/test/test_script_execution.py:102
Method
test_shell_pipe_with_cat_head
(self)
src/cowrie/test/test_base_commands.py:374
Method
test_shell_pipe_with_cat_tail
(self)
src/cowrie/test/test_base_commands.py:370
Method
test_shutdown_command
(self)
src/cowrie/test/test_base_commands.py:90
Method
test_simple_words
(self)
src/cowrie/test/test_bashparse.py:58
Method
test_single_arg_empty_false
(self)
src/cowrie/test/test_test_builtin.py:97
Method
test_single_arg_nonempty_true
(self)
src/cowrie/test/test_test_builtin.py:94
Method
test_single_quote_inside_double
(self)
src/cowrie/test/test_bashparse.py:70
Method
test_single_quoted_field_reference_survives
(self)
src/cowrie/test/test_bashparse.py:130
Method
test_single_quotes_never_expand
(self)
src/cowrie/test/test_bashparse.py:125
Method
test_skipped_command_leaves_status_unchanged
(self)
src/cowrie/test/test_exit_status.py:72
Method
test_skips_files_without_pickle_entry
(self)
src/cowrie/test/test_fsctl.py:63
← previous
next →
2,001–2,100 of 2,302, ranked by callers