mirror of
https://github.com/ovh/the-bastion.git
synced 2025-01-10 09:23:52 +08:00
20 lines
1.7 KiB
JSON
20 lines
1.7 KiB
JSON
{
|
|
"interactive": [
|
|
"selfAddPersonalAccess" , {"ac" : ["--host"]},
|
|
"selfAddPersonalAccess --host" , {"pr" : ["<HOST>", "<IP>", "<IP/MASK>"]},
|
|
"selfAddPersonalAccess --host \\S+" , {"ac" : ["<enter>", "--user", "--port"]},
|
|
"selfAddPersonalAccess --host \\S+ .*--user" , {"pr" : ["<USER>"]},
|
|
"selfAddPersonalAccess --host \\S+ .*--port" , {"pr" : ["<PORT>"]},
|
|
"selfAddPersonalAccess --host \\S+ --user \\S+" , {"ac" : ["<enter>", "--port"]},
|
|
"selfAddPersonalAccess --host \\S+ --port \\S+" , {"ac" : ["<enter>", "--user"]},
|
|
"selfAddPersonalAccess --host \\S+ --(port|user) \\S+ --(port|user) \\S+" , {"ac" : ["--force-key","--ttl","<enter>"]},
|
|
"selfAddPersonalAccess --host \\S+ --(port|user) \\S+ --(port|user) \\S+ --ttl" , {"pr" : ["<SECONDS>"]},
|
|
"selfAddPersonalAccess --host \\S+ --(port|user) \\S+ --(port|user) \\S+ --ttl \\S+" , {"ac" : ["--force-key","<enter>"]},
|
|
"selfAddPersonalAccess --host \\S+ --(port|user) \\S+ --(port|user) \\S+ --ttl \\S+ --force-key" , {"pr" : ["<enter>"]},
|
|
"selfAddPersonalAccess --host \\S+ --(port|user) \\S+ --(port|user) \\S+ --force-key" , {"pr" : ["<FINGERPRINT>"]},
|
|
"selfAddPersonalAccess --host \\S+ --(port|user) \\S+ --(port|user) \\S+ --force-key \\S+" , {"ac" : ["--ttl","<enter>"]},
|
|
"selfAddPersonalAccess --host \\S+ --(port|user) \\S+ --(port|user) \\S+ --force-key \\S+ --ttl" , {"pr" : ["<SECONDS>"]},
|
|
"selfAddPersonalAccess --host \\S+ --(port|user) \\S+ --(port|user) \\S+ --force-key \\S+ --ttl \\S+" , {"pr" : ["<enter>"]}
|
|
],
|
|
"master_only": true
|
|
}
|