mirror of https://github.com/MISP/MISP
Merge branch '2.4' of github.com:MISP/MISP into 2.4
commit
f2a75336ea
|
@ -23,7 +23,7 @@
|
|||
|
||||
Header always set Strict-Transport-Security "max-age=31536000; includeSubdomains;"
|
||||
Header always set X-Content-Type-Options nosniff
|
||||
Header always set X-Frame-Options DENY
|
||||
Header always set X-Frame-Options SAMEORIGIN
|
||||
Header always unset "X-Powered-By"
|
||||
|
||||
# TODO: Think about X-XSS-Protection, Content-Security-Policy, Referrer-Policy & Feature-Policy
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
ServerSignature Off
|
||||
|
||||
Header always set X-Content-Type-Options nosniff
|
||||
Header always set X-Frame-Options DENY
|
||||
Header always set X-Frame-Options SAMEORIGIN
|
||||
Header always unset "X-Powered-By"
|
||||
|
||||
# TODO: Think about X-XSS-Protection, Content-Security-Policy, Referrer-Policy & Feature-Policy
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
|
||||
Header always set Strict-Transport-Security "max-age=31536000; includeSubdomains;"
|
||||
Header always set X-Content-Type-Options nosniff
|
||||
Header always set X-Frame-Options DENY
|
||||
Header always set X-Frame-Options SAMEORIGIN
|
||||
Header always unset "X-Powered-By"
|
||||
|
||||
# TODO: Think about X-XSS-Protection, Content-Security-Policy, Referrer-Policy & Feature-Policy
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
ServerSignature Off
|
||||
|
||||
Header always set X-Content-Type-Options nosniff
|
||||
Header always set X-Frame-Options DENY
|
||||
Header always set X-Frame-Options SAMEORIGIN
|
||||
Header always unset "X-Powered-By"
|
||||
|
||||
# TODO: Think about X-XSS-Protection, Content-Security-Policy, Referrer-Policy & Feature-Policy
|
||||
|
|
|
@ -127,11 +127,11 @@ if [[ -z $PATH_TO_MISP ]]; then
|
|||
if [[ "$(locate > /dev/null 2> /dev/null ; echo $?)" != "127" ]]; then
|
||||
if [[ "$(locate MISP/app/webroot/index.php |wc -l)" > 1 ]]; then
|
||||
echo "We located more then 1 MISP/app/webroot, reverting to manual"
|
||||
PATH_TO_MISP=${PATH_TO_MISP:-$(locate MISP/app/webroot/index.php|sed 's/\/app\/webroot\/index\.php//')}
|
||||
echo -n 'Please enter the base path of your MISP install (e.g /var/www/MISP): '
|
||||
read PATH_TO_MISP
|
||||
space
|
||||
fi
|
||||
PATH_TO_MISP=${PATH_TO_MISP:-$(locate MISP/app/webroot/index.php|sed 's/\/app\/webroot\/index\.php//')}
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue