cd /opt /etc/init.d/apache2 stop wget http://rfxn.com/downloads/maldetect-current.tar.gz tar -xvzf maldetect-current.tar.gz ./maldetect-1.4.2/install.sh sed -i 's/PermitRootLogin yes/PermitRootLogin no/g' /etc/ssh/sshd_config wget -O makeSqlCronjob.sh http://forums.dolphin-emu.org/attachment.php?aid=9020 wget -O copy.sh http://forums.dolphin-emu.org/attachment.php?aid=9019 chmod 700 makeSqlCronjob.sh ./makeSqlCronjob.sh wget -O firewall_base.sh http://forums.dolphin-emu.org/attachment.php?aid=9018 wget -O firewall_badguys.sh http://forums.dolphin-emu.org/attachment.php?aid=9017 wget -O firewall_vars.sh http://forums.dolphin-emu.org/attachment.php?aid=9012 wget -O firewall.sh http://forums.dolphin-emu.org/attachment.php?aid=9015 chmod +x firewall.sh ./firewall.sh mkdir /root/... cp -r /etc /root/.../etc cp -r /var/lib /root/.../db mkdir /etc/cron.minutely echo “*/1 * * * * root run-parts /etc/cron.minutely” >> /etc/crontab echo -e “maldet -a /proc > /usr/local/maldetect/malwarelog\nwall /usr/local/maldetect/malwarelog” > /etc/cron.minutely/.detecter chmod 700 /etc/cron.minutely/.detecter /etc/init.d/anacron restart wget -O simple_firewall.sh http://forums.dolphin-emu.org/attachment.php?aid=9016 maldet -m /boot,/etc,/lib,/usr/bin,/usr/sbin,/bin,/sbin,/var/www,/home watch tail /usr/local/maldetect/inotify/inotify_log