<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>RimuHosting Blog &#187; Security</title>
	<atom:link href="http://blog.rimuhosting.com/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rimuhosting.com</link>
	<description>Mighty Linux servers, support worth raving about</description>
	<lastBuildDate>Wed, 01 Feb 2012 01:07:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WordPress mass update script 3.3.1</title>
		<link>http://blog.rimuhosting.com/2012/01/05/wordpress-mass-update-script-3-3-1/</link>
		<comments>http://blog.rimuhosting.com/2012/01/05/wordpress-mass-update-script-3-3-1/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 21:38:02 +0000</pubDate>
		<dc:creator>Liz Quilty</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.rimuhosting.com/?p=1802</guid>
		<description><![CDATA[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 &#8230; <a href="http://blog.rimuhosting.com/2012/01/05/wordpress-mass-update-script-3-3-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This script will search /var/www (changeable in a variable) for any wordpress installs and make sure its upgraded to the latest version.<br />
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 have a lot of uploaded files).</p>
<p>I have now added putting the site into maintenance mode whilst upgrading. This just involves adding a .maintenance in the document root.</p>
<p>It pays to check each site after the upgrade to make sure plugins all worked (and upgrade plugins before the upgrade works also!)</p>
<p>Let me know if you have any bugs at all, or any problems.</p>
<p>Here’s your script to upgrade them all.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>b.ri.mu<span style="color: #000000; font-weight: bold;">/</span>files<span style="color: #000000; font-weight: bold;">/</span>wordpress-upgrade-3.3.1.sh
<span style="color: #c20cb9; font-weight: bold;">bash</span> wordpress-upgrade-3.3.1.sh</pre></div></div>

<p>MD5<br />
e365a7fa4b69b3ad52e75b4175c1539a  wordpress-upgrade-3.3.1.sh</p>
<p>SHA1<br />
653d1a95a89cfc4be3253af96ef915ba3615ad18  wordpress-upgrade-3.3.1.sh</p>
<p>If you find any bugs or problems, just let me know at liz at rimuhosting dot com</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rimuhosting.com/2012/01/05/wordpress-mass-update-script-3-3-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Checking a potentially hacked machine and reinstalling packages when you break things</title>
		<link>http://blog.rimuhosting.com/2011/10/12/checking-a-potentially-hacked-machine-and-reinstalling-packages-when-you-break-things/</link>
		<comments>http://blog.rimuhosting.com/2011/10/12/checking-a-potentially-hacked-machine-and-reinstalling-packages-when-you-break-things/#comments</comments>
		<pubDate>Wed, 12 Oct 2011 02:46:58 +0000</pubDate>
		<dc:creator>Liz Quilty</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.rimuhosting.com/?p=1713</guid>
		<description><![CDATA[Sometimes you may see something odd go past in the logs, on the screen, or something might just seem a bit 'off' somehow. Its a good idea when this happens to just double check that things are as they should &#8230; <a href="http://blog.rimuhosting.com/2011/10/12/checking-a-potentially-hacked-machine-and-reinstalling-packages-when-you-break-things/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Sometimes you may see something odd go past in the logs, on the screen, or something might just seem a bit 'off' somehow. Its a good idea when this happens to just double check that things are as they should be, verify packages, binaries, check logs etc</p>
<p>Here are a few things i find helpful when doing this</p>
<p><span id="more-1713"></span>Install something like rkhunter or chkrootkit, run it regularly and check the output. These tools are excellent at helping detect oddities that should not be there. I find rkhunter better in that it emails me regularly (every night) and lets me know if there are changes or things happening.</p>
<p>Sometimes the server is not mine (ok, a lot of the time since i work on peoples servers), so these things may not be installed already, and i want to check packages installed are the correct ones, and have not been replaced by a hacker, or some other odd process. I use something like this</p>
<p>For Redhat based systems (Fedora, Centos etc)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> yum-verify
yum verify-all</pre></div></div>

<p>For Debian based systems its a little harder, but scriptable</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-l</span> \<span style="color: #000000; font-weight: bold;">*|</span><span style="color: #000000; font-weight: bold;">while</span> <span style="color: #c20cb9; font-weight: bold;">read</span> s n rest; <span style="color: #000000; font-weight: bold;">do</span> <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$s</span>&quot;</span> == <span style="color: #ff0000;">&quot;ii&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span> <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$n</span>;
<span style="color: #000000; font-weight: bold;">fi</span>; <span style="color: #000000; font-weight: bold;">done</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt; ~<span style="color: #000000; font-weight: bold;">/</span>tmp.txt
<span style="color: #000000; font-weight: bold;">for</span> f <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">cat</span> ~<span style="color: #000000; font-weight: bold;">/</span>tmp.txt<span style="color: #000000; font-weight: bold;">`</span>; <span style="color: #000000; font-weight: bold;">do</span> debsums <span style="color: #660033;">-s</span> <span style="color: #660033;">-a</span> <span style="color: #007800;">$f</span>; <span style="color: #000000; font-weight: bold;">done</span></pre></div></div>

<p>These commands will take some time, and use a fair amount of CPU and disk IO when you run them, so be aware they may slow the VPS/Server down a little.<br />
Also, be aware you may have a fair few false positives, usually on configurations which have changed from the default packages</p>
<p>IF a package appears to be tampered with you can reinstall it like this<br />
Centos/RedHat/Fedora</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum reinstall packagename</pre></div></div>

<p>Or reinstall all packages</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum reinstall $<span style="color: #7a0874; font-weight: bold;">&#40;</span>yum list installed <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $1}'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>Debian/Ubuntu</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">--reinstall</span> packagename</pre></div></div>

<p>or reinstall all packages</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">--reinstall</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">--get-selections</span> <span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-v</span> deinstall<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>Possibly not such a great idea to reinstall all packages, if its that bad you really should reinstall the server from scratch. Ideally if you have been root exploited in any way you should reinstall from scratch as nothing will be safe (especially your package manager or SSH daemon). The main reason i put these commands here is because they are handy if you break things also <img src='http://blog.rimuhosting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Lastly, it pays to regularly run netstat to check for strange open ports or connections, ps for odd running things, and of course all your logs for things (especially apache error log).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rimuhosting.com/2011/10/12/checking-a-potentially-hacked-machine-and-reinstalling-packages-when-you-break-things/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DigiNotar and SSL certificates</title>
		<link>http://blog.rimuhosting.com/2011/09/09/diginotar-and-ssl-certificates/</link>
		<comments>http://blog.rimuhosting.com/2011/09/09/diginotar-and-ssl-certificates/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 04:12:14 +0000</pubDate>
		<dc:creator>Glenn Enright</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[certificates]]></category>
		<category><![CDATA[DigiNotar]]></category>
		<category><![CDATA[secure]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://blog.rimuhosting.com/?p=1694</guid>
		<description><![CDATA[Great news! We were pretty sure, but a recent notification from our certificate supplier told us that none of the certificates ordered on behalf of our customers are signed by DigiNotar. For those of you not aware, DigiNotar is a &#8230; <a href="http://blog.rimuhosting.com/2011/09/09/diginotar-and-ssl-certificates/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Great news! We were pretty sure, but a recent notification from our certificate supplier told us that none of the certificates ordered on behalf of our customers are signed by DigiNotar.</p>
<p>For those of you not aware, DigiNotar is a Certificate Authority who provided signed SSL Certificates against their own trust chain. Which was recognized by all major browsers (including Internet Explorer, Firefox, Chrome, and Opera) and therefore enhanced the security and browsing experience of many SSL secured sites.</p>
<blockquote><p><strong>In July 2011</strong>– An internal audit discovered an intrusion within DigiNotar’s CA infrastructure indicating a compromise of their cryptographic keys. The breach of these keys resulted in the fraudulent issuance of public key certificates to a several dozen domains including the domain Google.com. Shortly after the incident, DigiNotar revoked all of the certificates in question, conducted an additional external security audit and then attempted to revoke outstanding certificates that were affected.</p></blockquote>
<p>You can read full details from their <a title="DigiNotar reports security incident" href="http://www.vasco.com/company/press_room/news_archive/2011/news_diginotar_reports_security_incident.aspx" target="_blank">official press release</a></p>
<p>However as analysis continued and the evident scale of the problem increased, many that used DigiNotar as a top level signing CA felt that chain was no longer trustworthy. For those with certificates signed by them this turned into a significant issue  as software developers for the major browsers completely revoked the top level certificate in their browsers, requiring them to purchase new certificates from alternate agencies.</p>
<p>Why is this important to you?</p>
<ul>
<li>This breach highlights the need to be vigilant about your server security</li>
<li>SSL enable sites remain one of the most important methods securing browser connections and creating trust to site visitors.</li>
<li>You can rest assured that the SSL certificates we provide are secure</li>
</ul>
<p>If you would like to know more about the SSL certificate options we provide please take a look at our <a title="Order a secure SSL Certificate" href="https://rimuhosting.com/ticket/enterticketdetails.jsp?t_type=TT_SSL_CERT">secure SSL Certificate order page</a>, or pop in an email to us directly at support@rimuhosting.com with details on what you would like to know.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rimuhosting.com/2011/09/09/diginotar-and-ssl-certificates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why is your server sending spam? why does it keep crashing with high load?</title>
		<link>http://blog.rimuhosting.com/2011/08/31/why-is-your-server-sending-spam-why-does-it-keep-crashing-with-high-load/</link>
		<comments>http://blog.rimuhosting.com/2011/08/31/why-is-your-server-sending-spam-why-does-it-keep-crashing-with-high-load/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 02:32:11 +0000</pubDate>
		<dc:creator>Liz Quilty</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.rimuhosting.com/?p=1680</guid>
		<description><![CDATA[We get asked these questions regularly, and 9 out of 10 times it may be because your server may have been hacked, either on a user level, web application, or more. Here are some ways to quickly check for the &#8230; <a href="http://blog.rimuhosting.com/2011/08/31/why-is-your-server-sending-spam-why-does-it-keep-crashing-with-high-load/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We get asked these questions regularly, and 9 out of 10 times it may be because your server may have been hacked, either on a user level, web application, or more.</p>
<p>Here are some ways to quickly check for the most common things we see , and some of the processes we go through to find the culprits</p>
<p><span id="more-1680"></span><br />
Probably the most common thing we see, is insecure web applications. Either sending spam emails, or sending the load up high by running applications from the apache user (bots or similar).</p>
<p>First of all, check what is listening to external ports using something like</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">netstat</span> <span style="color: #660033;">-pant</span> <span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">grep</span> LISTEN</pre></div></div>

<p>You probably want to look into stopping the processes that seem suspicious, this may involve restarting apache or using the kill command. Next run ps auxf and see if there is anything odd, you should regularly check a ps even if its just to familiarize yourself with what is normal or not.</p>
<p>If you find files that are running, use find to locate where on the filesystem they are</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">&quot;filename&quot;</span></pre></div></div>

<p>Since most sites use Apache Web Server to serve web pages, check the error.log, you can find it in /var/log/apache2 or /var/log/httpd (depending what distro you use).</p>
<p>Things to look for are outputs from shell commands (ie wget or curl) or anything that just does not look "right". If you can get the time/day from these it helps, even if its an approximate (between log above it and below it).</p>
<p>Once you have that, check the access.log and see what happened on those days. Check for repeated POST entries in a row, or odd file names in image directories.</p>
<p>Checking for larger logs in /var/log will give you hints since 1000 emails is often created with 1000 hits ( ls -sh /var/log/ ). If you have 3 or 4 very large apache and mail logs, then you know they rotate every day, that's 3-4 days ago it happened. </p>
<p>You can check apache logs for what IP address is accessing your website most, this is more often the spammer , this is how</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cat</span> access.log <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $1}'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sort</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">uniq</span> <span style="color: #660033;">-c</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sort</span> <span style="color: #660033;">-n</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">tail</span></pre></div></div>

<p>The first number result is the amount of hits, the second is the IP. You can then check the other logs for any instance of that IP, view what pages they were on.</p>
<p>Once you narrow down the time it happened its a lot easier to find out what happened. If you can Narrow that down to an IP address, this is even better, you can check the logs to find exactly what that ip address did, and block it.</p>
<p>If you are dealing with spamming from your server, check the mail queue (run 'mailq') it should give you an idea what has been sent, check /var/spool/postfix/deferred to read the emails in the queue (use less or vi ) to see if they have headers and who they are from.</p>
<p>For postfix users, its easy enough to clear any email queued up in your server, just run something like</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">postsuper <span style="color: #660033;">-d</span> ALL</pre></div></div>

<p>Beware this will also purge any legitimate email at the same time.</p>
<p>Once you have tracked it down to and IP you can then track it down to a file or two. It pays to grep for that file in case the user hacking changed IP several times, and try and track back to the original entry point. </p>
<p>Once found, check what permissions that file/script had access too (read the code, or just check what it could possibly have written to) and replace those things.<br />
If you have a CMS, upgrade that, backup all images and check themes/plugins for back doors. Remove everything else and replace with new ones from the fresh download you do.</p>
<p>Check all tmp dirs for files that should not be there, /tmp and /var/tmp are often used. Make sure you use ls -al and check for directories named as " " (as in a space) or any oddities and extra line feeds for hidden directories. Another one often used is naming a directory " ." so it looks like a . rather than a space dot etc.</p>
<p>If your server has been root exploited then re-install and wipe as much data as you possibly can, only migrate what you must. Often if its root exploited you will find problems with package management being unable to write to some files, or similar.<br />
Usually if a server is root exploited they can replace binaries (ie your mailserver) and you will not notice, they intercept everything, and its safe to assume they have all your passwords logged as clear text somewhere.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rimuhosting.com/2011/08/31/why-is-your-server-sending-spam-why-does-it-keep-crashing-with-high-load/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache exploit may crash your server &#8211; heres how to fix it</title>
		<link>http://blog.rimuhosting.com/2011/08/26/apache-exploit-may-crash-your-server-heres-how-to-fix-it/</link>
		<comments>http://blog.rimuhosting.com/2011/08/26/apache-exploit-may-crash-your-server-heres-how-to-fix-it/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 04:35:26 +0000</pubDate>
		<dc:creator>Liz Quilty</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[killapache]]></category>
		<category><![CDATA[solved]]></category>

		<guid isPermaLink="false">http://blog.rimuhosting.com/?p=1648</guid>
		<description><![CDATA[We have picked up that there was an exploit in Apache which can result in your server running out of memory. the discovery was noticed quiet some time ago, but never fixed, and it seems to have reared its head &#8230; <a href="http://blog.rimuhosting.com/2011/08/26/apache-exploit-may-crash-your-server-heres-how-to-fix-it/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We have picked up that there was an exploit in Apache which can result in your server running out of memory. the discovery was noticed quiet some time ago, but never fixed, and it seems to have reared its head publicly resulting in some people actively attacking.</p>
<p>There is no patch for apache as yet, however you can do a few things to stop it affecting you.<span id="more-1648"></span></p>
<p><strong>1)</strong> Use SetEnvIf or mod_rewrite to detect a large number of ranges and then<br />
either ignore the Range: header or reject the request.</p>
<p>Option 1: (Apache 2.0 and 2.2)</p>
<pre># Drop the Range header when more than 5 ranges.
# CVE-2011-3192
SetEnvIf Range (,.*?){5,} bad-range=1
RequestHeader unset Range env=bad-range

# optional logging.
CustomLog logs/range-CVE-2011-3192.log common env=bad-range</pre>
<p>Option 2: (Also for Apache 1.3)</p>
<pre># Reject request when more than 5 ranges in the Range: header.
# CVE-2011-3192
#
RewriteEngine on
RewriteCond %{HTTP:range} !(^bytes=[^,]+(,[^,]+){0,4}$|^$)
RewriteRule .* - [F]</pre>
<p>The number 5 is arbitrary. Several 10's should not be an issue and may be<br />
required for sites which for example serve PDFs to very high end eReaders<br />
or use things such complex http based video streaming.</p>
<p><strong>2)</strong> Limit the size of the request field to a few hundred bytes. Note that while<br />
this keeps the offending Range header short - it may break other headers;<br />
such as sizeable cookies or security fields.</p>
<pre>LimitRequestFieldSize 200</pre>
<p>Note that as the attack evolves in the field you are likely to have<br />
to further limit this and/or impose other LimitRequestFields limits.</p>
<p>See: <a href="http://httpd.apache.org/docs/2.2/mod/core.html#limitrequestfieldsize">http://httpd.apache.org/docs/2.2/mod/core.html#limitrequestfieldsize</a></p>
<p><strong>3)</strong> Use mod_headers to completely dis-allow the use of Range headers:</p>
<pre>RequestHeader unset Range</pre>
<p><strong>Note</strong> that this may break certain clients - such as those used for<br />
e-Readers and progressive/http-streaming video.<br />
<strong>4)</strong> Deploy a Range header count module as a temporary stopgap measure: <a href="http://people.apache.org/~dirkx/mod_rangecnt.c">http://people.apache.org/~dirkx/mod_rangecnt.c</a></p>
<p>Precompiled binaries for some platforms are available at: <a href="http://people.apache.org/~dirkx/BINARIES.txt">http://people.apache.org/~dirkx/BINARIES.txt</a></p>
<p>Because each system is different, and the requirements for each system vary, there is no one sure way to fix each system. If you are unsure what one to use, or need help fixing that, just drop us an email and we can sort that out for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rimuhosting.com/2011/08/26/apache-exploit-may-crash-your-server-heres-how-to-fix-it/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress mass update script 3.2.1</title>
		<link>http://blog.rimuhosting.com/2011/07/13/wordpress-mass-update-script-3-2-1/</link>
		<comments>http://blog.rimuhosting.com/2011/07/13/wordpress-mass-update-script-3-2-1/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 01:27:20 +0000</pubDate>
		<dc:creator>Liz Quilty</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[easy]]></category>
		<category><![CDATA[multiple]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.rimuhosting.com/?p=1580</guid>
		<description><![CDATA[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 &#8230; <a href="http://blog.rimuhosting.com/2011/07/13/wordpress-mass-update-script-3-2-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This script will search /var/www (changeable in a variable) for any wordpress installs and make sure its upgraded to the latest version.<br />
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 have a lot of uploaded files).</p>
<p><span id="more-1580"></span><br />
I have now added putting the site into maintenance mode whilst upgrading. This just involves adding a .maintenance in the document root.</p>
<p>It pays to check each site after the upgrade to make sure plugins all worked (and upgrade plugins before the upgrade works also!)</p>
<p>Let me know if you have any bugs at all, or any problems.</p>
<p>Here’s your script to upgrade them all.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>b.ri.mu<span style="color: #000000; font-weight: bold;">/</span>files<span style="color: #000000; font-weight: bold;">/</span>wordpress-upgrade-3.2.1.sh
<span style="color: #c20cb9; font-weight: bold;">bash</span> wordpress-upgrade-3.2.1.sh</pre></div></div>

<p>MD5SUM<br />
26eb9d2d2d7ece52764888fe62f5b5e4  wordpress-upgrade-3.2.1.sh</p>
<p>SHA1SUM<br />
6219bd3953ae89ce13428e9f3333843d9dfc09de  wordpress-upgrade-3.2.1.sh</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rimuhosting.com/2011/07/13/wordpress-mass-update-script-3-2-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress mass update script 3.2</title>
		<link>http://blog.rimuhosting.com/2011/07/05/wordpress-mass-update-script-3-2/</link>
		<comments>http://blog.rimuhosting.com/2011/07/05/wordpress-mass-update-script-3-2/#comments</comments>
		<pubDate>Mon, 04 Jul 2011 22:19:10 +0000</pubDate>
		<dc:creator>Liz Quilty</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[management]]></category>

		<guid isPermaLink="false">http://blog.rimuhosting.com/?p=1537</guid>
		<description><![CDATA[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 &#8230; <a href="http://blog.rimuhosting.com/2011/07/05/wordpress-mass-update-script-3-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This script will search /var/www (changeable in a variable) for any wordpress installs and make sure its upgraded to the latest version.<br />
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 have a lot of uploaded files).</p>
<p><span id="more-1537"></span><br />
I have now added putting the site into maintenance mode whilst upgrading. This just involves adding a .maintenance in the document root.</p>
<p>It pays to check each site after the upgrade to make sure plugins all worked (and upgrade plugins before the upgrade works also!)</p>
<p>Let me know if you have any bugs at all, or any problems.</p>
<p>Here’s your script to upgrade them all.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>b.ri.mu<span style="color: #000000; font-weight: bold;">/</span>files<span style="color: #000000; font-weight: bold;">/</span>wordpress-upgrade-<span style="color: #000000;">3.2</span>.sh
<span style="color: #c20cb9; font-weight: bold;">bash</span> wordpress-upgrade-<span style="color: #000000;">3.2</span>.sh</pre></div></div>

<p>MD5SUM<br />
f441261fdcb09ac64f98ab9a28f743a6  wordpress-upgrade-3.2.sh</p>
<p>SHA1SUM<br />
61794bdacc4223fa88bb6737552bb8a7cf8f432f  wordpress-upgrade-3.2.sh</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rimuhosting.com/2011/07/05/wordpress-mass-update-script-3-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>WordPress mass update script 3.1.4</title>
		<link>http://blog.rimuhosting.com/2011/07/01/wordpress-mass-update-script-3-1-4/</link>
		<comments>http://blog.rimuhosting.com/2011/07/01/wordpress-mass-update-script-3-1-4/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 22:24:47 +0000</pubDate>
		<dc:creator>Liz Quilty</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.rimuhosting.com/?p=1460</guid>
		<description><![CDATA[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 &#8230; <a href="http://blog.rimuhosting.com/2011/07/01/wordpress-mass-update-script-3-1-4/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This script will search /var/www (changeable in a variable) for any wordpress installs and make sure its upgraded to the latest version.<br />
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 have a lot of uploaded files).</p>
<p><span id="more-1460"></span><br />
I have now added putting the site into maintenance mode whilst upgrading. This just involves adding a .maintenance in the document root.</p>
<p>It pays to check each site after the upgrade to make sure plugins all worked (and upgrade plugins before the upgrade works also!)</p>
<p>Let me know if you have any bugs at all, or any problems.</p>
<p>Here’s your script to upgrade them all.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>b.ri.mu<span style="color: #000000; font-weight: bold;">/</span>files<span style="color: #000000; font-weight: bold;">/</span>wordpress-upgrade-3.1.4.sh
<span style="color: #c20cb9; font-weight: bold;">bash</span> wordpress-upgrade-3.1.4.sh</pre></div></div>

<p>MD5SUM<br />
4c160ca05744a52965f4a42006e3f6ad  wordpress-upgrade-3.1.4.sh</p>
<p>SHA1SUM<br />
21db4b5683b4f57471272fb92cdb0f1eff299d0d  wordpress-upgrade-3.1.4.sh</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rimuhosting.com/2011/07/01/wordpress-mass-update-script-3-1-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress mass update script 3.1.3</title>
		<link>http://blog.rimuhosting.com/2011/05/26/wordpress-mass-update-script-3-1-3/</link>
		<comments>http://blog.rimuhosting.com/2011/05/26/wordpress-mass-update-script-3-1-3/#comments</comments>
		<pubDate>Thu, 26 May 2011 00:09:43 +0000</pubDate>
		<dc:creator>Liz Quilty</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mass]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.rimuhosting.com/?p=1268</guid>
		<description><![CDATA[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 &#8230; <a href="http://blog.rimuhosting.com/2011/05/26/wordpress-mass-update-script-3-1-3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This script will search /var/www (changeable in a variable) for any wordpress installs and make sure its upgraded to the latest version.<br />
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 have a lot of uploaded files).</p>
<p><span id="more-1268"></span></p>
<p>It pays to check each site after the upgrade to make sure plugins all worked (and upgrade plugins before the upgrade works also!)</p>
<p>Let me know if you have any bugs at all, or any problems.</p>
<p>Here’s your script to upgrade them all.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>b.ri.mu<span style="color: #000000; font-weight: bold;">/</span>files<span style="color: #000000; font-weight: bold;">/</span>wordpress-upgrade-3.1.3.sh
<span style="color: #c20cb9; font-weight: bold;">bash</span> wordpress-upgrade-3.1.3.sh</pre></div></div>

<p>MD5SUM<br />
c028cf28b839513d9202ea331ef5558f  wordpress-upgrade-3.1.3.sh</p>
<p>SHA1SUM<br />
1d82f357ce6acdffb0d4293a47ac153b7510a243  wordpress-upgrade-3.1.3.sh</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rimuhosting.com/2011/05/26/wordpress-mass-update-script-3-1-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress mass update script 3.1.2</title>
		<link>http://blog.rimuhosting.com/2011/05/02/wordpress-mass-update-script-3-1-2/</link>
		<comments>http://blog.rimuhosting.com/2011/05/02/wordpress-mass-update-script-3-1-2/#comments</comments>
		<pubDate>Sun, 01 May 2011 22:01:37 +0000</pubDate>
		<dc:creator>Liz Quilty</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[updates]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.rimuhosting.com/?p=1155</guid>
		<description><![CDATA[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 &#8230; <a href="http://blog.rimuhosting.com/2011/05/02/wordpress-mass-update-script-3-1-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This script will search /var/www (changeable in a variable) for any wordpress installs and make sure its upgraded to the latest version.<br />
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 have a lot of uploaded files).</p>
<p><span id="more-1155"></span></p>
<p>It pays to check each site after the upgrade to make sure plugins all worked (and upgrade plugins before the upgrade works also!)</p>
<p>Let me know if you have any bugs at all, or any problems.</p>
<p>Here’s your script to upgrade them all.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>b.ri.mu<span style="color: #000000; font-weight: bold;">/</span>files<span style="color: #000000; font-weight: bold;">/</span>wordpress-upgrade-3.1.2.sh
<span style="color: #c20cb9; font-weight: bold;">bash</span> wordpress-upgrade-3.1.2.sh</pre></div></div>

<p>MD5SUM<br />
61b4bacda7060e3f40cb5c40a5a30821  wordpress-upgrade-3.1.2.sh</p>
<p>SHA1SUM<br />
b55d9e69056e93610b0288f816ec9858d2756ca8  wordpress-upgrade-3.1.2.sh</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rimuhosting.com/2011/05/02/wordpress-mass-update-script-3-1-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

