├── README.md
└── index.html
/README.md:
--------------------------------------------------------------------------------
1 | Linux-and-Security-snippets
2 | ===========================
3 |
4 | Linux and security scripts and notes
5 |
6 |
7 | Linux and Security snippets by fduran
8 | Collection of Bash scripts and notes related to Linux server management and security.
9 | List of snippets
10 |
11 |
12 | Checking for Shellshock attempts in web server logs
13 | Django Install - Nginx uwsgi
14 | Django Install - Apache
15 | Tail follow log file in browser
16 | Check and alert if MySQL slave is not running
17 | Calculate MySQL schema disk size
18 | WordPress Error establishing database connection
19 | MySQL Optimization
20 | Linux Bash generate a number of files of random sizes in a range
21 | Linux exclude a process from being killed by oom killer
22 | Linux mini forensics on unknown running process
23 | Django Celery
24 | Postfix mail review
25 | Run script detached from an SSH terminal
26 | Linux Check SSL connection
27 | rsync example
28 | Linux Test cron
29 | Linux renice many processes with the same name
30 | PHP Send mail with Amazon AWS SES without extra library
31 | Delete files in a folder older than a number of days
32 | MySQL Master-Slave Replication
33 | Create Java KeyStore from SSL certificate
34 | Python script to test/monitor if a Django site using authentication is up
35 | Linux "Too many files open" error
36 | Apache2 optimization
37 | Apache Redirect Subdomain to port
38 | Linux find files opened for writing
39 | Find Linux users that can log in with password
40 | Apache security: installing mod_security
41 | Linux Server Utilization
42 | Linux disk/memory stress test
43 | Linux honeypots
44 | Linux remote syslog
45 | Monitoring Plesk with Monit
46 | Linux check DNS cache snooping
47 | Linux shell here document on the fly
48 | Heroku Python
49 | Apache password protect directory
50 | Linux making disk space
51 | Mysql status, check & repair
52 | Linux: Block IP with iptables
53 | Replace relative to absolute URL in a file
54 | Set permissions for web files & directories
55 | Linux find IPs with most web connections
56 | Linux monitor & react to event in log file
57 | Defending against Spam using Linux Postfix
58 | Apache optimization with Google's mod_pagespeed
59 | Linux mail server for sending only
60 | Linux Passwordless SSH
61 | Linux better command history
62 | Linux get email for SSH Logins
63 | Linux SSH Filesystem
64 | Linux cloning packages (Debian/Ubuntu)
65 | Linux protecting critical directories
66 | Linux file integrity with tripwire
67 | Linux server monitoring with monit
68 | Linux server stats with munin
69 | Linux encryption and decryption
70 | Linux Rootkit check
71 | Linux disk space email alert
72 |
73 | Contact
74 |
75 | Fernando Duran
76 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
45 |
46 |
Checking for Shellshock attempts in web server logs
61 | 62 | 63 |Tail follow log file in browser
64 |Check and alert if MySQL slave is not running
65 |Calculate MySQL schema disk size
66 |WordPress Error establishing database connection
67 | 68 |Linux Bash generate a number of files of random sizes in a range
69 |Linux exclude a process from being killed by oom killer
70 |Linux mini forensics on unknown running process
71 | 72 | 73 |Run script detached from an SSH terminal
74 | 75 | 76 | 77 |Linux renice many processes with the same name
78 |PHP Send mail with Amazon AWS SES without extra library
79 |Delete files in a folder older than a number of days
80 |MySQL Master-Slave Replication
81 |Create Java KeyStore from SSL certificate
82 |Python script to test/monitor if a Django site using authentication is up
83 |Linux "Too many files open" error
84 | 85 |Apache Redirect Subdomain to port
86 |Linux find files opened for writing
87 |Find Linux users that can log in with password
88 |Apache security: installing mod_security
89 | 90 | 91 | 92 | 93 | 94 |Linux check DNS cache snooping
95 |Linux shell here document on the fly
96 | 97 |Apache password protect directory
98 | 99 | 100 | 101 |Replace relative to absolute URL in a file
102 |Set permissions for web files & directories
103 |Linux find IPs with most web connections
104 |Linux monitor & react to event in log file
105 |Defending against Spam using Linux Postfix
106 |Apache optimization with Google's mod_pagespeed
107 |Linux mail server for sending only
108 | 109 | 110 |Linux get email for SSH Logins
111 | 112 |Linux cloning packages (Debian/Ubuntu)
113 |Linux protecting critical directories
114 |Linux file integrity with tripwire
115 |Linux server monitoring with monit
116 | 117 |Linux encryption and decryption
118 | 119 | 120 | 121 |