Tag: script

  • Restoring an Exploited WordPress files

    I previously had a 10 step process to replace all the files in a wordpress, this got rid of most file based exploits. Since then i have written a shell script that pretty much incorperates that wget http://blog.rimuhosting.com/files/restorewordpress.sh chmod +x restorewordpress.sh ./restorewordpress.sh /full/path/to/documentroot Note: This does not do custom themes or plugins (only ones from…

  • WordPress Upgrade shell Script – plugins, themes, crontab and more!

    2019: This script is still being maintained It’s been some time since i upgraded my wordpress upgrade script. Several reasons why, partially because i had patches from other people to merge in, partially laziness on my part (being busy with other things). However, the good news is, it is here, and its amazing and awesome…

  • Migrating email between IMAP accounts

    Often when people switch servers, or move to new providers, transferring email can be problematic. If you are using POP3, the email is already on your personal computer, however if you are using IMAP then you are stuck trying to add a second account and drag and drop for each user, or similar. Never fear,there…

  • Finding Exploits and Trojan php hacks on a website

    Its always unfortunate when you are exploited, and the best method to fix a site is to wipe and restore from a known backup as well as track down the entry point they gained access and fix it. Sometimes you need to ‘clean’ a site of these files before migrating things over however , or…

  • Blocking malicious crawlers or scrapers in Apache

    Occasionally we see a customer who has a popular website that often gets people trying to crawl it and copy the lot, This has the unfortunate side effect that its hammering the site. Made worse only by dynamic pages and loops this can literally take down a server in some occasions. Often you can slow…

  • WordPress mass update script 3.4.2

    This script will search /var/www (changeable in a variable) for any wordpress installs and make sure its upgraded to the latest version. It will run a backup to /root/wp_upgrade/ of all files and database before doing anything with the site in case of major catastrophe (make sure you have spare disk space if your sites…

  • WordPress install script

    We like wordpress, a lot of our customers love it too. WordPress is web software you can use to create a beautiful website or blog, it is normally called a CMS too. We have created a script for automating the install of the last version of wordpress, even though installing wordpress is quite a trivial…

  • WordPress mass update script 3.4.1

    This script will search /var/www (changeable in a variable) for any wordpress installs and make sure its upgraded to the latest version. It will run a backup to /root/wp_upgrade/ of all files and database before doing anything with the site in case of major catastrophe (make sure you have spare disk space if your sites…

  • WordPress mass update script 3.4

    This script will search /var/www (changeable in a variable) for any wordpress installs and make sure its upgraded to the latest version. It will run a backup to /root/wp_upgrade/ of all files and database before doing anything with the site in case of major catastrophe (make sure you have spare disk space if your sites…

  • JBoss AS 7.1 install script

    JBoss Application Server (or JBoss AS) is an open-source Java EE-based application server. It has been optimized for multiples cores, it has a very fast startup time and a great low memory consumption. We have created a new version of the jboss install script. Jboss 7 changed a lot the way it is configured, that…