update interactive shell

This commit is contained in:
crazywhalecc
2022-04-29 16:32:43 +08:00
parent fe8d9ed81b
commit 147c2e3b59
2 changed files with 7 additions and 2 deletions

View File

@@ -30,7 +30,8 @@ class QuickShellController
public function index()
{
$response = implode("\n", QuickShellProvider::getInstance()->getShellList()) . PHP_EOL;
$response .= "执行:\tcurl -s http://shell.zhamao.xin/run/{name} | bash" . PHP_EOL;
$response .= "普通执行:\tcurl -s http://shell.zhamao.xin/run/{name} | bash" . PHP_EOL;
$response .= "交互执行:\tbash <(curl -s http://shell.zhamao.xin/run/{name})" . PHP_EOL;
return $response;
}