mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-03 12:25:35 +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
George Joseph
parent
f9873bb6d6
commit
87a55ee3df
@@ -208,6 +208,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