Files
Leantime/.dev/remote-deploy/18_install_probe.sh

10 lines
335 B
Bash

#!/bin/bash
cd /var/www/onebot
echo "=== 可用 CLI 命令 ==="
sudo -u www-data php /var/www/onebot/public/index.php list 2>&1 | head -50
echo ""
echo "=== /install 页面表单 ==="
curl -s http://127.0.0.1:8081/install 2>&1 | grep -oE "(name=\"[^\"]*\"|placeholder=\"[^\"]*\"|公司|Company|Email|First|Last|Password)" | head -40