the-bastion/bin/plugin/restricted/selfAddPersonalAccess.json
Stéphane Lesimple fde20136ef
Initial commit
2020-10-20 14:30:27 +00:00

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
}