mirror of
https://github.com/DeNNiiInc/UltyScan.git
synced 2026-04-17 18:26:00 +00:00
Fix: Use sudo for sniper execution
This commit is contained in:
@@ -15,7 +15,7 @@ if ($_SERVER['REQUEST_METHOD'] !== 'POST') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Configuration
|
// Configuration
|
||||||
define('SNIPER_PATH', '/usr/share/sniper/sniper');
|
define('SNIPER_PATH', 'sudo /usr/share/sniper/sniper');
|
||||||
define('LOG_DIR', '/var/log/ultyscan');
|
define('LOG_DIR', '/var/log/ultyscan');
|
||||||
|
|
||||||
// Ensure log directory exists
|
// Ensure log directory exists
|
||||||
|
|||||||
Reference in New Issue
Block a user