Georg Pfuetzenreuter
3bed7bad11
For better security out of the box, always perform exact matching unless a more lenient pattern is explicitly provided by the administrator. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
12 lines
189 B
Prolog
12 lines
189 B
Prolog
# the patterns are read as regular expressions and anchored with ^ and $ by default
|
|
(
|
|
'georg' => [
|
|
'echo hi',
|
|
'true',
|
|
'printf %s [a-z0-9 ]+',
|
|
],
|
|
'root' => [
|
|
'ls -a /root',
|
|
],
|
|
)
|