<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Ben Harris</title>
	
	<link>http://www.ben90.com</link>
	<description>Not just another wordpress blog</description>
	<lastBuildDate>Sun, 03 Feb 2013 23:03:54 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/BenHarris90" /><feedburner:info uri="benharris90" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>BenHarris90</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Fixing Download Permissions on QNAP NAS</title>
		<link>http://feedproxy.google.com/~r/BenHarris90/~3/Cb8KtoHHatk/</link>
		<comments>http://www.ben90.com/2013/02/fixing-download-permissions-on-qnap-nas/#comments</comments>
		<pubDate>Sun, 03 Feb 2013 23:03:54 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ben90.com/?p=476</guid>
		<description><![CDATA[I have a QNAP 419P+ at home that I use for all of my media, backups etc. I had been using one of the integrated media downloaders, but for some reasons the permissions were always set so that my Raspberry Pi (Raspbmc) media receiver couldn&#8217;t go inside the download directories. Now running the command set_volume_mode Download [...]]]></description>
				<content:encoded><![CDATA[<p>I have a QNAP 419P+ at home that I use for all of my media, backups etc. I had been using one of the integrated media downloaders, but for some reasons the permissions were always set so that my Raspberry Pi (Raspbmc) media receiver couldn&#8217;t go inside the download directories. Now running the command <code>set_volume_mode Download</code> was enough to fix is in each case, but I wanted a more permanent solution. My solution was to create a cron that ran every minute or so such that it would fix all the media downloads as soon as they were downloaded. Now it is possible to just edit the cron on the NAS (with a <code>crontab -e</code>), but these changes were getting wiped on every reboot!! So anyway, the solution turned up on the <a href="http://wiki.qnap.com/wiki/Add_items_to_crontab">QNAP Wiki</a>. The trick is to add your cron to the crontab file at <code>/etc/config/crontab</code>, reload the crontab with <code>crontab /etc/config/crontab</code> and then restart the cron with <code>/etc/init.d/crond.sh restart</code>.</p>
<p>For reference, my cron line is <code>*/1 * * * * set_volume_mode Download</code> which runs the command every minute. This may be a little un-necessary, but the script runs in a second or less and i&#8217;ve not seen any negative impact on the NAS.</p>
<p>As usual, if you follow these instructions, I take no responsibility for damage caused to persons, property, etc. You follow my instructions completely at your own risk. Bla bla bla :-p.</p>
<img src="http://feeds.feedburner.com/~r/BenHarris90/~4/Cb8KtoHHatk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ben90.com/2013/02/fixing-download-permissions-on-qnap-nas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.ben90.com/2013/02/fixing-download-permissions-on-qnap-nas/</feedburner:origLink></item>
		<item>
		<title>Resizing EBS Root Device on Amazon AWS EC2 Instance</title>
		<link>http://feedproxy.google.com/~r/BenHarris90/~3/KoRErSY9ros/</link>
		<comments>http://www.ben90.com/2013/01/resizing-ebs-root-device-on-amazon-aws-ec2-instance/#comments</comments>
		<pubDate>Tue, 15 Jan 2013 13:15:12 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ben90.com/?p=472</guid>
		<description><![CDATA[This is just a quick one as I&#8217;m working hard on a big migration at the moment, but I&#8217;m sure it will come in handy in the future and with others. So we were having problems with the EBS disk being full, so I decided to up the disk space. The process is really quite [...]]]></description>
				<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-473" alt="aws[1]" src="http://www.ben90.com/wp-content/uploads/2013/01/aws1-300x109.png" width="300" height="109" />This is just a quick one as I&#8217;m working hard on a big migration at the moment, but I&#8217;m sure it will come in handy in the future and with others. So we were having problems with the EBS disk being full, so I decided to up the disk space. The process is really quite simple.</p>
<ol>
<li><span style="line-height: 13px;" data-mce-mark="1">Login to AWS -&gt; EC2</span></li>
<li>Shut down your EC2 instance</li>
<li>Click Snapshots on the left hand side and create a snapshot of your main root ebs volume</li>
<li>Once completed, click volumes on the left and create a new volume (with the new disk size and the snapshot you just created)</li>
<li>On the volumes page, make a note of the disk location (probably /dev/sda1)</li>
<li>Detach the smaller volume</li>
<li>Attach the larger volume (using the the ref noted above (probably /dev/sda1))</li>
<li>Boot the EC2 instance</li>
<li>Now login to the EC2 instance. If you run <code>df -h</code>, you will see the disk still thinks it is the same size as before. Make a note of the Filesystem (probably /dev/xvda1)</li>
<li>Run <code>resize2fs -p /dev/xvda1</code> where /dev/xvda1 is the Filesystem noted above</li>
<li>run <code>df -h</code>. You should now see that the main partition is the size of the new volume you created.</li>
</ol>
<p>As always, I accept no responsibility for damage caused, loss of data, loss of anything. You use these instructions at your own risk.</p>
<img src="http://feeds.feedburner.com/~r/BenHarris90/~4/KoRErSY9ros" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ben90.com/2013/01/resizing-ebs-root-device-on-amazon-aws-ec2-instance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.ben90.com/2013/01/resizing-ebs-root-device-on-amazon-aws-ec2-instance/</feedburner:origLink></item>
		<item>
		<title>Configuring VoipCheap.co.uk Account on Elastix</title>
		<link>http://feedproxy.google.com/~r/BenHarris90/~3/wzYK-F7h20o/</link>
		<comments>http://www.ben90.com/2012/01/configuring-voipcheap-co-uk-account-on-elastix/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 15:08:26 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://ben90.com/?p=426</guid>
		<description><![CDATA[I&#8217;ve gone rather mad with VoIP configurations since I decided to move to using my own PBX for my personal and business telephony. My choice of installation was Elastix, mostly because it looks nice, but it works really well. These details will work with pretty much any other Asterisk PBX such as Trixbox though. Right, [...]]]></description>
				<content:encoded><![CDATA[<div id="attachment_428" class="wp-caption alignright" style="width: 240px"><img class="size-full wp-image-428" title="Elastix Logo" src="http://ben90.com/wp-content/uploads/2012/01/elastix_logo1.gif" alt="Elastix Logo" width="230" height="85" /><p class="wp-caption-text">Elastix Logo</p></div>
<p>I&#8217;ve gone rather mad with VoIP configurations since I decided to move to using my own PBX for my personal and business telephony. My choice of installation was Elastix, mostly because it looks nice, but it works really well. These details will work with pretty much any other Asterisk PBX such as Trixbox though. Right, so let&#8217;s setup the SIP trunk. The details you need to set are as follows:</p>
<p>Maximum Channels: 2</p>
<p>PEER Details:<br />
<code>allow=alaw&amp;ulaw&amp;G.726&amp;gsm&amp;g729&amp;g723&amp;g777<br />
canreinvite=no<br />
context=from-trunk<br />
disallow=all<br />
dtmfmode=rfc2833<br />
fromdomain=sip.voipcheap.com<br />
fromuser=<strong>USERNAME</strong><br />
host=sip.voipcheap.com<br />
insecure=very<br />
nat=YES<br />
port=5060<br />
qualify=yes<br />
secret=<strong>PASSWORD</strong><br />
srvlookup=yes<br />
type=peer<br />
username=<strong>USERNAME</strong></code></p>
<p>User Context: leave blank</p>
<p>User Details: clear so it&#8217;s blank</p>
<p>Register String: <strong>USERNAME</strong>:<strong>PASSWORD</strong>@sip.voipcheap.com/<strong>USERNAME</strong></p>
<p>So long as you have replaced all of the USERNAME&#8217;s and PASSWORDS with your VoipCheap ones, you should be laughing. Remember that to dial out, you will need to setup and outbound route!</p>
<img src="http://feeds.feedburner.com/~r/BenHarris90/~4/wzYK-F7h20o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ben90.com/2012/01/configuring-voipcheap-co-uk-account-on-elastix/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.ben90.com/2012/01/configuring-voipcheap-co-uk-account-on-elastix/</feedburner:origLink></item>
		<item>
		<title>Change Domain within WordPress Posts</title>
		<link>http://feedproxy.google.com/~r/BenHarris90/~3/sWX6G6qvSeg/</link>
		<comments>http://www.ben90.com/2011/12/change-domain-within-wordpress-posts/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 01:30:36 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://ben90.com/?p=413</guid>
		<description><![CDATA[I find myself using WordPress more and more for client websites. Since 90% of the time, I develop on a dev domain, it means that the links inserted by WordPress point to the dev domain which presents an issue when it&#8217;s time to hold your breath and take the new site live on the clients [...]]]></description>
				<content:encoded><![CDATA[<p>I find myself using WordPress more and more for client websites. Since 90% of the time, I develop on a dev domain, it means that the links inserted by WordPress point to the dev domain which presents an issue when it&#8217;s time to hold your breath and take the new site live on the clients domain. So anyway, a useful query to update the old domain to the new domain in all of the sites&#8217;s posts is as follows:</p>
<p>&nbsp;</p>
<p><code>UPDATE wp_posts SET post_content = REPLACE (post_content, 'OLD_DOMAIN', 'NEW_DOMAIN');</code></p>
<p>&nbsp;</p>
<p>If you are running on a WP Multi-site installation, you&#8217;ll need to replace &#8220;wp_posts&#8221; with something like &#8220;wp_SITEID_posts&#8221; (e.g. wp_19_posts).</p>
<p>I hope someone will find this useful. Remember to always backup your database before you run any updates or changes just in case it goes wrong <img src='http://www.ben90.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/BenHarris90/~4/sWX6G6qvSeg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ben90.com/2011/12/change-domain-within-wordpress-posts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.ben90.com/2011/12/change-domain-within-wordpress-posts/</feedburner:origLink></item>
		<item>
		<title>SSHD Failed to start on fresh VPS</title>
		<link>http://feedproxy.google.com/~r/BenHarris90/~3/UvZMUBRnl2c/</link>
		<comments>http://www.ben90.com/2011/06/sshd-failed-to-start-on-fresh-vps/#comments</comments>
		<pubDate>Mon, 27 Jun 2011 22:42:05 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://ben90.com/?p=389</guid>
		<description><![CDATA[After trying to start ssh on a fresh VPS, I got the following error message: sh-3.2# service sshd start Starting sshd: Could not load host key: /etc/ssh/ssh_host_rsa_key Could not load host key: /etc/ssh/ssh_host_dsa_key Disabling protocol version 2. Could not load host key sshd: no hostkeys available &#8212; exiting. [FAILED] The fix is simple, just run [...]]]></description>
				<content:encoded><![CDATA[<p>After trying to start ssh on a fresh VPS, I got the following error message:</p>
<p>sh-3.2# service sshd start<br />
Starting sshd: Could not load host key: /etc/ssh/ssh_host_rsa_key<br />
Could not load host key: /etc/ssh/ssh_host_dsa_key<br />
Disabling protocol version 2. Could not load host key<br />
sshd: no hostkeys available &#8212; exiting.<br />
[FAILED]</p>
<p>The fix is simple, just run the following commands, then try and start it again and it should work</p>
<p>ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N &#8220;&#8221;<br />
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N &#8220;&#8221;<br />
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N &#8220;&#8221;</p>
<img src="http://feeds.feedburner.com/~r/BenHarris90/~4/UvZMUBRnl2c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ben90.com/2011/06/sshd-failed-to-start-on-fresh-vps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.ben90.com/2011/06/sshd-failed-to-start-on-fresh-vps/</feedburner:origLink></item>
		<item>
		<title>Import BCP output file into MySQL database</title>
		<link>http://feedproxy.google.com/~r/BenHarris90/~3/eYVnBW0GfLg/</link>
		<comments>http://www.ben90.com/2011/06/import-bcp-output-file-into-mysql-database/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 14:34:31 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[BCP]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://ben90.com/?p=379</guid>
		<description><![CDATA[Recently, A project that I was working on required that I import a fairly large BCP file containing around 260k entries. I spent quite a while trying to work out the best way to import it directly into my MySQL database with little or no pre-processing required. The answer turned out to be quite simple, [...]]]></description>
				<content:encoded><![CDATA[<div id="attachment_212" class="wp-caption alignright" style="width: 310px"><a href="http://ben90.com/wp-content/uploads/2010/01/mysql_logo1.png" rel="fancybox-379"><img class="size-medium wp-image-212" title="MySQL" src="http://ben90.com/wp-content/uploads/2010/01/mysql_logo1-300x155.png" alt="MySQL" width="300" height="155" /></a><p class="wp-caption-text">MySQL</p></div>
<p>Recently, A project that I was working on required that I import a fairly large BCP file containing around 260k entries. I spent quite a while trying to work out the best way to import it directly into my MySQL database with little or no pre-processing required. The answer turned out to be quite simple, I created a private directory (as the file contained some confidential data) on the server that was hosting MySQL, I then uploaded the 100mb bcp file to it and also created an SQL file with the following content:</p>

<div class="wp_codebox"><table><tr id="p3795"><td class="code" id="p379code5"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">LOAD</span> <span style="color: #993333; font-weight: bold;">DATA</span> <span style="color: #993333; font-weight: bold;">LOCAL</span> <span style="color: #993333; font-weight: bold;">INFILE</span> <span style="color: #ff0000;">'BCP_FILE'</span> <span style="color: #993333; font-weight: bold;">INTO</span> <span style="color: #993333; font-weight: bold;">TABLE</span> TABLE_NAME
<span style="color: #993333; font-weight: bold;">FIELDS</span> TERMINATED <span style="color: #993333; font-weight: bold;">BY</span> <span style="color: #ff0000;">'@**@'</span>
<span style="color: #993333; font-weight: bold;">LINES</span> TERMINATED <span style="color: #993333; font-weight: bold;">BY</span> <span style="color: #ff0000;">'*@@*'</span>
<span style="color: #66cc66;">&#40;</span>TABLE_FIELD_1<span style="color: #66cc66;">,</span> TABLE_FIELD_2<span style="color: #66cc66;">,</span> TABLE_FIELD_N<span style="color: #66cc66;">&#41;</span></pre></td></tr></table></div>

<p>You then replace BCP_FILE, TABLE_Name and TABLE_FIELD_* with your details (BCP_FILE with the BCP file&#8217;s name, TABLE_NAME with the name of the table you want to import the data into and finally replace TABLE_FIELD_* with the fields in your table which match those in your BCP file). Once you have done this, save the file as something like bcp_import.sql. Just as a quick sanity check, you should now have a directory with two files in it, one bcp file and one sql file. Now for the fun part <img src='http://www.ben90.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> . Login to the server via SSH (or terminal if you are local), then login to mysql with:</p>

<div class="wp_codebox"><table><tr id="p3796"><td class="code" id="p379code6"><pre class="shell" style="font-family:monospace;">mysql -u YOUR_USERNAME -p</pre></td></tr></table></div>

<p>You will then be prompted to enter your password. Next, select the database with the table that you want to import into:</p>

<div class="wp_codebox"><table><tr id="p3797"><td class="code" id="p379code7"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">use</span> DATABASE_NAME;</pre></td></tr></table></div>

<p>Finally, run your import file with:</p>

<div class="wp_codebox"><table><tr id="p3798"><td class="code" id="p379code8"><pre class="sql" style="font-family:monospace;">\<span style="color: #66cc66;">.</span>bcp_import<span style="color: #66cc66;">.</span>sql</pre></td></tr></table></div>

<p>That&#8217;s it, with a bit of luck, the data should now be in your database table. Be patient with it though if you are importing a large BCP (or have a very slow machine).</p>
<p>As usual, comments, suggestions, problems, thanks below <img src='http://www.ben90.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  <!-- http://www.tech-recipes.com/rx/2345/import_csv_file_directly_into_mysql/ --></p>
<img src="http://feeds.feedburner.com/~r/BenHarris90/~4/eYVnBW0GfLg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ben90.com/2011/06/import-bcp-output-file-into-mysql-database/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.ben90.com/2011/06/import-bcp-output-file-into-mysql-database/</feedburner:origLink></item>
		<item>
		<title>Re-create corrupt /tmp directory on cPanel server</title>
		<link>http://feedproxy.google.com/~r/BenHarris90/~3/k-91e-duDfc/</link>
		<comments>http://www.ben90.com/2011/06/re-create-corrupt-tmp-directory-on-cpanel-server/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 00:22:05 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://ben90.com/?p=373</guid>
		<description><![CDATA[This is another one of those things that I can never remember off the top of my head, so I&#8217;m sticking it here for reference. I believe it was originally posted somewhere on the cPanel forums by the almighty chirpy. lsof /tmp &#160; # Umount /tmp and /var/tmp: umount -l /tmp umount -l /var/tmp &#160; # Remove [...]]]></description>
				<content:encoded><![CDATA[<p>This is another one of those things that I can never remember off the top of my head, so I&#8217;m sticking it here for reference. I believe it was originally posted somewhere on the cPanel forums by the almighty <a href="http://forums.cpanel.net/members/chirpy/">chirpy</a>.</p>

<div class="wp_codebox"><table><tr id="p37310"><td class="code" id="p373code10"><pre class="shell" style="font-family:monospace;">lsof /tmp
&nbsp;
# Umount /tmp and /var/tmp:
umount -l /tmp
umount -l /var/tmp
&nbsp;
# Remove the corrupt partition file
rm -fv /usr/tmpDSK
&nbsp;
# Create a nice new one
/scripts/securetmp</pre></td></tr></table></div>

<img src="http://feeds.feedburner.com/~r/BenHarris90/~4/k-91e-duDfc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ben90.com/2011/06/re-create-corrupt-tmp-directory-on-cpanel-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.ben90.com/2011/06/re-create-corrupt-tmp-directory-on-cpanel-server/</feedburner:origLink></item>
		<item>
		<title>Google Chrome Performance Issues</title>
		<link>http://feedproxy.google.com/~r/BenHarris90/~3/YfA4IQBXkhE/</link>
		<comments>http://www.ben90.com/2011/03/google-chrome-performance-issues/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 19:20:57 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[AppData]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[google chrome]]></category>
		<category><![CDATA[JumpListIcons]]></category>
		<category><![CDATA[JumpListIconsOld]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[User Data]]></category>

		<guid isPermaLink="false">http://ben90.com/?p=342</guid>
		<description><![CDATA[Over the past few months, I&#8217;ve noticed that Google Chrome&#8217;s performance has been rapidly going down hill with crashes, freezing and generally being slow. It&#8217;s also been failing to update itself completely properly. Today I decided to just uninstall it then re-install it. After uninstalling it, I went to go and delete all of the [...]]]></description>
				<content:encoded><![CDATA[<p style="text-align: left;">
<div id="attachment_352" class="wp-caption alignright" style="width: 208px"><a href="http://ben90.com/wp-content/uploads/2011/03/Google-Chrome-Logo-Wallpaper-300x300.jpg" rel="fancybox-342"><img class="size-full wp-image-352  " title="Google Chrome" src="http://ben90.com/wp-content/uploads/2011/03/Google-Chrome-Logo-Wallpaper-300x300.jpg" alt="Google Chrome" width="198" height="198" /></a><p class="wp-caption-text">Google Chrome</p></div>
<p>Over the past few months, I&#8217;ve noticed that Google Chrome&#8217;s performance has been rapidly going down hill with crashes, freezing and generally being slow. It&#8217;s also been failing to update itself completely properly. Today I decided to just uninstall it then re-install it. After uninstalling it, I went to go and delete all of the old Application Data, where, much to my suprise, the Chrome directory was 17.8GB with 126k files. Digging a little deeper, the vast majority of this data was in the &#8220;JumpListIcons&#8221; and &#8220;JumpListIconsOld&#8221; directories which are found in C:\Users\&lt;username&gt;\AppData\Local\Google\Chrome\User Data\Default. Screenshot below of the 17.8GB folder, I have to say it&#8217;s pretty impressive! You can click on it to see it full size <img src='http://www.ben90.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<div id="attachment_343" class="wp-caption aligncenter" style="width: 473px"><a href="http://ben90.com/wp-content/uploads/2011/03/chrome17gb.JPG" rel="fancybox-342"><img class="size-full wp-image-343    " title="Large Chrome Application Data Directory" src="http://ben90.com/wp-content/uploads/2011/03/chrome17gb.JPG" alt="Large Chrome Application Data Directory" width="463" height="338" /></a><p class="wp-caption-text">Large Chrome Application Data Directory</p></div>
<p>I have now run with my newly installed Chrome for about 5 hours, and it looks like the JumpListIcons directory is under control. Fingers crossed that is problem solved!</p>
<p>As usual, if you have any questions, comments or anything else, the commnets box is below <img src='http://www.ben90.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/BenHarris90/~4/YfA4IQBXkhE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ben90.com/2011/03/google-chrome-performance-issues/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.ben90.com/2011/03/google-chrome-performance-issues/</feedburner:origLink></item>
		<item>
		<title>[Exploit] /tmp/minisuhosin</title>
		<link>http://feedproxy.google.com/~r/BenHarris90/~3/4ejuYaakuW8/</link>
		<comments>http://www.ben90.com/2011/01/exploit-tmp-minisuhosin-oscommerc/#comments</comments>
		<pubDate>Thu, 27 Jan 2011 20:56:37 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[minisuhosin]]></category>
		<category><![CDATA[osc]]></category>
		<category><![CDATA[oscommerce]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://ben90.com/?p=319</guid>
		<description><![CDATA[Today I discovered a random process running on one of my servers with the process name minisuhosin (/bin/sh minisuhosin). I believe this to be a new (past few days) edge exploit as there is very little information on this on google. Infact, the only other info I could find on it was this post here. [...]]]></description>
				<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 255px"><img class=" " title="/tmp/minisuhosin exploit" src="http://ben90.com/share/Misc/code/security/minisuhosin/skull.jpeg" alt="/tmp/minisuhosin exploit" width="245" height="175" /><p class="wp-caption-text">/tmp/minisuhosin exploit</p></div>
<p>Today I discovered a random process running on one of my servers with the process name minisuhosin (/bin/sh minisuhosin). I believe this to be a new (past few days) edge exploit as there is very little information on this on google. Infact, the only other info I could find on it was this post <a href="http://www.kdawebservices.com/blog/2011/01/oscommerce-wordpress-exploit/">here</a>.</p>
<p>The first thing that I would like to state is that in the case that I dealt with, the account had both osCommerce and WordPress installed, although the exploit only seemed to be present in the WordPress directory. The contents of the .htaccess file was as follows</p>
<p><code>AddType application/x-httpd-php .php .phtml .php3 .php4 .php5 .htm .html<br />
php_value auto_prepend_file /tmp/25454b22bf39c75795851f39d5e347c4</code></p>
<p>As the above mentioned blog post confirms, the file claims to be mini suhosin, and indeed this is not the case. From what I could tell, there was a single parent process which was constantly spawning child processes of the same name and then killing them. Whilst I am not aware of the full extent of the exploit (I will need some more time), the intent of the script only seems to target the website which was exploited.</p>
<p>It appears to try and load some javascript which returns some webpage containing some junk, most of which my firewall blocked (a java applet and a pdf). For reference, I have put this script <a href="http://ben90.com/share/Misc/code/security/minisuhosin/25454b22bf39c75795851f39d5e347c4.phps" target="_blank">here</a>. It should allow you to tell if you have been subjected to the same exploit. On the basis that both myself and the site linked above, the filename was the same, I would look out for the &#8220;/tmp/25454b22bf39c75795851f39d5e347c4&#8243; file.</p>
<p>In terms of prevention. Make sure that all of your scripts are up-to-date and that your /tmp directory is mounted with noexec.</p>
<p>If you have any insight into this exploit, please share your knowledge in the comments box below.</p>
<img src="http://feeds.feedburner.com/~r/BenHarris90/~4/4ejuYaakuW8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ben90.com/2011/01/exploit-tmp-minisuhosin-oscommerc/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		<feedburner:origLink>http://www.ben90.com/2011/01/exploit-tmp-minisuhosin-oscommerc/</feedburner:origLink></item>
		<item>
		<title>SBSetting not working on iOS4.x [Solved]</title>
		<link>http://feedproxy.google.com/~r/BenHarris90/~3/rlR8SjkCzs8/</link>
		<comments>http://www.ben90.com/2010/08/sbsetting-not-working-on-ios4-x-solved/#comments</comments>
		<pubDate>Sat, 21 Aug 2010 00:56:56 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://ben90.com/?p=305</guid>
		<description><![CDATA[I&#8217;m a big fan of the SBSettings application for jailbroken iDevices (Available via the BigBoss repo on Cydia). After upgrading to firmware version 4.0.1 (using jailbreakme.com) and installing SBSettings via cydia, each time the installation completed and I clicked the respring button, the springboard would just crash and I would end up in safe mode. [...]]]></description>
				<content:encoded><![CDATA[<div id="attachment_306" class="wp-caption alignright" style="width: 266px"><a href="http://ben90.com/wp-content/uploads/2010/08/IMG_0724.PNG" rel="fancybox-305"><img class="size-full wp-image-306 " title="SBSettings iOS4" src="http://ben90.com/wp-content/uploads/2010/08/IMG_0724.PNG" alt="SBSettings iOS4" width="256" height="384" /></a><p class="wp-caption-text">SBSettings iOS4</p></div>
<p>I&#8217;m a big fan of the SBSettings application for jailbroken iDevices (Available via the BigBoss repo on Cydia). After upgrading to firmware version 4.0.1 (using jailbreakme.com) and installing SBSettings via cydia, each time the installation completed and I clicked the respring button, the springboard would just crash and I would end up in safe mode. In my case, the problem was that some of the old toggles for SBSettings had been brought over in my iPhone backup. The solution was to SSH into my iPhone 3Gs, navigate to <strong>/var/mobile/Library/SBSettings/Toggles</strong>, then type <strong>ls -l</strong> to list all of the available toggles (with the dates they were added). The majority of them will be listed as a single date (the date which you installed SBSettings last), in my case it was &#8220;Aug 21&#8243;. Remove all folders which do <strong>not </strong>have this date (they were Toggles which were probably only designed for firmware 3.x, so were crashing 4.x in my case). I removed UAFaker, Rotation, EDGE, Push and Tether; I never used the EDGE, Push or Tether toggles anyway, so it was no big deal for me.</p>
<p>I hope that this helps someone. If you have any comments, suggestions or just want to say thanks (:-)), please leave a message below <img src='http://www.ben90.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>As usual, I accept no responsibility for any damages caused, do it at your own risk. I&#8217;ve performed this on my own iPhone 3Gs on iOS4.0.1 and it worked, this is no guarantee for any other hardware/firmware combination (although it should work)!</p>
<img src="http://feeds.feedburner.com/~r/BenHarris90/~4/rlR8SjkCzs8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ben90.com/2010/08/sbsetting-not-working-on-ios4-x-solved/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://www.ben90.com/2010/08/sbsetting-not-working-on-ios4-x-solved/</feedburner:origLink></item>
	</channel>
</rss>
