mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-04 12:27:04 +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
@@ -138,6 +138,9 @@ documentation_language = en_US ; Set the language you want documentation
|
||||
; cpp_map_name_id: Use C++ Maps to index both
|
||||
; channel name and channel uniqueid.
|
||||
; See http://s.asterisk.net/dc679ec3 for more information.
|
||||
;disable_remote_console_shell = no; Prevent remote console CLI sessions
|
||||
; from executing shell commands with the '!' prefix.
|
||||
; Default: no
|
||||
|
||||
; Changing the following lines may compromise your security.
|
||||
;[files]
|
||||
|
||||
Reference in New Issue
Block a user