mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 11:11:05 +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
ddf3742bf5
commit
ab2b9dbba2
@@ -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