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_skips_when_pickle_entry_is_directory
(self)
src/cowrie/test/test_fsctl.py:108
Method
test_spaced_fd_is_an_argument
(self)
src/cowrie/test/test_bashparse.py:155
Method
test_spaced_fd_is_argument
(self)
src/cowrie/test/test_fd_redirection.py:43
Method
test_ssh_duration_ms_is_int
(self)
src/cowrie/test/test_session_duration.py:31
Method
test_statement_after_group_runs_when_group_skipped
(self)
src/cowrie/test/test_exit_status.py:127
Method
test_statement_after_pipeline_runs_in_order
(self)
src/cowrie/test/test_exit_status.py:150
Method
test_status_after_for
(self)
src/cowrie/test/test_flow_control.py:207
Method
test_status_after_if
(self)
src/cowrie/test/test_flow_control.py:204
Method
test_status_of_successful_command
(self)
src/cowrie/test/test_exit_status.py:47
Method
test_status_of_true_and_false
(self)
src/cowrie/test/test_exit_status.py:43
Method
test_status_persists_across_lines
(self)
src/cowrie/test/test_exit_status.py:54
Method
test_stderr_to_devnull_inline
(self)
src/cowrie/test/test_parser.py:51
Method
test_stderr_to_file
(self)
src/cowrie/test/test_parser.py:44
Method
test_stdin_redirect
(self)
src/cowrie/test/test_parser.py:57
Method
test_stdin_redirection
(self)
src/cowrie/test/test_fd_redirection.py:114
Method
test_stdin_redirection_with_pipe
(self)
src/cowrie/test/test_fd_redirection.py:142
Method
test_stdout_append
(self)
src/cowrie/test/test_parser.py:37
Method
test_stdout_overwrite
(self)
src/cowrie/test/test_fd_redirection.py:100
Method
test_stdout_overwrite_and_stderr_pipe
(self)
src/cowrie/test/test_fd_redirection.py:106
Method
test_stdout_redirect
(self)
src/cowrie/test/test_bashparse.py:148
Method
test_stdout_to_file
(self)
src/cowrie/test/test_parser.py:27
Method
test_stdout_to_stderr_to_file
(self)
src/cowrie/test/test_fd_redirection.py:217
Method
test_string_empty
(self)
src/cowrie/test/test_test_builtin.py:88
Method
test_string_equal
(self)
src/cowrie/test/test_test_builtin.py:82
Method
test_string_nonempty
(self)
src/cowrie/test/test_test_builtin.py:91
Method
test_string_not_equal
(self)
src/cowrie/test/test_test_builtin.py:85
Method
test_string_producer_interface
Test StringProducer implements required interface methods
src/cowrie/test/test_virustotal.py:44
Method
test_su_command
(self)
src/cowrie/test/test_base_commands.py:206
Method
test_su_exit_returns_to_original_user
Test exit from su'd shell returns to original user.
src/cowrie/test/test_su.py:128
Method
test_su_help
Test su --help output.
src/cowrie/test/test_su.py:54
Method
test_su_interactive_to_phil
Test interactive su to phil creates new shell with phil identity.
src/cowrie/test/test_su.py:103
Method
test_su_invalid_option
Test su with invalid option shows error.
src/cowrie/test/test_su.py:97
Method
test_su_login_shell
Test su - phil creates login shell with reset environment.
src/cowrie/test/test_su.py:122
Method
test_su_login_shell_sets_home
Test su - sets HOME to target user's home.
src/cowrie/test/test_su.py:219
Method
test_su_login_shell_sets_user
Test su - sets USER and LOGNAME.
src/cowrie/test/test_su.py:227
Method
test_su_nonexistent_user
Test su to a nonexistent user fails with error.
src/cowrie/test/test_su.py:91
Method
test_su_nonlogin_updates_user_vars
Test non-login su updates USER/LOGNAME/HOME.
src/cowrie/test/test_su.py:235
Method
test_su_to_phil_id_command
Test su -c id phil shows phil's uid/gid.
src/cowrie/test/test_su.py:83
Method
test_su_to_phil_with_command
Test su -c 'command' phil to run a command as phil.
src/cowrie/test/test_su.py:78
Method
test_su_to_root_as_root
Test su to root when already root (no password needed).
src/cowrie/test/test_su.py:67
Method
test_su_version
Test su --version output.
src/cowrie/test/test_su.py:62
Method
test_su_with_command
Test su -c 'command' to run a single command as root.
src/cowrie/test/test_su.py:73
Method
test_subdirectory_as_command_reports_is_a_directory
(self)
src/cowrie/test/test_base_commands.py:58
Method
test_submiturl_v3_format
Test URL submission using v3 API format
src/cowrie/test/test_virustotal.py:326
Method
test_subnegotiation_commands
Test subnegotiation command bytes.
src/cowrie/test/test_telnet_new_environ.py:289
Method
test_subshell_after_semicolon
(self)
src/cowrie/test/test_bashparse.py:245
Method
test_subshell_alone
(self)
src/cowrie/test/test_bashparse.py:235
Method
test_subshell_group_runs_in_order
(self)
src/cowrie/test/test_exit_status.py:110
Method
test_subshell_in_middle_is_syntax_error
(self)
src/cowrie/test/test_bashparse.py:259
Method
test_subshell_ordering
A subshell between two commands keeps bash's output order.
src/cowrie/test/test_echo.py:216
Method
test_subshell_parentheses_001
Test basic subshell execution with parentheses - should output directly
src/cowrie/test/test_echo.py:151
Method
test_subshell_parentheses_002
Test subshell vs command substitution difference
src/cowrie/test/test_echo.py:156
Method
test_subshell_parentheses_003
Test parentheses with multiple commands - should execute all commands
src/cowrie/test/test_echo.py:164
Method
test_subshell_parentheses_004
Test parentheses in middle of command line is syntax error
src/cowrie/test/test_echo.py:169
Method
test_subshell_parentheses_005
Test command substitution does substitute output into command line
src/cowrie/test/test_echo.py:177
Method
test_subshell_parentheses_006
Test complex subshell with pipes syntax error - regression test
src/cowrie/test/test_echo.py:182
Method
test_subshell_parentheses_007
A subshell after a semicolon runs in order, like bash.
src/cowrie/test/test_echo.py:190
Method
test_subshell_parentheses_008
Test subshell with different command separators
src/cowrie/test/test_echo.py:195
Method
test_subshell_parentheses_009
`||` short-circuits: the first command succeeds, so the second is skipped (like bash).
src/cowrie/test/test_echo.py:202
Method
test_subshell_parentheses_010
Test subshell with multiple semicolons
src/cowrie/test/test_echo.py:208
Method
test_substitution_assignment_only_statement_adds_no_output
(self)
src/cowrie/test/test_exit_status.py:145
Method
test_substitution_assignment_visible_to_later_statement
(self)
src/cowrie/test/test_exit_status.py:141
Method
test_substitution_carries_status_across_statements
(self)
src/cowrie/test/test_exit_status.py:131
Method
test_substitution_empty_input_does_not_leak
A command with empty input inside $(...) must exit cleanly. The cmdstack must return to its original depth (no leaked shell), and the
src/cowrie/test/test_pipe_eof.py:47
Method
test_substitution_is_lazy
(self)
src/cowrie/test/test_bashparse.py:250
Method
test_substitution_short_circuits
(self)
src/cowrie/test/test_exit_status.py:136
Method
test_successful_download
Test successful TFTP download
src/cowrie/test/test_tftp.py:185
Method
test_successful_download_anonymous
Test successful FTP download with anonymous login
src/cowrie/test/test_ftpget.py:187
Method
test_successful_download_with_auth
Test successful FTP download with username/password
src/cowrie/test/test_ftpget.py:205
Method
test_swap_stdout_stderr
(self)
src/cowrie/test/test_fd_redirection.py:185
Method
test_syntax_error_is_2
(self)
src/cowrie/test/test_exit_status.py:101
Method
test_tail_output
(self)
src/cowrie/test/test_base_commands.py:260
Method
test_tee_command_001
(self)
src/cowrie/test/test_tee.py:38
Method
test_tee_command_002
(self)
src/cowrie/test/test_tee.py:44
Method
test_tee_command_003
(self)
src/cowrie/test/test_tee.py:51
Method
test_tee_command_004
(self)
src/cowrie/test/test_tee.py:57
Method
test_tee_command_005
(self)
src/cowrie/test/test_tee.py:61
Method
test_telnet_duration_ms_is_int
(self)
src/cowrie/test/test_session_duration.py:49
Method
test_telnet_options_lookup
Test that TELNET_OPTIONS contains expected values.
src/cowrie/test/test_telnet_new_environ.py:263
Method
test_tftp_insufficient_args
Test tftp with only hostname shows usage
src/cowrie/test/test_tftp.py:120
Method
test_tftp_invalid_directory
Test tftp with invalid local directory
src/cowrie/test/test_tftp.py:137
Method
test_tftp_no_args
Test tftp command without arguments shows usage
src/cowrie/test/test_tftp.py:111
Method
test_three_arg_and
(self)
src/cowrie/test/test_test_builtin.py:128
Method
test_three_arg_and_empty_is_false
(self)
src/cowrie/test/test_test_builtin.py:133
Method
test_three_arg_or
(self)
src/cowrie/test/test_test_builtin.py:136
Method
test_time_is_epoch_milliseconds
(self)
src/cowrie/test/test_ocsf.py:211
Method
test_touch_output
(self)
src/cowrie/test/test_base_commands.py:347
Method
test_trailing_comment_dropped
(self)
src/cowrie/test/test_bashparse.py:294
Method
test_true_exit_zero
(self)
src/cowrie/test/test_test_builtin.py:44
Method
test_true_short_circuit
(self)
src/cowrie/test/test_test_builtin.py:50
Method
test_umask_command
(self)
src/cowrie/test/test_base_commands.py:155
Method
test_uniq_command_001
(self)
src/cowrie/test/test_uniq.py:39
Method
test_uniq_command_002
(self)
src/cowrie/test/test_uniq.py:43
Method
test_uniq_command_003
(self)
src/cowrie/test/test_uniq.py:47
Method
test_unknown_auth_class_falls_back_to_userdb
(self)
src/cowrie/test/test_checkers.py:39
Method
test_unknown_command_redirect
(self)
src/cowrie/test/test_fd_redirection.py:137
Method
test_unknown_embedded_expands_empty
(self)
src/cowrie/test/test_shell_variables.py:77
Method
test_unknown_event_id_in_unmapped
(self)
src/cowrie/test/test_ocsf.py:460
Method
test_unknown_event_no_class_uid
(self)
src/cowrie/test/test_ocsf.py:446
Method
test_unknown_event_raw_data_preserved
(self)
src/cowrie/test/test_ocsf.py:455
← previous
next →
2,101–2,200 of 2,302, ranked by callers