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:
George Joseph
2025-05-19 08:16:53 -06:00
committed by github-actions[bot]
parent f60500e49a
commit e5f0a1467a
5 changed files with 20 additions and 1 deletions

View File

@@ -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