the-bastion/bin/plugin/restricted/whoHasAccessTo.json

11 lines
665 B
JSON
Raw Normal View History

2020-10-16 00:32:37 +08:00
{
"interactive": [
"whoHasAccessTo" , {"ac" : ["--host"]},
"whoHasAccessTo --host" , {"pr" : ["<IP/HOST>"]},
"whoHasAccessTo --host \\S+ (.*--(user|port|ignore-group) \\S+| .*--(ignore-wildcard|ignore-private))?$" , {"ac" : ["--user","--port","--ignore-wildcard","--ignore-private","--ignore-group","<enter>"]},
"whoHasAccessTo --host \\S+ .*--user" , {"pr" : ["<USER>"]},
"whoHasAccessTo --host \\S+ .*--port" , {"pr" : ["<PORT>"]},
"whoHasAccessTo --host \\S+ .*--ignore-group" , {"ac" : ["<GROUP>"]}
]
}