<?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>Kyle Anderson &#187; linux</title>
	<atom:link href="http://xkyle.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://xkyle.com</link>
	<description></description>
	<lastBuildDate>Thu, 22 Jul 2010 04:54:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>The Seagate Dockstar: A Very Cool Linux Device</title>
		<link>http://xkyle.com/2010/07/19/the-seagate-dockstar-a-very-cool-linux-device/</link>
		<comments>http://xkyle.com/2010/07/19/the-seagate-dockstar-a-very-cool-linux-device/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 05:35:25 +0000</pubDate>
		<dc:creator>Kyle Anderson</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[dockstar]]></category>
		<category><![CDATA[nclug]]></category>
		<category><![CDATA[openwrt]]></category>

		<guid isPermaLink="false">http://xkyle.com/?p=511</guid>
		<description><![CDATA[What if I told you there was a computer out there, a small one, with gigabit ethernet, 4 USB 2.0 ports, runs on 5 watts, and serves as a great NAS (network attached storage) for your home.  It can share files, serve media, be a router, make backups for you, host a lamp stack, be [...]]]></description>
			<content:encoded><![CDATA[<p>What if I told you there was a computer out there, a small one, with gigabit ethernet, 4 USB 2.0 ports, runs on 5 watts, and serves as a great NAS (network attached storage) for your home.  It can share files, serve media, be a router, make backups for you, host a lamp stack, be a mail server, etc. It can do whatever you can think up.</p>
<p><a href="http://xkyle.com/wp-content/uploads/dockstar.jpg"><img class="alignnone size-full wp-image-512" title="dockstar" src="http://xkyle.com/wp-content/uploads/dockstar.jpg" alt="" width="576" height="300" /></a></p>
<p>How much would you pay for such a neat little device? $100? $120? What if I told you that this device is ~$35. What a deal. Lose your P4 electricity guzzler and stick this on your shelf with some harddrives plugged into it.</p>
<p>Now the next question, what Linux distro should we use, and how does one go about installing it? After all, there is no keyboard ports, no display, no cdrom drive. No problem.</p>
<p>To hack this thing, all you need to do is connect to its internal serial port. Here are some instructions to hook up a <a href="http://wiki.xkyle.com/Seagate_Dockstar">serial port to the Seagate Dockstar</a>.</p>
<p><a href="http://xkyle.com/wp-content/uploads/2010-07-19-23.31.22.jpg"><img class="alignnone size-medium wp-image-513" title="2010-07-19 23.31.22" src="http://xkyle.com/wp-content/uploads/2010-07-19-23.31.22-300x224.jpg" alt="" width="300" height="224" /></a></p>
<p>Now, there are lots of distros, not too many that support the ARM processor. The stock OS is indeed Ubuntu 9.04, however my OS of choice for this hardware is <a href="http://openwrt.org">OpenWRT</a>. Openwrt is a very light, simple, linux distro, designed for embedded systems and routers.  If you wish to follow my steps, here are some instructions on <a href="http://wiki.xkyle.com/Install_Openwrt_on_a_Seagate_Dockstar">installing Openwrt on a Dockstar</a>. I plan to buy a bunch of these and build some sort of super cheap SAN. I&#8217;ll let you know where it goes. The possibilities are only bounded by your imagination. (And I guess maybe the hardware)</p>
]]></content:encoded>
			<wfw:commentRss>http://xkyle.com/2010/07/19/the-seagate-dockstar-a-very-cool-linux-device/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Up Your Very Own PXE Server!</title>
		<link>http://xkyle.com/2010/07/16/setting-up-your-very-own-pxe-server/</link>
		<comments>http://xkyle.com/2010/07/16/setting-up-your-very-own-pxe-server/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 22:42:46 +0000</pubDate>
		<dc:creator>Kyle Anderson</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[nclug]]></category>
		<category><![CDATA[pxe]]></category>

		<guid isPermaLink="false">http://xkyle.com/?p=508</guid>
		<description><![CDATA[Ever fumbled around your house looking for a Linux CD, but you can&#8217;t find it? Ever suspected that your ram was going bad, but you didn&#8217;t have a way to test it? Ever needed to backup files on a computer that had a dead and broken operating system? A solution to all these problems is [...]]]></description>
			<content:encoded><![CDATA[<p>Ever fumbled around your house looking for a Linux CD,  but you can&#8217;t find it? Ever suspected that your ram was going bad, but  you didn&#8217;t have a way to test it? Ever needed to backup files on a  computer that had a dead and broken operating system? A solution to all  these problems is a super cool tool called PXE booting. PXE booting  allows you to load alternative operating systems over the network,  without the need for cds, cdroms, etc!</p>
<div id="attachment_509" class="wp-caption alignnone" style="width: 1034px"><a href="http://xkyle.com/wp-content/uploads/pxebooting.jpg"><img class="size-large wp-image-509" title="Things you can do with a PXE server" src="http://xkyle.com/wp-content/uploads/pxebooting-1024x623.jpg" alt="Things you can do with a PXE server" width="1024" height="623" /></a><p class="wp-caption-text">Things you can do with a PXE server</p></div>
<p>Sound like something that you could benefit from? Setting up your  own PXE boot environment is easy and Fun! Check out my <a href="http://wiki.xkyle.com/File:Pxe.pdf">presentation</a> and then later my <a href="http://wiki.xkyle.com/pxe">wiki  page</a> for notes, commands, and configuration snippets to get your own  setup going.</p>
]]></content:encoded>
			<wfw:commentRss>http://xkyle.com/2010/07/16/setting-up-your-very-own-pxe-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XKCD&#8217;s Collatz Conjecture</title>
		<link>http://xkyle.com/2010/03/04/xkcds-collatz-conjecture/</link>
		<comments>http://xkyle.com/2010/03/04/xkcds-collatz-conjecture/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 05:44:25 +0000</pubDate>
		<dc:creator>Kyle Anderson</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[graphviz]]></category>
		<category><![CDATA[nclug]]></category>
		<category><![CDATA[xkcd]]></category>

		<guid isPermaLink="false">http://xkyle.com/?p=463</guid>
		<description><![CDATA[In the XKCD comic dated 3/4/2010, the Collatz Conjecture presents the following scenario: Well I don&#8217;t know if your friends will stop calling your or not, but I was curious about what the graph would actually look like. The graph in the comic looks like it was created with Graphviz, one of my favorite programs! [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">In the <a href="http://xkcd.com">XKCD</a> comic dated 3/4/2010, the <a href="http://xkcd.com/710/">Collatz Conjecture</a> presents the following scenario:<br />
<img class="aligncenter" src="http://imgs.xkcd.com/comics/collatz_conjecture.png" alt="" /></p>
<p>Well I don&#8217;t know if your friends will stop calling your or not, but I was curious about what the graph would actually look like. The graph in the comic looks like it was created with Graphviz, one of my favorite programs!</p>
<p>So I wrote a quick bash script to generate the approrpiate links for graphviz to interpret:</p>
<blockquote>
<pre>#!/bin/bash
echo "digraph \"xkcd\" {"
for NUMBER in `seq 1 100`
do
 if [ $[$NUMBER % 2] -eq 0 ]; then #We are even
 let OUTPUT=$NUMBER/2
 else  #Odd
 let OUTPUT=$NUMBER*3+1
 fi
 echo "$NUMBER -&gt; $OUTPUT"
done
echo "}"
</pre>
</blockquote>
<p>So what does it really look like? Here:</p>
<p><a href="http://xkyle.com/wp-content/uploads/xkcd-collatz.png"><img class="aligncenter size-large wp-image-464" title="xkcd-collatz" src="http://xkyle.com/wp-content/uploads/xkcd-collatz-672x1024.png" alt="" width="672" height="1024" /></a></p>
<p>There are lots of straggling links. This is of course only because I went to 100. Why not 1000? It is a little big&#8230; click <a href="http://xkyle.com/images/xkcd-collatz2.jpg">Here</a>.</p>
<p>Turns out with even more numbers we end up with even more isolated links, no big super chain.</p>
<p>If you would like to run this code for yourself, first make sure you have the graphviz package installed in your linux system. Then copy that code above into a script, say called xkcd.sh. Then run like so:</p>
<blockquote><p>./xkcd.sh | neato -Tpng | display</p></blockquote>
<p>Adjust as necessary.</p>
]]></content:encoded>
			<wfw:commentRss>http://xkyle.com/2010/03/04/xkcds-collatz-conjecture/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Automated Aftershock Playing Bot</title>
		<link>http://xkyle.com/2009/11/29/automated-aftershock-playing-bot/</link>
		<comments>http://xkyle.com/2009/11/29/automated-aftershock-playing-bot/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 02:18:16 +0000</pubDate>
		<dc:creator>Kyle Anderson</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[graphviz]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nclug]]></category>

		<guid isPermaLink="false">http://xkyle.com/?p=422</guid>
		<description><![CDATA[This is a bot I wrote to play Aftershock games for me. Aftershock produces these 5 games that are all basically the same, but with different themes: Engines of War &#8211; 138071613 Undead Live &#8211; 175496321 Mark of Mafia &#8211; 833613775 Gunshock Racing &#8211; 124286853 Dragon Masters &#8211; 304299067 If you play any of these [...]]]></description>
			<content:encoded><![CDATA[<p><object id="qikPlayer" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="319" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="align" value="middle" /><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="true" /><param name="quality" value="high" /><param name="bgcolor" value="#333333" /><param name="FlashVars" value="rssURL=http://qik.com/video/9f5c5c46f6ad47cf836d344ecf764229.rss&amp;autoPlay=false" /><param name="src" value="http://qik.com/swfs/qikPlayer4.swf" /><param name="name" value="qikPlayer" /><param name="flashvars" value="rssURL=http://qik.com/video/9f5c5c46f6ad47cf836d344ecf764229.rss&amp;autoPlay=false" /><param name="allowfullscreen" value="true" /><embed id="qikPlayer" type="application/x-shockwave-flash" width="425" height="319" src="http://qik.com/swfs/qikPlayer4.swf" name="qikPlayer" flashvars="rssURL=http://qik.com/video/9f5c5c46f6ad47cf836d344ecf764229.rss&amp;autoPlay=false" bgcolor="#333333" quality="high" allowfullscreen="true" allowscriptaccess="sameDomain" align="middle"></embed></object></p>
<p>This is a bot I wrote to play Aftershock games for me. Aftershock produces these 5 games that are all basically the same, but with different themes:</p>
<p><a href="http://www.enginesofwar.com">Engines of War</a> &#8211; 138071613<br />
<a href="http://www.undeadlive.com">Undead Live</a> &#8211; 175496321<br />
<a href="http://www.markofmafia.com">Mark of Mafia</a> &#8211; 833613775<br />
<a href="http://gunshockracing.com">Gunshock Racing</a> &#8211; 124286853<br />
<a href="http://www.dragonmastersworld.com">Dragon Masters</a> &#8211; 304299067</p>
<p>If you play any of these games, feel free to ally with me <img src='http://xkyle.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  If aftershock bans me, no big deal <img src='http://xkyle.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>These are the types of games that make you log in often to check your status, and use your energy (otherwise it is wasted). The thing is, most of the decisions and things I do in these games are just to preocupy your time, I could write a program to do the simple things for me. So I did! Now only if I could run it periodically from a cronjob. You see, they require you to type in a CAPTCHA every time you log into the web interface, so for my program to work I have to manually log in first. But wait, the ipod app doesn&#8217;t require a captcha&#8230; if only I could run the app from the ipod, steal it&#8217;s auth cookie, then run my program it could be compeltely automated! Well the best way I could find to do this was to use the <a href="http://www.vncrobot.com/">T-Plan</a> vnc robot to do the required key presses, then let ssh and bash do the rest.</p>
<p>I also looked into using the <a href="http://ericasadun.com/ftp/EricaUtilities/">Erica Utilities</a> to start the game without the complexity of vnc, but I found they didn&#8217;t work on my platform with the 3.0 firmware. So now I can just sit back and let my robot level me up forever!</p>
<p>Here are some more technical details on the script itself if you are interested. Anyone who plays these games would find these features very desireable:</p>
<ul>
<li>Recovers from raids</li>
<li>Repairs your buildings</li>
<li>Accepts all incoming ally invitations</li>
<li>Automatically uses all your fighting power to get at least 2exp for every fight, and choosing opponents that you can win against. (It automatically heals you if you need it)</li>
<li>Redeems combo/key/spell codes from a large number of websites to gain a huge amount of free, non-upkeep items. (And it posts your code everywhere when you have a new one)</li>
<li>Sends ally invitations to a huge list of available codes from a large number of code sharing sites to build up your command.</li>
<li>Goes through internal game pages to scrape profiles for ally codes to send more invites to.</li>
<li>Quits automatically when you reach the 50 invite 24 hour limit or if your cookie expires.</li>
<li>Deposits money in the bank</li>
</ul>
<p>Of course you can change the order or the functions, and they are all optional. All the code is <a href="http://dev.xkyle.com/">here</a>. The code is just bash, using grep, sed, awk, html2text, cat, etc. You will want to edit the variables to meet your needs before you use it of course. You can check out the code with svn:</p>
<blockquote><p>svn co http://dev.xkyle.com/aftershock</p></blockquote>
<p>Explaination of commands:</p>
<p>aftershock.sh &#8211; Main script, takes the argument 1-5 for the particular game you are playing. Needs the -i argument if you need the cookie from the ipod instead of firefox<br />
go-ipod.sh &#8211; Runs each game consecutivly by vnc&#8217;ing to the ipod, running the game, getting the cookie, then running the appropriate aftershock.sh instance<br />
spawnall.sh &#8211; Runs an exterm for each aftershock game. Useful if you have logged into each game through firefox, and need the robot to just do everything</p>
<p>I will try to support people who genuily who want to run this program. It is GPL. Email kyle@xkyle.com if you need help.</p>
]]></content:encoded>
			<wfw:commentRss>http://xkyle.com/2009/11/29/automated-aftershock-playing-bot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Final Clock Post</title>
		<link>http://xkyle.com/2009/09/15/final-clock-post/</link>
		<comments>http://xkyle.com/2009/09/15/final-clock-post/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 01:43:46 +0000</pubDate>
		<dc:creator>Kyle Anderson</dc:creator>
				<category><![CDATA[Clock]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nclug]]></category>
		<category><![CDATA[wrt54gl]]></category>

		<guid isPermaLink="false">http://xkyle.com/?p=390</guid>
		<description><![CDATA[I&#8217;ve finally moved to Colorado, and I had to leave the big clock behind, and luckily I had finished it: I finilized the code, installed the clock in my church, and programmed it for there needs. The code is stored here if someone want to see it. If you want to check it out run: [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally moved to Colorado, and I had to leave the big clock behind, and luckily I had finished it:</p>
<p><a href="http://xkyle.com/wp-content/uploads/photo.jpg"><img class="alignnone size-medium wp-image-391" title="photo" src="http://xkyle.com/wp-content/uploads/photo-300x225.jpg" alt="photo" width="300" height="225" /></a></p>
<p>I finilized the code, installed the clock in my <a href="http://relevantchurch.com">church</a>, and programmed it for there needs. The code is stored <a href="http://dev.xkyle.com/clock/">here</a> if someone want to see it. If you want to check it out run:</p>
<blockquote><p>svn co http://dev.xkyle.com/clock</p></blockquote>
<p>I have a little more technical info on my <a href="http://wiki.xkyle.com/Clock">wiki</a>, but it basically goes like this:</p>
<p><a href="http://xkyle.com/wp-content/uploads/68fbb4a6882a094ecd708c15fca783ee.png"><img class="alignnone size-full wp-image-392" title="68fbb4a6882a094ecd708c15fca783ee" src="http://xkyle.com/wp-content/uploads/68fbb4a6882a094ecd708c15fca783ee.png" alt="68fbb4a6882a094ecd708c15fca783ee" width="490" height="44" /></a></p>
<p>So using this and Openvpn, I can control the clock through the serial interface anywhere in the world, even Colorado! And of course the best part of it all, the church staff can also control it by sending an <a href="http://twitter.com/relevantclock">@reply using twitter!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://xkyle.com/2009/09/15/final-clock-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Decrypting an eBook to make it Searchable</title>
		<link>http://xkyle.com/2009/06/11/decrypting-an-ebook-to-make-it-searchable/</link>
		<comments>http://xkyle.com/2009/06/11/decrypting-an-ebook-to-make-it-searchable/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 20:23:43 +0000</pubDate>
		<dc:creator>Kyle Anderson</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[drm]]></category>
		<category><![CDATA[ebook]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[imagemagick]]></category>

		<guid isPermaLink="false">http://xkyle.com/?p=364</guid>
		<description><![CDATA[So I spent $22 on an ebook for school. It has this crappy DRM that only lets me view the pdf on one computer using only &#8220;Adobe Digital Editions&#8221;. If that wasn&#8217;t so bad, only a small subset of the text is OCR&#8217;d, so most of it isn&#8217;t even searchable! Now I&#8217;m pissed, but wait, [...]]]></description>
			<content:encoded><![CDATA[<p>So I spent $22 on an <a href="http://www.diesel-ebooks.com/cgi-bin/item/0931541611/Voyage-of-Discovery-From-the-Big-Bang-to-the-Ice-Age-eBook.html">ebook</a> for school.</p>
<p>It has this crappy DRM that only lets me view the pdf on one computer using only &#8220;Adobe Digital Editions&#8221;.</p>
<p>If that wasn&#8217;t so bad, only a small subset of the text is OCR&#8217;d, so most of it isn&#8217;t even searchable!</p>
<p>Now I&#8217;m pissed, but wait, what do you say? These files are just RSA encrypted, and I have the key?</p>
<p>Some cool guy named <strong><a href="http://i-u2665-cabbages.blogspot.com/2009/02/circumventing-adobe-adept-drm-for-epub.html">i♥cabbages</a> </strong>has released code do extract your key, and then decrypt the file to a good ol&#8217; plain pdf. If you want to reproduce my steps you will need to use the <a href="http://www.cs.helsinki.fi/u/vahakang/ineptpdf.pyw">PDF decrypter</a> unless you have epubs.</p>
<p>So I use the tool and get a pdf, now I can use one of the most awesome tools in the world: <a href="http://en.wikipedia.org/wiki/ImageMagick">Imagemagick</a>.</p>
<p>Imagemagick can whip this pdf into shape. The first thing I&#8217;m going to do is convert each page into a tiff:</p>
<blockquote><p>$ convert -density 200 input.pdf[1-124] -depth 8 -monochrome %05d.tif</p></blockquote>
<p>Then I&#8217;m going to run tesseract-ocr on them to get the text:</p>
<blockquote><p>$ <span style="font-size: small;">for i in $(seq &#8211;format=%005.f 1 324)<br />
</span><span style="font-size: small;">do</span><span style="font-size: small;"><br />
tesseract $i.tif tesseract-$i -l eng<br />
done</span></p></blockquote>
<p>Now all I have to do is cat all the text together:</p>
<blockquote><p>cat *.txt &gt; output.txt</p></blockquote>
<p>Now I have a fully searchable, plain text file. Exactly what I wanted in the first place!</p>
<p>For the REAL magic, I use agrep to search for strings similar to provided example test questions to help &#8220;highlight&#8221; the answers. More technical details on that magic on <a href="http://wiki.xkyle.com/Answer_Finder">my wiki</a>.</p>
<p><a href="http://xkyle.com/wp-content/uploads/answer.JPG"><img class="alignnone size-medium wp-image-369" title="answer" src="http://xkyle.com/wp-content/uploads/answer-300x25.jpg" alt="answer" width="300" height="25" /></a></p>
<p><strong><strong><br />
</strong></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://xkyle.com/2009/06/11/decrypting-an-ebook-to-make-it-searchable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Wireless Cracking Tool</title>
		<link>http://xkyle.com/2009/06/01/my-wireless-cracking-tool/</link>
		<comments>http://xkyle.com/2009/06/01/my-wireless-cracking-tool/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 08:00:51 +0000</pubDate>
		<dc:creator>Kyle Anderson</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[wep]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://xkyle.com/?p=136</guid>
		<description><![CDATA[I&#8217;ve become a semi-expert on wireless networking and their security features.. and how to get around them. Before I continue I want to emphasize: The act of cracking encryption is not illegal just like picking a lock is not illegal. It is the unauthorized access of that network which is illegal, just like breaking and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve become a semi-expert on wireless networking and their security features.. and how to get around them. Before I continue I want to emphasize:</p>
<blockquote><p>The act of cracking encryption is not illegal just like picking a lock is not illegal. It is the unauthorized access of that network which is illegal, just like breaking and entering is illegal.</p></blockquote>
<p>So. To sum it up, there are two types of encryption. There is the weak kind (<a href="http://en.wikipedia.org/wiki/Wired_Equivalent_Privacy">wep</a>) and the strong kind (<a href="http://en.wikipedia.org/wiki/Wi-Fi_Protected_Access">wpa</a>). WEP can be broken in about 5-10 minutes. WPA can be broken in about 24 hours (as long as their password is in your password try-out list).</p>
<p>The actual process or hacking into a network like this requires a suite of tools called the <a href="http://www.aircrack-ng.org">aircrack-ng suite</a>. You can read their tutorials and such, and I highly recommend you do if you want to get into this sort of thing. It&#8217;s a lot of FUN! Be prepared to learn linux while you are at it&#8230;.</p>
<p>But, once you understand what you are doing, you will appreciate the tool I have written. It automates the process of getting the keys. I wrote it as a type of &#8220;set-it-and-forget-it&#8221; tool that I could just leave running. It isn&#8217;t too clean, but if you can read bash scripting you can figure it out.</p>
<div id="attachment_137" class="wp-caption aligncenter" style="width: 510px"><a href="http://xkyle.com/wp-content/uploads/screenshot.jpg"><img class="size-full wp-image-137" title="wep-cracking" src="http://xkyle.com/wp-content/uploads/screenshot.jpg" alt="Here is a screen shot of my tool cracking wep" width="500" height="300" /></a><p class="wp-caption-text">Here is a screen shot of my tool cracking wep</p></div>
<p>Remember! Don&#8217;t try to just run this tool without understanding what it does and how to read it. If you haven&#8217;t breaking a wep key manually you don&#8217;t want to run this. It does WEP and WPA cracking (saving the handshake for later). Good luck! I will provide minimal support via comments on this post. Don&#8217;t forget to have your radio in monitor mode first, and if you are  going to do wpa you need the <a href="http://homepages.tu-darmstadt.de/~p_larbig/wlan/">mdk3</a> tool.</p>
<p>Here is the download link to <a href="http://xkyle.com/other//superscanner.tgz">Kyle&#8217;s Wireless Cracking Tool</a>.</p>
<p>Here is a link to a more updated versio of my <a href="http://xkyle.com/other//superscanner2.tgz">Cracking Tool</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://xkyle.com/2009/06/01/my-wireless-cracking-tool/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>My Desktop</title>
		<link>http://xkyle.com/2009/02/20/my-desktop/</link>
		<comments>http://xkyle.com/2009/02/20/my-desktop/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 23:06:21 +0000</pubDate>
		<dc:creator>Kyle Anderson</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://xkyle.com/?p=271</guid>
		<description><![CDATA[Posting a screenshot of your desktop is the cool thing for geeks to do apparently. It&#8217;s Ubuntu 8.10, no big surprise there. I&#8217;m using the &#8220;Dusk&#8221; theme with the proposed background for the next Ubuntu. I really like it.]]></description>
			<content:encoded><![CDATA[<p>Posting a screenshot of your desktop is the cool thing for geeks to do apparently.</p>
<p><a href="http://xkyle.com/wp-content/uploads/screenshot3.png"><img class="alignnone size-medium wp-image-272" title="screenshot3" src="http://xkyle.com/wp-content/uploads/screenshot3-300x187.png" alt="screenshot3" width="300" height="187" /></a></p>
<p>It&#8217;s Ubuntu 8.10, no big surprise there. I&#8217;m using the &#8220;Dusk&#8221; theme with the proposed background for the next Ubuntu. I really like it.</p>
]]></content:encoded>
			<wfw:commentRss>http://xkyle.com/2009/02/20/my-desktop/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Myspace Phishing Analysis</title>
		<link>http://xkyle.com/2009/02/11/myspace-phishing-analysis/</link>
		<comments>http://xkyle.com/2009/02/11/myspace-phishing-analysis/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 22:40:10 +0000</pubDate>
		<dc:creator>Kyle Anderson</dc:creator>
				<category><![CDATA[Myspace]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[passwords]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://xkyle.com/?p=251</guid>
		<description><![CDATA[A couple of years ago, a large list of phished Myspace accounts was leaked on the internet. I stumpled upon them and ran a very simple analysis. Check it out: root@a:/# cat myspace.hackedlist &#124; cut -f 2 -d : &#124; sort &#124; uniq -c &#124; sort -n &#124; tail -n 20 14 qwerty1 15 123456a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://xkyle.com/wp-content/uploads/myspace.jpeg"><img class="size-full wp-image-252 alignnone" title="myspace" src="http://xkyle.com/wp-content/uploads/myspace.jpeg" alt="" width="118" height="117" /></a></p>
<p>A couple of years ago, a large list of phished Myspace accounts was leaked on the internet.<br />
I stumpled upon them and ran a very simple analysis. Check it out:</p>
<blockquote><p>root@a:/# cat myspace.hackedlist | cut -f 2 -d : | sort | uniq -c | sort -n | tail -n 20<br />
14 qwerty1<br />
15 123456a<br />
15 babygirl1<br />
15 blink182<br />
16 123456<br />
16 123abc<br />
16 iloveyou2<br />
17 football1<br />
17 nicole1<br />
18 number1<br />
19 password<br />
23 myspace1<br />
24 fuckyou1<br />
28 iloveyou1<br />
28 monkey1<br />
29 fuckyou<br />
54 abc123<br />
74 password1</p></blockquote>
<p>The file was in the form of &#8220;Username:password&#8221;, so the first part of that command &#8220;cuts&#8221; the second column, with the colon as the delimiter. Then it is piped through sort, which sorts the list alphabetcially, then the uniq -c command, which counts the number of times that a word shows up, then I sort it again to get the most freqent passwords, and tail the last 20 lines.</p>
<p>It is interesting to see that a lot of these passwords just tack &#8220;1&#8243; on to them. And of course blink182 was all the rage back then aparently&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://xkyle.com/2009/02/11/myspace-phishing-analysis/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Verizon FiOS Wireless Security Analysis</title>
		<link>http://xkyle.com/2009/02/07/verizon-fios-wireless-security-analysis/</link>
		<comments>http://xkyle.com/2009/02/07/verizon-fios-wireless-security-analysis/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 18:29:04 +0000</pubDate>
		<dc:creator>Kyle Anderson</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[aircrack]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[nclug]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[wep]]></category>

		<guid isPermaLink="false">http://xkyle.com/?p=243</guid>
		<description><![CDATA[Take a look at some wireless keys that I&#8217;ve collected from some Verizon FiOS installs around Tampa: 00-18-01-EA-3D-99,E3X12,6,WEP,1801349FCA 00-18-01-F0-6D-C4,NAMX2,1,WEP,18014B311F 00-18-01-F0-95-78,MWXV2,11,WEP,180149FF66 00-18-01-FD-4F-0E,R0LC7,1,WEP,1801BC5C6B 00-18-01-FE-15-46,JE2K7,1,WEP,1801C1B02B 00-18-01-FF-DF-DD,HH150,1,WEP,1F900396C5 00-1F-90-E0-B1-F8,3RA18,6,WEP,1801CDF4AF 00-1F-90-E0-B5-AC,OQ838,6,WEP,1801CF5700 00-1F-90-E2-7E-61,7WY20,6,WEP,1F90021D27 00-1F-90-E3-1E-90,C7WA0,6,WEP,1F9007C188 00-1F-90-E3-2E-07,DJP80,6,WEP,1F90063349 00-1F-90-E6-A7-D5,BJ2Z0,11,WEP,1F9018F797 00-1F-90-E6-D4-E3,RSHZ0,4,WEP,1F901944DB What you are looking at here is MAC, SSID, Channel, Encryption, Key. Notice that they are all WEP, 64bit, with 5 Alpha numeric SSID&#8217;s. I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://xkyle.com/wp-content/uploads/verizon_fios_250.jpg"><img class="alignnone size-medium wp-image-244" title="verizon_fios_250" src="http://xkyle.com/wp-content/uploads/verizon_fios_250.jpg" alt="" width="250" height="72" /></a></p>
<p>Take a look at some wireless keys that I&#8217;ve collected from some Verizon FiOS installs around Tampa:</p>
<blockquote><p>00-18-01-EA-3D-99,E3X12,6,WEP,1801349FCA<br />
00-18-01-F0-6D-C4,NAMX2,1,WEP,18014B311F<br />
00-18-01-F0-95-78,MWXV2,11,WEP,180149FF66<br />
00-18-01-FD-4F-0E,R0LC7,1,WEP,1801BC5C6B<br />
00-18-01-FE-15-46,JE2K7,1,WEP,1801C1B02B<br />
00-18-01-FF-DF-DD,HH150,1,WEP,1F900396C5<br />
00-1F-90-E0-B1-F8,3RA18,6,WEP,1801CDF4AF<br />
00-1F-90-E0-B5-AC,OQ838,6,WEP,1801CF5700<br />
00-1F-90-E2-7E-61,7WY20,6,WEP,1F90021D27<br />
00-1F-90-E3-1E-90,C7WA0,6,WEP,1F9007C188<br />
00-1F-90-E3-2E-07,DJP80,6,WEP,1F90063349<br />
00-1F-90-E6-A7-D5,BJ2Z0,11,WEP,1F9018F797<br />
00-1F-90-E6-D4-E3,RSHZ0,4,WEP,1F901944DB</p></blockquote>
<p>What you are looking at here is MAC, SSID, Channel, Encryption, Key.</p>
<p>Notice that they are all WEP, 64bit, with 5 Alpha numeric SSID&#8217;s.</p>
<p>I want to emphasize that these are the defaults, and only geeks, nerds and the like change the defaults. <img src='http://xkyle.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here is a typical type of router (actiontec) that does this:</p>
<p><a href="http://xkyle.com/wp-content/uploads/mi424wr.gif"><img class="alignnone size-medium wp-image-245" title="mi424wr" src="http://xkyle.com/wp-content/uploads/mi424wr-300x216.gif" alt="" width="300" height="216" /></a></p>
<p>Take a real close look at two of the examples:</p>
<blockquote><p>00-18-01-FE-15-46,JE2K7,1,WEP,1801C1B02B<br />
00-1F-90-E2-7E-61,7WY20,6,WEP,1F90021D27</p></blockquote>
<p>Notice the relationship the MAC and the key have. Let me split up the bytes for you:</p>
<blockquote><p>00:18:01:FE:15:46   -  18:01:C1:B0:2B</p></blockquote>
<p>Verizon, or Actiontec, or someone is setting the first byte of the 40bit key to the second byte of the MAC of the unit. And then they are setting the second byte of the key to the third byte of the MAC!</p>
<p>You can look on the list, and this is mostly the case, there is some overlap on the OIDs. (sometimess it is 1801, sometimes 1f90) Why is this useful? Well if you know it is a FiOS install, you have already decreased your &#8220;64bit&#8221; key to a real &#8220;40bit&#8221; key, and you already know 16 bits of it, so you only have to crack 24 bits. This is insane. This is like guessing 3 letters.</p>
<p>The way to use this is with the <a href="http://www.aircrack-ng.org">Aircrack-ng</a> program. Capture some packets, and use the -d option to tell it what the key starts with.</p>
<blockquote><p>aircrack-ng -d 1801 stupid-fios.cap</p></blockquote>
<p>You will get the key in No time! Silly Verizon, you didn&#8217;t think we would notice you weren&#8217;t using constructed (not random) keys?</p>
<p>Have FiOS yourself? Want to share your MAC and default key in the comments? <img src='http://xkyle.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<blockquote></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://xkyle.com/2009/02/07/verizon-fios-wireless-security-analysis/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 14/20 queries in 0.092 seconds using disk

Served from: xkyle.com @ 2010-07-31 23:35:51 -->