Content Security Header (HSTS) Apache:<br /> Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" Nginx:<br /> add_header Strict-Transport-Security 'max-age=31536000; includeSubDomains; preload'; Content Security Policy (CSP) Apache:<br /> Header always set Content-S...
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...
Find a String inside Files<br /> grep -rnw '/path/to/somewhere/' -e 'pattern'<br /> <br /> Find File in Folder Structure<br /> find ./ -name card.php Display Linux System Informations<br /> uname Display Kernel Releases Informations<br /> uname -r Display Systems uptime and load av...
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 ...
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 ...