Category about Linux

[2021-10-17 04:21:30] Content Security Headers [Linux / 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...
[2020-11-19 12:29:03] Hide Server Version in Apache & Nginx [Linux / Security]
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...
[2021-03-08 17:22:19] Command Line Hints [Linux / 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...
[2021-02-13 10:44:11] Linux make file Immune [Linux / Hints]
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
[2020-11-11 09:19:59] Debian Source List Example [Linux / 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 ...
Switch: 166 | Arrive: 273
This Website is using Session Cookies for Site Functionality and AWStats.
Staff may be MiA!