Fix sudo bash command and preserve console output

This commit is contained in:
2026-01-01 17:52:53 +11:00
parent 1d149443d5
commit 84ac59485c
2 changed files with 21 additions and 18 deletions

View File

@@ -15,7 +15,7 @@ if ($_SERVER['REQUEST_METHOD'] !== 'POST') {
}
// Configuration
define('SNIPER_PATH', 'sudo /usr/share/sniper/sniper');
define('SNIPER_PATH', 'sudo bash /usr/share/sniper/sniper');
define('LOG_DIR', '/var/log/ultyscan');
// Ensure log directory exists