mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +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
f60500e49a
commit
e5f0a1467a
@@ -210,6 +210,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