<?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"
	>

<channel>
	<title>Daviey &#187; ubuntu-uk</title>
	<atom:link href="http://blog.daviey.com/ubuntu-uk/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.daviey.com</link>
	<description>TODO:  Add Tag Line Here</description>
	<pubDate>Sun, 17 May 2009 20:30:25 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
	<language>en</language>
			<item>
		<title>Cloud Expo Europe - 20th-21st May - London</title>
		<link>http://blog.daviey.com/blogroll/cloud-expo-europe-20th-21st-may-london.html</link>
		<comments>http://blog.daviey.com/blogroll/cloud-expo-europe-20th-21st-may-london.html#comments</comments>
		<pubDate>Sun, 17 May 2009 20:30:20 +0000</pubDate>
		<dc:creator>Daviey</dc:creator>
		
		<category><![CDATA[All]]></category>

		<category><![CDATA[Blogroll]]></category>

		<category><![CDATA[hantslug]]></category>

		<category><![CDATA[lugradio]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[ubuntu-uk]]></category>

		<guid isPermaLink="false">http://blog.daviey.com/?p=183</guid>
		<description><![CDATA[
There is an exciting expo happening next week.  It&#8217;s the Cloud Expo Europe 2009, in London and it&#8217;s FREE if you pre-register.
Now we&#8217;ve all heard of the term cloud (in the computing sense), but I suspect many don&#8217;t really know what it involves.  So this is your chance to find out.
As with many [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.daviey.com/wp-content/uploads/2009/05/cloudexpo.gif"><img src="http://blog.daviey.com/wp-content/uploads/2009/05/cloudexpo.gif" alt="Cloud Expo" title="Cloud Expo" width="488" height="200" class="aligncenter size-full wp-image-184" /></a></p>
<p><strong>There is an exciting expo happening next week.  It&#8217;s the <a href="http://www.cloudexpoeurope.com/">Cloud Expo Europe </a>2009, in London and it&#8217;s <a href="http://www.cloudexpoeurope.com/Registration"><em>FREE</em> if you pre-register</a>.</strong></p>
<p>Now we&#8217;ve all heard of the term cloud (<em>in the computing sense</em>), but I suspect many don&#8217;t really know what it involves.  So this is your chance to find out.</p>
<p>As with many conferences there will be stands for companies and projects related to the event.  There will also be talks from <a href="http://www.cloudexpoeurope.com/Conference-Sessions/Speaker-profiles/">field pioneers and other contributors</a>- in both business tracks and a technical track.</p>
<p><a href="http://www.cloudexpoeurope.com/Conference-Sessions/Speaker-profiles/Dave-Walker-Ubuntu-Project">I&#8217;ve been invited to talk about Cloud offerings regarding Ubuntu</a>, and will be talking about <a href="http://www.eucalyptus.com/">Eucalyptus</a> (<em>no, not the plant</em>), the Cloud suite that is the next big thing.  This replicates the <a href="http://aws.amazon.com/ec2/">Amazon EC2</a> and other offerings in a free and open source software.</p>
<p>Also, the Ubuntu community have been offered a stand.  If you want to help man this, it would be appreciated!  Let me know if you are available.</p>
<p><strong>Looking forward to seeing <em>you</em> there.</strong><br />
<em><br />
For more information:<br />
<a href="http://www.cloudexpoeurope.com/"> http://www.cloudexpoeurope.com/ </a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.daviey.com/blogroll/cloud-expo-europe-20th-21st-may-london.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Unlikely long distance [push bike] rider.</title>
		<link>http://blog.daviey.com/blogroll/unlikely-long-distance-push-bike-rider.html</link>
		<comments>http://blog.daviey.com/blogroll/unlikely-long-distance-push-bike-rider.html#comments</comments>
		<pubDate>Wed, 13 May 2009 00:06:15 +0000</pubDate>
		<dc:creator>Daviey</dc:creator>
		
		<category><![CDATA[All]]></category>

		<category><![CDATA[Blogroll]]></category>

		<category><![CDATA[hantslug]]></category>

		<category><![CDATA[ubuntu-uk]]></category>

		<guid isPermaLink="false">http://blog.daviey.com/?p=163</guid>
		<description><![CDATA[Chris Dakin is possibly one of the more unlikely candidates i&#8217;d imagine to be doing a mammoth push bike ride from London to Paris.
This chap isn&#8217;t someone i&#8217;ve seen to be especially athletic nor a &#8217;spring chicken&#8217; (i&#8217;m sure he&#8217;ll love me for saying that) - which makes him quite unlikely to choose to ride [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.daviey.com/wp-content/uploads/2009/05/chrisriding.jpg"><img src="http://blog.daviey.com/wp-content/uploads/2009/05/chrisriding.jpg" alt="Chris Training Image" title="Chris Training" width="250" height="156" class="size-full wp-image-164" /></a>Chris Dakin is possibly one of the more unlikely candidates i&#8217;d imagine to be doing a mammoth push bike ride from <strong>London to Paris.</strong></p>
<p>This chap isn&#8217;t someone i&#8217;ve seen to be especially athletic nor a <em>&#8217;spring chicken&#8217;</em> (i&#8217;m sure he&#8217;ll love me for saying that) - which makes him quite unlikely to <em>choose to ride 234 miles in 3 days</em>.  Even if someone is a keen rider, this is still quite a distance to cover in such a short time.</p>
<p><strong>So why would he choose to do this?</strong><br />
We&#8217;ll he&#8217;s doing it to <em>raise money for a rather special charity called &#8220;Big Issue&#8221;</em>.  Now this charity is a little bit different to some of the &#8216;traditional&#8217; charities.  They help people who are less fortunate, often <em>homeless</em> people by allowing them to sell, what many consider, to be a quality magazine, and these people earn from the proceeds.</p>
<p>He made a video which shows him training (hopefully you can see it below):<br />
httpv://www.youtube.com/watch?v=ZMO6Iyno3BU</p>
<p>As I said, he&#8217;s rather unlikely to elect to do this, but he has been training hard.  He&#8217;s done somewhere in the region of 700 miles since Christmas, around 90 miles per week.  This training is gradually rising to <em>200 miles per week</em>, as he gets nearer the event.</p>
<p><em>The worrying thing is</em>, unless he can raise £1300 by May 23rd <em>(10 days away!)</em> - he can&#8217;t take part.  This would be such a shame, as he&#8217;s put in so much effort to date and it would be an awful for the charity to miss out.</p>
<p>So, I wouldn&#8217;t normally ask - but <em>please</em> consider donating - even if it&#8217;s just a small amount, to help him take part, and complete his personal challenge!</p>
<p><strong>Find out more, and sponsor online (paypal supported) via:<br />
<a href="http://www.justgiving.com/chrisdakin">http://www.justgiving.com/chrisdakin</a></strong></p>
<p>I&#8217;m sure a &#8220;during&#8221; video would make your donation worthwhile! <img src='http://blog.daviey.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.daviey.com/blogroll/unlikely-long-distance-push-bike-rider.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Ubuntu-UK community Bug Jam &#8216;09</title>
		<link>http://blog.daviey.com/blogroll/ubuntu-uk-community-bug-jam-09.html</link>
		<comments>http://blog.daviey.com/blogroll/ubuntu-uk-community-bug-jam-09.html#comments</comments>
		<pubDate>Sun, 22 Feb 2009 22:41:25 +0000</pubDate>
		<dc:creator>Daviey</dc:creator>
		
		<category><![CDATA[All]]></category>

		<category><![CDATA[Blogroll]]></category>

		<category><![CDATA[hantslug]]></category>

		<category><![CDATA[lugradio]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[ubuntu-uk]]></category>

		<guid isPermaLink="false">http://blog.daviey.com/?p=144</guid>
		<description><![CDATA[
The Ubuntu-UK community took part in the Ubuntu Projects global effort of having a combined effort of working on bugs, and showing others how to work on Ubuntu to make it better, done in tandem with many countries around the world concurrently.
This was our first effort of having an event like this, and it was [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.daviey.com/wp-content/uploads/2009/02/2550528941_5677fdf41e_o.png"><img src="http://blog.daviey.com/wp-content/uploads/2009/02/2550528941_5677fdf41e_o.png" alt="Ubuntu Global Bug Jam" title="Ubuntu Global Bug Jam" width="392" height="66" class="aligncenter size-full wp-image-154" /></a><br />
The Ubuntu-UK community took part in the Ubuntu Projects global effort of having a combined effort of working on bugs, and showing others how to work on Ubuntu to make it better, done in tandem with many countries around the world concurrently.</p>
<p>This was our first effort of having an event like this, and it was a huge success.  As the UK is larger than people think, we actually held two venues, one was held in Birmingham and the other in our countries capital - London.</p>
<p>I traveled to Birmingham Thursday night, in preparation as it was a number of hours away.  Luckily i did, as it mean&#8217;t I was able to attend the Birmingham Linux Users Group, who had the guest speaker of <a href="http://www.netsplit.com/">Scott James Remnant</a> speaking about one of his pet projects, <a href="http://upstart.ubuntu.com/">Upstart</a>.  This was really worth attending!</p>
<p>The Jamming started on Friday in the Birmingham venue, and in many ways I was kind of worried about having one during a working day - as not everyone can get away from employment commitments during the week.  However, I was proved wrong - and was actually rather pleased with the turn out!  It never ceases to amaze me how so many great people are willing to give up their free time to *want* to help make Ubuntu better.</p>
<p>As we had two venues, we eventually got a working video and sound link between the sites - things like this are really useful for a couple of reasons, primarily it was great to see the &#8216;other&#8217; site at work on the large LCD television on the wall - but also it made it possible to share talks across sites.  As we didn&#8217;t enable this until quite late on in the event, it wasn&#8217;t used as much as it could have been - however, it&#8217;s really something we can get working for the next one!  I would also encourage other countries to consider this also, even if it&#8217;s perhaps snapshot pictures beaming across on the internet - just for others to see.  It&#8217;s great watching others at work, surprisingly encouraging!</p>
<p>Both events were kicked off with me giving an Introduction to Launchpad, some people at both events hadn&#8217;t really used Launchpad (or in some cases heard of it), others believed that as they weren&#8217;t experienced developers (just users), that they were not entitled to have an account on Launchpad.  This is a shame, and I hope the feeling isn&#8217;t widespread.  The introduction talk I gave, covered the basics of launchpad including bug reporting, triaging, advanced triaging and then went onto fixing the bug by using the supplied information on the report to create a &#8216;debdiff&#8217; and upload to the site pending review.  I made it clear that someone didn&#8217;t have to work to the end, and each part of the process was really useful in itself.  I&#8217;m pretty sure that to some people there, it wasn&#8217;t that useful, but I think it was generally useful to &#8216;get the day started&#8217;, and allow less experienced users to know where to get started.  Following this the rockin&#8217; Martin Meredith (Mez), showed how to locate bugs to continue work on, with the intention of getting them fixed, packaged and uploaded.</p>
<p>The London Jam started on Saturday, this mean&#8217;t I had to get a train from Birmimgham to London Saturday morning which shouldn&#8217;t be too bad.  However, London Transport decided it would be a good weekend to have major maintenance work making delays and rerouting quite a problem.  However, i got there eventually.</p>
<p>Following my second introduction to Launchpad, the ever awesome <a href="http://hall-of-fame.ubuntu.com/?feature=james-westby">James Westby</a> gave a presentation on fixing a package based on a patch and uploading it.  This was great on many levels, as for me, I found it useful to see someone elses work flow and other ways of using tools I wasn&#8217;t previously aware of.</p>
<p>We were also quite lucky to get a GNOME developer turn up - <a href="http://simos.info/blog/">Simos Xenitellis</a>, which was mutually useful as we were able to show him some of the more advanced features of Launchpad, and he was able to show us around the GNOME Bugzilla and between us we explored advanced triaging methods and linking to upstream bug reports, he was really keen - which was great to see.</p>
<p>For me, the aim of both events was to meet as many people as possible, and pass on knowledge to as many as I could, as well as learn a thing or five for myself.  It wasn&#8217;t necessarily to just churn out touching of as many bugs as possible, it was to equip others with the knowledge and skill to be able to go home, and continue working on them throughout the year.  Otherwise, we would all probably have sat in silence trawling launchpad and working as if we were on our own anyway, saying that I did get the odd message on IRC from across the table! <img src='http://blog.daviey.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>At the end of both events, i asked for feedback and it was really encouraging.  Will we hold another Jam in around 6 months?  <em>Hell yeah!</em>  I have some ideas for some things we could improve on, but as this was our first effort I think we did really well!</p>
<p>So a big thank you (and hugs), to everyone that turned up, even if you chaps feel you didn&#8217;t achieve much on the day(s), you really did!  Every little counts.  Infact, the success of this reasonably technical event has given me the confidence to explore organising more events, including more social aspects.  Especially as we did pretty well in the <a href="http://daniel.holba.ch/five-a-day-stats/">Bug Jam Stats</a>.</p>
<p>A special thanks to Linux Emporium for providing us a venue for the Birmingham Jam, Martin Meredith (Mez) for allowing me to stay at his digs - as I was a guest in Birmingham.  Also James Thomas (selinuxium), for getting his employer to allow us to use their lovely offices in the centre of London.</p>
<p><a href="http://blog.daviey.com/wp-content/uploads/2009/02/gbj-09-london.jpg"><img src="http://blog.daviey.com/wp-content/uploads/2009/02/gbj-09-london-150x150.jpg" alt="Ubuntu Global Bug Jam 2009 - London" title="gbj-09-london" width="150" height="150" class="size-thumbnail wp-image-148" /></a><a href="http://blog.daviey.com/wp-content/uploads/2009/02/gbj-08-birmingham.jpg"><img src="http://blog.daviey.com/wp-content/uploads/2009/02/gbj-08-birmingham-150x150.jpg" alt="Ubuntu Global Bug Jam 2009 - Birmingham" title="gbj-08-birmingham" width="150" height="150" class="size-thumbnail wp-image-147" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.daviey.com/blogroll/ubuntu-uk-community-bug-jam-09.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>[Warning] Don&#8217;t eat yellow snow.</title>
		<link>http://blog.daviey.com/blogroll/warning-dont-eat-yellow-snow.html</link>
		<comments>http://blog.daviey.com/blogroll/warning-dont-eat-yellow-snow.html#comments</comments>
		<pubDate>Tue, 03 Feb 2009 17:00:29 +0000</pubDate>
		<dc:creator>Daviey</dc:creator>
		
		<category><![CDATA[All]]></category>

		<category><![CDATA[Blogroll]]></category>

		<category><![CDATA[hantslug]]></category>

		<category><![CDATA[lugradio]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[ubuntu-uk]]></category>

		<guid isPermaLink="false">http://blog.daviey.com/?p=134</guid>
		<description><![CDATA[
If you see yellow snow, no matter how free or appetising, don&#8217;t eat it.
As you can guess, most of the UK has been getting snow this week.  As ever, we&#8217;ve practically come to a halt - with an estimated 25% of employees staying at home, doodling in the snow.  
]]></description>
			<content:encoded><![CDATA[<img src="http://blog.daviey.com/wp-content/uploads/2009/02/yellowsnow.jpg" alt="Don&#039;t eat yellow snow!" title="Yellow Snow" class="size-full wp-image-135" />
<p>If you see yellow snow, no matter how free or appetising, don&#8217;t eat it.</p>
<p>As you can guess, most of the UK has been getting snow this week.  As ever, we&#8217;ve practically come to a halt - with an estimated 25% of employees staying at home, <em>doodling</em> in the snow.  <img src='http://blog.daviey.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.daviey.com/blogroll/warning-dont-eat-yellow-snow.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>The Great Twitter Challenge - twitchhiker</title>
		<link>http://blog.daviey.com/ubuntu/the-great-twitter-challenge-twitchhiker.html</link>
		<comments>http://blog.daviey.com/ubuntu/the-great-twitter-challenge-twitchhiker.html#comments</comments>
		<pubDate>Mon, 02 Feb 2009 19:08:56 +0000</pubDate>
		<dc:creator>Daviey</dc:creator>
		
		<category><![CDATA[All]]></category>

		<category><![CDATA[hantslug]]></category>

		<category><![CDATA[lugradio]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[ubuntu-uk]]></category>

		<guid isPermaLink="false">http://blog.daviey.com/?p=126</guid>
		<description><![CDATA[For those that know me, they&#8217;ll know I was once pretty anti-twitter and their variants.  However, i&#8217;ve been using them for a couple of months now, and i really feel I&#8217;ve been embracing them as much as possible.
For those that don&#8217;t know what Twitter is, I define it an &#8220;open chat&#8221; method, where you [...]]]></description>
			<content:encoded><![CDATA[<p>For those that know me, they&#8217;ll know I was once pretty anti-<a href="http://twitter.com/Daviey">twitter</a> and their <a href="http://identi.ca/daviey">variants</a>.  However, i&#8217;ve been using them for a couple of months now, and i really feel I&#8217;ve been embracing them as much as possible.</p>
<p>For those that don&#8217;t know what Twitter is, I define it an &#8220;open chat&#8221; method, where you can &#8216;<a href="http://en.wikipedia.org/wiki/Micro-blogging">microblog</a>&#8216;, and really just let the world know when you scratch your bottom.</p>
<p>Now to the point of this post; Some <a href="http://www.twitchhiker.com/">crazy British chap</a>, whom i suspect has drunk too much <a href="http://en.wikipedia.org/wiki/Newcastle_Brown_Ale">Newkie Brown</a>, has decided to try and travel as far around the world as he can can in 30 days, surviving on hand outs from the twittering masses.  He&#8217;s doing this with the hope of raising money for a good cause/charity.  I won&#8217;t try and explain the whole shebang, as he describes it pretty well on his website <a href="http://www.twitchhiker.com/">http://www.twitchhiker.com</a>.</p>
<p>However the <em>real challenge</em>, and what prompted this posting is the sub-challenge he&#8217;s set.  If he can get 2000 followers by the end of today (02/14/09), he &#8220;<a href="http://twitter.com/twitchhiker/status/1169823899">will walk out in the snow, in my pants, and dance</a>&#8220;.  Well as we all know kids, without a photo or video - &#8220;It didn&#8217;t happen&#8221; - .  So help some crazy Brit&#8217; make a fool of himself, <a href="http://twitter.com/twitchhiker/">follow him</a> now <img src='http://blog.daviey.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  (Oh and consider helping him on his little challenge thingy)</p>
<p><img src="http://upload.wikimedia.org/wikipedia/en/thumb/d/da/NewkieBrownAleUSImport.JPG/175px-NewkieBrownAleUSImport.JPG" alt="Newcastle Brown Ale" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.daviey.com/ubuntu/the-great-twitter-challenge-twitchhiker.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Cracking Kirkland&#8217;s Challenge</title>
		<link>http://blog.daviey.com/blogroll/cracking-kirklands-challenge.html</link>
		<comments>http://blog.daviey.com/blogroll/cracking-kirklands-challenge.html#comments</comments>
		<pubDate>Fri, 23 Jan 2009 17:06:40 +0000</pubDate>
		<dc:creator>Daviey</dc:creator>
		
		<category><![CDATA[All]]></category>

		<category><![CDATA[Blogroll]]></category>

		<category><![CDATA[hantslug]]></category>

		<category><![CDATA[lugradio]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[ubuntu-uk]]></category>

		<guid isPermaLink="false">http://blog.daviey.com/?p=68</guid>
		<description><![CDATA[Dustin set the third challenge Tuesday just gone.  This was the last in the series, which i can honestly say, i&#8217;ve really enjoyed working on.
I was asked how I solved Challenge 2, i did it largely the same way as the example given when the winner was announced, with some variation of the script. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://edge.launchpad.net/~kirkland">Dustin</a> set the <a href="http://blog.dustinkirkland.com/2009/01/daemon-challenge-3-how-efficient-are.html">third challenge Tuesday just gone</a>.  This was the last in the series, which i can honestly say, i&#8217;ve really enjoyed working on.</p>
<p>I was asked how I solved Challenge 2, i did it largely the same way as the example given when the winner was announced, with some variation of the script.  So there didn&#8217;t seem much point.</p>
<p>This challenge I decided i would document how I did it.</p>
<p><strong>Challenge 3:</strong></p>
<p>So what do we know?</p>
<ul>
<li>An encrypted &#8220;<a href="http://manpages.ubuntu.com/manpages/intrepid/en/man1/ecryptfs-unwrap-passphrase.1.html">mount passphrase</a>&#8221; inside 128-bits of random data, symmetrically encrypted using a wrapping passphrase and the standard <a href="https://edge.launchpad.net/ecryptfs">eCryptfs</a> salt</li>
<li>The MD5 hash as a <em><a href="http://challenge3.daviey.com/shadow">shadow</a></em> of the <em>wrapping passphrase</em></li>
<li>The &#8220;<a href="http://challenge3.daviey.com/shadow">challenge_3.txt</a>&#8220;, which is the underlying data ecrypted using eCryptfs - basically the encrypted form of data that would otherwise be in your ~/Private directory.</li>
</ul>
<p>Clearly the mount passphrase is the strongest link, as shown in challenge 2.  As Dustin pointed out cracking 4 digits for the wrapping passphrase will take an estimated 40 days (based on 4.3 attempts a second), using multiple threads, on many servers with lots of cores will significantly decrease this - however, it&#8217;s still a long time for this challenge.</p>
<p>We also know the md5 hash of the wrapping passphrase, there has been recent publicity about md5 being insecure for passwords - however, there are various other aspects.  This will be our vector for attack.</p>
<p>The MD5 Hash is quicker to <a href="http://en.wikipedia.org/wiki/Brute_force_attack">brute force</a> than the unwrapping of the passphrase, as documented in the <a href="http://blog.dustinkirkland.com/2009/01/daemon-challenge-2-we-have-winner.html">solution challenge 2</a>.</p>
<p>So how do we do it?  The initial obvious method is to brute force, every range within the known constraints.  These are, that the passphrase is 4 character alpha numeric string (a-z A-Z 0-9).</p>
<p>So, lets look at this script based on Dustin&#8217;s previous challenge:</p>
<pre lang="bash">#!/bin/bash
# crackmd5.sh

MD5HASH="74b87337454200d4d33f80c4663dc5e5"

CHARS="a b c d e f g h i \
j k l m n o p q r s t u v \
w x y z A B C D E F G H I \
J K L M N O P Q R S T U V \
W X Y Z 0 1 2 3 4 5 6 7 8 9"
for i in $CHARS; do
     for j in $CHARS; do
        for k in $CHARS; do
           for l in $CHARS; do
                  md5=$( echo -n "$i$j$k$l" | md5sum |  awk '{print $1}' )
                   if [ $md5 = $MD5HASH ]; then
                         echo "Cracked: $i$j$k$l"
                          exit 0
                   fi
done  ;    done  ;   done  ;   done</pre>
<p>This will find the result by brute force, it&#8217;s SLOW.  mainly because it&#8217;s a single process on one server, using one core.</p>
<p>The next method to attack this would be using <a href="http://en.wikipedia.org/wiki/Rainbow_table"> MD5 rainbow tables</a>, now not many people have these - but if you do *GREAT*.  They are basically a table, making cracking of MD5&#8217;s really fast and efficient.  To have all combinations &#8220;laying&#8221; around could easily consume a few terrabytes.  So this isn&#8217;t really practical.</p>
<p>The next method is to ask your friend, that knows everything and will know the answer.  For the benefit of this exercise we will call this friend &#8220;Google&#8221;.  So inserting the md5 hash from the shadow file into <a href="http://www.google.com/search?hl=en&amp;q=2561cbb2dd09e82710e7651153fbdca1&amp;btnG">Google, we get the answer.</a> <img src='http://blog.daviey.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Okay, so we have effectively recovered the wrapping passphrase, and so we can now unlock it.  I&#8217;ll miss that step out as Dustin covered that in the solution for Challenge 2.</p>
<p>The plain text challenge_2.txt contained (amongst other things):</p>
<blockquote><p>Start with the sha512sum of the following seed:<br />
$ echo &#8220;Daemon&#8221; | sha512sum<br />
Write the computed sum to the first line of a new file.<br />
sha512sum that new file.<br />
Write the resulting sum to the second line of the new file.<br />
sha512sum that new file.<br />
Write the resulting sum to the third line of the new file.<br />
&#8230;<br />
Continue doing this until you have exactly 1,000,000 lines in the file.</p></blockquote>
<p>Hmm.. this sounds tricky.  Let&#8217;s try doing this as described.. the /logical/ way.  Generate the sha512sum of &#8220;Daemon&#8221; and output that to a file, then append the sha512sum generated of that file to the bottom of the file, repeat until file has 1000000 lines.</p>
<pre lang="bash">#!/bin/bash
# sha512brute.sh
echo "Daemon" | sha512sum |  awk '{print $1}'   > test.log
for ((i=2;i&lt;=1000000;i+=1)); do
sha512sum test.log |  awk '{print $1}' >>  test.log
done</pre>
<p>The above will work, but running on one server could easily take 70 hours - as the whole sha512sum is being calculated from scratch, even though only the last line of the text file is being changed.  If only you could cache the calculation round so far, and append to the end.  <em>Well you can!</em></p>
<p>I hadn&#8217;t used Perl in anger recently, and decided to use it to solve this aspect.  So i knocked up a script to do just this.  Surprisingly,it was pretty trival in perl.  With this new number, find out &#8220;Who own&#8217;s this number?&#8221;.</p>
<pre lang="perl">
#!/usr/bin/perl
# Run as:
# ./genSHA512.pl > sha512sums.txt

use Digest::SHA; # qw( sha512 sha512_hex );

$keyword = "Daemon";
$sha = Digest::SHA->new(512);

$sha->add($keyword,"\n");
$digest = $sha->hexdigest;
print $digest . "\n" ;

for ($i = 2; $count <= 1000000; $i++) {
        $sha->add($digest,"\n");
        $digest = $sha->clone->hexdigest;
        print $digest . "\n" ;
}
</pre>
<p>This will generate the  1000000 line sha512sum file in around 15-20 seconds on an average!</p>
<p>Now lets extract the lines asked in the next phase of the challenge, convert them from hex to decimal, and subtract the difference.</p>
<pre lang="bash">#!/bin/sh
# ./sha512_process.sh
#
# Use the txt generated from genSHA512.pl
SHA512SUMS=sha512sums.txt

LastHex=$(tail -n1 $SHA512SUMS | sed -e 's/^.*\(......\)$/\1/'  )
LastDec=$( printf "%d\n" "0x"$LastHex )
echo  "Last 6 digits of the 1,000,000th line: " $LastHex " (Decmimal: ${LastDec})"

FirstHex=$( sed '961325q;d' $SHA512SUMS | sed 's/\([0-9]\{6\}\).*/\1/g' )
FirstDec=$( printf "%d\n" "0x"$FirstHex )

echo "First six digits of line 961,325: " $FirstHex " (Decmimal: ${FirstDec})"

diff=$(( $LastDec - $FirstDec ))
echo "      Difference = " $diff
echo "            Who's number is this?"
echo "                  * HINT: http://letmegooglethatforyou.com/?q=$diff&amp;l=1  *"</pre>
<p>So lets run them!</p>
<blockquote><p>daviey@katana:~$ time ./genSHA512.pl &gt; sha512sums.txt</p>
<p>real	0m15.567s<br />
user	0m15.090s<br />
sys	0m0.480s</p>
<p>daviey@katana:~$ ./sha512_process.sh</p>
<p>Last 6 digits of the 1,000,000th line:  da7080  (Decmimal: 14315648)<br />
First six digits of line 961,325:  561093  (Decmimal: 5640339)<br />
Difference =  8675309<br />
Who&#8217;s number is this?<br />
* HINT: <a href="http://letmegooglethatforyou.com/?q=8675309&amp;l=1">http://letmegooglethatforyou.com/?q=8675309&amp;l=1</a> *</p></blockquote>
<p>As we can see, this is very efficient (probably could be more so without saving to disk, but it&#8217;s certainly enough!), solving this part of the challenge in under 20 seconds!</p>
<p>So, what can we learn from this?  If you plan to do something like this, don&#8217;t jump in too quickly, spend a good amount of time thinking through a good solution! Using a thought out solution, this challenge could be <strong>cracked in under 5 minutes</strong>! <img src='http://blog.daviey.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I would like to say a big thank you to Dustin for setting this challenge, it is my understanding that he spent a great deal of time setting these tasks! I do hope he sets some more, and more people take part.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.daviey.com/blogroll/cracking-kirklands-challenge.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Lenovo, possibly the most power efficient laptop ever.</title>
		<link>http://blog.daviey.com/blogroll/lenovo-possibly-the-most-power-efficient-laptop-ever.html</link>
		<comments>http://blog.daviey.com/blogroll/lenovo-possibly-the-most-power-efficient-laptop-ever.html#comments</comments>
		<pubDate>Thu, 22 Jan 2009 16:00:50 +0000</pubDate>
		<dc:creator>Daviey</dc:creator>
		
		<category><![CDATA[All]]></category>

		<category><![CDATA[Blogroll]]></category>

		<category><![CDATA[hantslug]]></category>

		<category><![CDATA[lugradio]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[ubuntu-uk]]></category>

		<guid isPermaLink="false">http://daviey.mooo.com/?p=25</guid>
		<description><![CDATA[Lenovo X61
Just came across an old screen-shot I took some time ago, showing how much longer the battery will last for.  I should mention that i have never managed to squeeze that long out of it!

]]></description>
			<content:encoded><![CDATA[<p><strong>Lenovo X61</strong><br />
Just came across an old screen-shot I took some time ago, showing how much longer the battery will last for.  I should mention that i have never managed to squeeze that long out of it!</p>
<p><img class="alignnone size-full wp-image-24" title="Lenovo power status" src="http://daviey.mooo.com/wp-content/uploads/2008/03/lenovopower.png" alt="Lenovo power status" width="376" height="95" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.daviey.com/blogroll/lenovo-possibly-the-most-power-efficient-laptop-ever.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>It&#8217;s all about the community baby!</title>
		<link>http://blog.daviey.com/ubuntu/its-all-about-the-community-baby.html</link>
		<comments>http://blog.daviey.com/ubuntu/its-all-about-the-community-baby.html#comments</comments>
		<pubDate>Sun, 21 Dec 2008 15:15:15 +0000</pubDate>
		<dc:creator>Daviey</dc:creator>
		
		<category><![CDATA[All]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[ubuntu-uk]]></category>

		<guid isPermaLink="false">http://blog.daviey.com/?p=55</guid>
		<description><![CDATA[In a recent blog post by Jono, he talked about reconnecting with Ubuntu&#8217;s ethos.  He really hit things on the head.  Whilst we have been making fantastic improvements with the distribution itself, and the user base - something has been lacking in the groove of the community.
I guess i started to feel something was dwindling [...]]]></description>
			<content:encoded><![CDATA[<p>In a recent blog post by <a href="http://www.jonobacon.org/?p=1483" target="_blank">Jono</a>, he talked about reconnecting with Ubuntu&#8217;s ethos.  He really hit things on the head.  Whilst we have been making fantastic improvements with the distribution itself, and the user base - something has been lacking in the groove of the community.</p>
<p>I guess i started to feel something was dwindling around 5 months ago, but didn&#8217;t really understand what it was until Jono pointed it out in his blog post, and some nattterings at the Ubuntu Developers Summit.</p>
<p>I feel sometimes we get too sidetracked with infighting, governance, procedure and councils to remember that we are all here (in the community) because we love the people, and we love what they do.</p>
<p>I think sometimes we need to remember that thousands of people make effort towards Ubuntu, largely to make things better for the community around them.  Ubuntu, for most, isn&#8217;t &#8220;work&#8221;, as in employment - it&#8217;s a hobby ( read addiction ;)  ).</p>
<p>One thing that truly amazes me about the Ubuntu community - it&#8217;s large, and with any large community you expect it to attract <em>some</em> people you <em>really</em> can&#8217;t stand to be around.  Surprisingly, this has never been the case for me.  Everyone i&#8217;ve actually met in real life, seem to be great people.</p>
<p><strong>Why is the community full of &#8216;good&#8217; people?</strong><br />
<em>Does Ubuntu only attract &#8216;good&#8217; people?<br />
Is there, in actual fact, good in everyone?<br />
Does Ubuntu bring out the &#8216;good&#8217; in everybody?<br />
Do only &#8216;good&#8217; people want to get involved in the community?</em></p>
<p>Who knows.</p>
<p><em><strong>So here it is, a <a href="http://www.youtube.com/watch?v=4jzGIaZcGcM" target="_blank">hug</a> for anyone reading this.  You rock my world, yes *you*.  In summary, the community rocks - let&#8217;s keep it fun.</strong></em></p>
<p><a href="http://flickr.com/photos/kwwii/3103305868/sizes/o/"><img class="aligncenter" title="Ubuntu Community" src="http://farm4.static.flickr.com/3015/3103305868_4fe200a969.jpg" alt="" width="500" height="232" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.daviey.com/ubuntu/its-all-about-the-community-baby.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Graham Binns lookalike contest</title>
		<link>http://blog.daviey.com/blogroll/graham-binns-lookalike-contest.html</link>
		<comments>http://blog.daviey.com/blogroll/graham-binns-lookalike-contest.html#comments</comments>
		<pubDate>Tue, 09 Dec 2008 02:51:51 +0000</pubDate>
		<dc:creator>Daviey</dc:creator>
		
		<category><![CDATA[All]]></category>

		<category><![CDATA[Blogroll]]></category>

		<category><![CDATA[hantslug]]></category>

		<category><![CDATA[lugradio]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[ubuntu-uk]]></category>

		<guid isPermaLink="false">http://daviey.mooo.com/?p=52</guid>
		<description><![CDATA[It was recently pointed out to me that Graham Binns (Cannonical Launchpad developer) looks remarkably similar to Matt Berry from the &#8220;IT Crowd&#8221; (British TV Channel 4 commedy).

You decide.
]]></description>
			<content:encoded><![CDATA[<p>It was recently pointed out to me that Graham Binns (Cannonical Launchpad developer) looks remarkably similar to Matt Berry from the &#8220;IT Crowd&#8221; (British TV Channel 4 commedy).</p>
<p><a href="http://daviey.mooo.com/wp-content/uploads/2008/12/grahambinns.png"><img class="aligncenter size-full wp-image-53" title="Graham Binns" src="http://daviey.mooo.com/wp-content/uploads/2008/12/grahambinns.png" alt="" width="430" height="297" /></a></p>
<p>You decide.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.daviey.com/blogroll/graham-binns-lookalike-contest.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Linux Expo Live 2008</title>
		<link>http://blog.daviey.com/blogroll/linux-expo-2008.html</link>
		<comments>http://blog.daviey.com/blogroll/linux-expo-2008.html#comments</comments>
		<pubDate>Wed, 08 Oct 2008 15:07:37 +0000</pubDate>
		<dc:creator>Daviey</dc:creator>
		
		<category><![CDATA[All]]></category>

		<category><![CDATA[Blogroll]]></category>

		<category><![CDATA[hantslug]]></category>

		<category><![CDATA[lugradio]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[ubuntu-uk]]></category>

		<guid isPermaLink="false">http://daviey.mooo.com/?p=40</guid>
		<description><![CDATA[October the 23rd - 25th Olympia, London

This is our chance chaps!  The UK hasn&#8217;t had an &#8216;big&#8217; Linux expo for two years.  Sadly last year had to be cancelled.
I&#8217;ve literally /just/ had confirmation from the organisers that the Ubuntu UK LoCo has been reserved a stand in the .Org community village.  Hurray!
Two years ago it [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><strong>October the 23rd - 25th Olympia, London</strong></p>
<p style="text-align: center;"><img class="aligncenter" src="http://www.linuxexpolive.co.uk/images/stories/linux08-sm.jpg" alt="" width="229" height="132" /></p>
<p>This is our chance chaps!  The UK hasn&#8217;t had an &#8216;big&#8217; Linux expo for two years.  Sadly last year had to be cancelled.</p>
<p>I&#8217;ve literally /just/ had confirmation from the organisers that the Ubuntu UK LoCo has been reserved a stand in the .Org community village.  Hurray!</p>
<p>Two years ago it was a <a href="https://wiki.ubuntu.com/UKTeam/Gallery" target="_blank">whopping success</a>, and this year stands to be even better.  The actual expo will be co-existing in Olympia with the Mac expo, so it should give us a great chance to show off Ubuntu to people who wouldn&#8217;t normally attend a Linux Expo.</p>
<p>It seems Canonical haven&#8217;t yet decided if they will be able to attend.  I do know that the organisers did want a speaker to talk about Ubuntu for the main stage, so if you are that person - apply now!  The event could not have had better timing as it is around the same time as the next Ubuntu version, Intrepid Ibex (8.10) release!</p>
<p>Entry to both &#8216;.org&#8217; exhibitors and attendees is currently free (£12 on the door), so apply <a href="http://www.linuxexpolive.co.uk/index.php?option=com_content&amp;view=article&amp;id=47&amp;Itemid=54" target="_blank">here</a> for your FREE tickets.</p>
<p>If you&#8217;re a UK Ubuntu Fan, join the community, come along!  If you fancy helping out on the stall, add your name to the volunter section of this <a href="https://wiki.ubuntu.com/UKTeam/LinuxExpoLive2008">page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.daviey.com/blogroll/linux-expo-2008.html/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
