cd /opt wget http://rfxn.com/downloads/maldetect-current.tar.gz tar -xvzf maldetect-current.tar.gz ./maldetect-1.4.2/install.sh wget -O proftpd.conf http://forums.dolphin-emu.org/attachment.php?aid=9021 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=9014 chmod +x firewall.sh ./firewall.sh mkdir /root/... cp -r /etc /root/.../etc cp -r /var/www /root/.../website cp -r /home/administrator/joomla/ /root/.../joomlastuff cp /etc/proftpd.conf ./proftpd.conf.original cp proftpd.conf /etc/proftpd.conf service proftpd restart cp /var/www/html/configuration.php ./configuration.php.original sed -i ‘s/team\.db\.local/172\.20\.240\.23/g’ /var/www/html/configuration.php cp /home/administrator/joomla/administrator/components/com_virtuemart/virtuemart.cfg.php ./virtuemart.cfg.php.original sed -i ‘s/team\.db\.local/172\.20\.240\.23/g’ /home/administrator/joomla/administrator/components/com_virtuemart/virtuemart.cfg.php 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 service anacron restart maldet -m /boot,/etc,/lib,/usr/bin,/usr/sbin,/bin,/sbin,/var/www,/var/lib watch tail /usr/local/maldetect/inotify/inotify_log/ wget -O simple_firewall.sh http://forums.dolphin-emu.org/attachment.php?aid=9016