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_command_substitution_through_pipe
(self)
src/cowrie/test/test_fd_redirection.py:241
Method
test_command_substitution_with_redirect
(self)
src/cowrie/test/test_fd_redirection.py:234
Method
test_commands_before_error_are_kept
(self)
src/cowrie/test/test_bashparse.py:269
Method
test_comment_lines_stripped
Comment-only lines are stripped from script execution.
src/cowrie/test/test_script_execution.py:111
Method
test_compound_join_operator
(self)
src/cowrie/test/test_bashparse.py:381
Method
test_connect
(self)
src/cowrie/test/test_ocsf.py:227
Method
test_connection_lost_after_pending_negotiation_is_clean
(self)
src/cowrie/test/test_telnet_transport.py:193
Method
test_connection_refused
Test ftpget with invalid host shows connection error
src/cowrie/test/test_ftpget.py:105
Method
test_connection_refused
Test TFTP with unreachable host
src/cowrie/test/test_tftp.py:219
Method
test_contains_paths_cowrie_reads
(self)
src/cowrie/test/test_createfs.py:107
Method
test_continue_skips_iteration
(self)
src/cowrie/test/test_flow_control.py:134
Method
test_cp_error_output
(self)
src/cowrie/test/test_base_commands.py:288
Method
test_cp_output
(self)
src/cowrie/test/test_base_commands.py:284
Method
test_create_collection_request
Creating a collection POSTs the v3 collection body.
src/cowrie/test/test_virustotal.py:443
Method
test_create_endpoint_services
(self)
src/cowrie/test/test_utils.py:105
Method
test_creates_var_skeleton
(self)
src/cowrie/test/test_cowrie_script.py:91
Method
test_credentials_with_control_bytes_are_escaped
Attacker-controlled username/password must not log raw control bytes.
src/cowrie/test/test_checkers.py:61
Method
test_ctrl_d_keystroke_exits_parked_command
A terminal CTRL-D exits the command reading stdin, back to a prompt.
src/cowrie/test/test_pipe_eof.py:120
Method
test_custom_fd_redirect
(self)
src/cowrie/test/test_parser.py:94
Method
test_cut_custom_delimiter
cut -d: -f2 uses colon as delimiter.
src/cowrie/test/test_cut.py:42
Method
test_cut_field_out_of_range
Requesting a field beyond available fields outputs empty.
src/cowrie/test/test_cut.py:82
Method
test_cut_field_range
cut -d, -f2-4 selects fields 2 through 4.
src/cowrie/test/test_cut.py:52
Method
test_cut_help
cut --help shows usage information.
src/cowrie/test/test_cut.py:95
Method
test_cut_missing_field_spec
cut without -f or -b or -c should produce an error.
src/cowrie/test/test_cut.py:87
Method
test_cut_multiline_input
cut processes each line independently.
src/cowrie/test/test_cut.py:67
Method
test_cut_multiple_fields
cut -d, -f1,3 selects fields 1 and 3.
src/cowrie/test/test_cut.py:47
Method
test_cut_no_delimiter_in_line
Lines without the delimiter are printed unchanged (default behavior).
src/cowrie/test/test_cut.py:72
Method
test_cut_no_delimiter_with_s_flag
With -s, lines without the delimiter are suppressed.
src/cowrie/test/test_cut.py:77
Method
test_cut_no_input
cut with no input and no file waits for stdin then exits on CTRL-D.
src/cowrie/test/test_cut.py:100
Method
test_cut_open_end_range
cut -d, -f3- selects field 3 to end.
src/cowrie/test/test_cut.py:57
Method
test_cut_open_start_range
cut -d, -f-2 selects fields 1 through 2.
src/cowrie/test/test_cut.py:62
Method
test_cut_second_field_tab_delimiter
cut -f2 on tab-delimited input selects the second field.
src/cowrie/test/test_cut.py:37
Method
test_cut_single_field_tab_delimiter
cut -f1 on tab-delimited input selects the first field.
src/cowrie/test/test_cut.py:32
Method
test_data_after_teardown_is_discarded
(self)
src/cowrie/test/test_insults.py:59
Method
test_data_packet_parsing
Test parsing of DATA packets
src/cowrie/test/test_tftp.py:350
Method
test_date_command
(self)
src/cowrie/test/test_base_commands.py:102
Method
test_detect_exploit_f_root
Test detection of USER=-f root exploit.
src/cowrie/test/test_telnet_new_environ.py:139
Method
test_detect_exploit_froot_no_space
Test detection of USER=-froot (no space) variant.
src/cowrie/test/test_telnet_new_environ.py:162
Method
test_detect_exploit_lowercase_user
Test detection with lowercase 'user' variable name.
src/cowrie/test/test_telnet_new_environ.py:182
Method
test_dir_entries_keep_their_children_list
(self)
src/cowrie/test/test_createfs.py:90
Method
test_dir_exists
(self)
src/cowrie/test/test_test_builtin.py:62
Method
test_dir_on_file_is_false
(self)
src/cowrie/test/test_test_builtin.py:65
Method
test_directory_as_command_reports_is_a_directory
(self)
src/cowrie/test/test_base_commands.py:50
Method
test_distinct_negotiations_each_logged
(self)
src/cowrie/test/test_telnet_transport.py:312
Method
test_dns_resolution_allowed
(self)
src/cowrie/test/test_network.py:60
Method
test_dns_resolution_blocked
(self)
src/cowrie/test/test_network.py:66
Method
test_dotslash_binary_file_fails
./file with null bytes emits 'cannot execute binary file'.
src/cowrie/test/test_script_execution.py:71
Method
test_dotslash_with_shebang_executes
./script.sh with #!/bin/sh shebang executes.
src/cowrie/test/test_script_execution.py:57
Method
test_dotslash_without_shebang_executes
./file without shebang executes as shell script (kernel ENOEXEC fallback).
src/cowrie/test/test_script_execution.py:64
Method
test_double_quote_inside_single
(self)
src/cowrie/test/test_bashparse.py:73
Method
test_double_quotes_stripped
(self)
src/cowrie/test/test_bashparse.py:64
Method
test_download_command_failure_sets_nonzero_status
(self)
src/cowrie/test/test_exit_status.py:93
Method
test_download_retry_idiom
(self)
src/cowrie/test/test_flow_control.py:212
Method
test_download_with_r_flag
Test TFTP download with -r flag
src/cowrie/test/test_tftp.py:203
Method
test_dup_from_out_of_range_fd_reports_error
(self)
src/cowrie/test/test_fd_redirection.py:353
Method
test_durationHuman
(self)
src/cowrie/test/test_utils.py:32
Method
test_echo_command_001
(self)
src/cowrie/test/test_echo.py:37
Method
test_echo_command_002
(self)
src/cowrie/test/test_echo.py:41
Method
test_echo_command_003
(self)
src/cowrie/test/test_echo.py:45
Method
test_echo_command_005
(self)
src/cowrie/test/test_echo.py:49
Method
test_echo_command_006
(self)
src/cowrie/test/test_echo.py:53
Method
test_echo_command_007
(self)
src/cowrie/test/test_echo.py:57
Method
test_echo_command_008
(self)
src/cowrie/test/test_echo.py:61
Method
test_echo_command_009
(self)
src/cowrie/test/test_echo.py:65
Method
test_echo_command_010
(self)
src/cowrie/test/test_echo.py:69
Method
test_echo_command_011
(self)
src/cowrie/test/test_echo.py:73
Method
test_echo_command_012
(self)
src/cowrie/test/test_echo.py:77
Method
test_echo_command_013
(self)
src/cowrie/test/test_echo.py:81
Method
test_echo_command_014
(self)
src/cowrie/test/test_echo.py:85
Method
test_echo_command_015
(self)
src/cowrie/test/test_echo.py:89
Method
test_echo_command_016
(self)
src/cowrie/test/test_echo.py:93
Method
test_echo_command_017
(self)
src/cowrie/test/test_echo.py:97
Method
test_echo_command_018
(self)
src/cowrie/test/test_echo.py:101
Method
test_echo_command_019
(self)
src/cowrie/test/test_echo.py:105
Method
test_echo_command_020
(self)
src/cowrie/test/test_echo.py:109
Method
test_echo_command_021
(self)
src/cowrie/test/test_echo.py:113
Method
test_echo_command_022
(self)
src/cowrie/test/test_echo.py:117
Method
test_echo_command_023
(self)
src/cowrie/test/test_echo.py:123
Method
test_echo_command_024
(self)
src/cowrie/test/test_echo.py:127
Method
test_echo_command_025
(self)
src/cowrie/test/test_echo.py:131
Method
test_echo_command_026
(self)
src/cowrie/test/test_echo.py:135
Method
test_echo_command_027
(self)
src/cowrie/test/test_echo.py:139
Method
test_echo_command_028
(self)
src/cowrie/test/test_echo.py:143
Method
test_echo_command_029
(self)
src/cowrie/test/test_echo.py:147
Method
test_elf_is_binary
(self)
src/cowrie/test/test_script_execution.py:199
Method
test_embedded_unset_variable_expands_empty
(self)
src/cowrie/test/test_bashparse.py:117
Method
test_embedded_variable_expands
(self)
src/cowrie/test/test_bashparse.py:104
Method
test_embeds_file_when_virtual_path_in_embed_paths
(self)
src/cowrie/test/test_createfs.py:44
Method
test_embeds_only_listed_when_multiple_files_present
(self)
src/cowrie/test/test_createfs.py:66
Method
test_empty_is_not_binary
(self)
src/cowrie/test/test_script_execution.py:215
Method
test_empty_line
(self)
src/cowrie/test/test_bashparse.py:276
Method
test_error_packet_parsing
Test parsing of ERROR packets
src/cowrie/test/test_tftp.py:365
Method
test_error_raises_option_not_found_with_message
(self)
src/cowrie/test/test_customparser.py:22
Method
test_escape_nonprintable
(self)
src/cowrie/test/test_utils.py:92
Method
test_exec_channel_keeps_bare_newline
Exec channels have no PTY, so \\n must not be rewritten to \\r\\n.
src/cowrie/test/test_insults.py:43
Method
test_exec_explicit_exit_code
(self)
src/cowrie/test/test_exit_status.py:200
Method
test_exec_failure
(self)
src/cowrie/test/test_exit_status.py:190
Method
test_exec_not_found
(self)
src/cowrie/test/test_exit_status.py:193
Method
test_exec_scp_push_chunked_transfer
A push split across many dataReceived calls is reassembled and decodes to the exact body, with the declared size honoured across chunk
src/cowrie/test/test_scp_exec.py:147
Method
test_exec_scp_push_emits_file_upload
A decoded scp push is reported as an upload, not a raw stdin download, and the honeyfs is updated to serve the content.
src/cowrie/test/test_scp_exec.py:135
← previous
next →
1,701–1,800 of 2,302, ranked by callers