mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
asterisk.c: Add option to restrict shell access from remote consoles.
UserNote: A new asterisk.conf option 'disable_remote_console_shell' has been added that, when set, will prevent remote consoles from executing shell commands using the '!' prefix. Resolves: #GHSA-c7p6-7mvq-8jq2
This commit is contained in:
committed by
github-actions[bot]
parent
67360eb671
commit
3a5ffe2842
@@ -209,6 +209,8 @@ extern int ast_language_is_prefix;
|
||||
extern int ast_option_rtpusedynamic;
|
||||
extern unsigned int ast_option_rtpptdynamic;
|
||||
|
||||
extern int ast_option_disable_remote_console_shell;
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user