Security
Content Security Header (HSTS) Apache: Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" Nginx: add_header Strict-Transport-Security 'max-age=31536000; includeSubDomains; preload'; Content Security Policy (CSP) Apache: Header always set Content-Security-Policy "default-src...
NGINX 1. Go to the nginx configuration file: nano /etc/nginx/nginx.conf 2. Uncomment this line: server_tokens off; 3. Restart nginx service nginx restart APACHE2 1. Go to your apache2 configuration File: nano /etc/apache2/apache2.conf (for Debian/Ubuntu) nano /etc/httpd/conf/httpd.conf (Centos) 2. Modify the line ServerTokens and ServerSignature as...
Hints
Find a String inside Files grep -rnw '/path/to/somewhere/' -e 'pattern' Find File in Folder Structure find ./ -name card.php Display Linux System Informations uname Display Kernel Releases Informations uname -r Display Systems uptime and load average uptime Show the systems hostname hostname Display IP-Adress of Syst...
This unix Command will make a file non-writable. Make non-Writable chattr +i file Make writable again chattr -i file See Status: lsattr file ...
Not Categorized
deb http://deb.debian.org/debian buster main deb-src http://deb.debian.org/debian buster main deb http://deb.debian.org/debian-security/ buster/updates main deb-src http://deb.debian.org/debian-security/ buster/updates main deb http://deb.debian.org/debian buster-updates main deb-src http://deb.debian.org/debian buster-updates main ...