mirror of
https://github.com/DeNNiiInc/UltyScan.git
synced 2026-04-17 18:26:00 +00:00
Fix delete function with sudo and remove export feature
This commit is contained in:
@@ -502,6 +502,7 @@ ln -sf $LOOT_DIR /var/www/html/loot 2>/dev/null
|
||||
echo -e "$OKBLUE[*]$RESET Configuring permissions for Web UI... $RESET"
|
||||
echo 'www-data ALL=(ALL) NOPASSWD: /usr/bin/bash /usr/share/sniper/sniper *' > /etc/sudoers.d/www-data-sniper
|
||||
echo 'www-data ALL=(ALL) NOPASSWD: /usr/bin/pkill *' >> /etc/sudoers.d/www-data-sniper
|
||||
echo 'www-data ALL=(ALL) NOPASSWD: /usr/bin/rm *' >> /etc/sudoers.d/www-data-sniper
|
||||
chmod 440 /etc/sudoers.d/www-data-sniper
|
||||
|
||||
# Configure Apache Port 8888
|
||||
|
||||
Reference in New Issue
Block a user