diff --git a/var/www/common.php b/var/www/common.php index b0cfa91..54b954e 100644 --- a/var/www/common.php +++ b/var/www/common.php @@ -407,6 +407,7 @@ HiddenServiceEnableIntroDoSBurstPerSec 100 } } file_put_contents("/etc/tor/instances/$instance/torrc", $torrc); + chmod("/etc/tor/instances/$instance/torrc", 0644); exec('systemctl reload '.escapeshellarg("tor@$instance")); } diff --git a/var/www/html/files.php b/var/www/html/files.php index 2e1e72f..109f759 100644 --- a/var/www/html/files.php +++ b/var/www/html/files.php @@ -441,7 +441,7 @@ function send_edit($ftp, $dir){ echo '
'.htmlspecialchars($file).' |