Content:: Shell Scripting
Shell
Shell Scripts are common on Unix style platforms. I use the Bash shell common with most Linux Operating Systems.
Firewall (fw.sh)
This firewall shell script simply triggers iptables to run. It is quite simple and uses tcp resets instead of drops. Scanners like Nmap will send less packets to your server if the connection is dropped like the RFC standards recommend. Ports will also show as closed instead of filtered in the results of an nmap scan.
Read More...
fw.tgz
MD5 - 6ef8911ad2a72d4638d7ac44b9f3d21b *fw.tgz
SQL Backup (sqlbackup.sh)
A simple script that uses mysqldump, shell variables for dates and stores the data into an output file.
Read More...
sqlbackup.tgz
MD5 - c94138375b55253343ba085f9c983859 *sqlbackup.tgz


