<?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>HackDevDotCom</title>
	<atom:link href="http://hackdev.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://hackdev.com</link>
	<description>Hacked Development</description>
	<lastBuildDate>Wed, 25 Jan 2012 23:58:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>I&#8217;ve been slacking off&#8230;</title>
		<link>http://hackdev.com/2012/01/slacking-off/</link>
		<comments>http://hackdev.com/2012/01/slacking-off/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 23:58:14 +0000</pubDate>
		<dc:creator>Gues7</dc:creator>
				<category><![CDATA[College]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[beer]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[brewing]]></category>
		<category><![CDATA[college]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[slacking]]></category>

		<guid isPermaLink="false">http://hackdev.com/?p=289</guid>
		<description><![CDATA[I really should get into the habit of updating this site more often, but a few things have been conspiring against me; mostly laziness and lack of motivation to be fair, but there have been some other real-life instances distracting &#8230; <a href="http://hackdev.com/2012/01/slacking-off/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I really should get into the habit of updating this site more often, but a few things have been conspiring against me; mostly laziness and lack of motivation to be fair, but there have been some other real-life instances distracting me from my goal of world domination, err, I meant regular blogging.</p>
<p>I have been working on renovating my house to some extent, adding additional insulation to the rooms that need it whilst giving it a good clearing out&#8230; one skip rental and two trips to the dump have done quite a bit to help me along in this challenge, but there is still more to do&#8230; much, much more.</p>
<p>I got accepted into college and have completed my first semester of study! That is a fairly big time vampire alright, but it is very enjoyable. I&#8217;m currently studying computing, but will select a more specific area after my second semester&#8230; I&#8217;ll definitely be going for software development as the primary role in this.</p>
<p>I&#8217;ve been working on building up my brewery and brewing skills so that I can make lots and lots of delicious beers of all types and strengths, in fact my one and only new years (beers) resolution is to do at lease one brew a month, which at the end of the year if followed through will see me producing 60 gallons of beer. Good thing I&#8217;ve been buying in bulk and picked up a few more kegs!</p>
<p>Being ready for many eventualities is now also higher on my list of objectives as last year alone we had heavy snow that practically stopped the country, and quite serious flooding. Since I live alone I have become more aware that I will require food stores and basic necessities on hand should I be unable to move around too easily.</p>
<p>With a new year bringing along new challenges and opportunities, I intend to be ready for all of it and to take it on with a deep, hearty evil laugh!</p>
]]></content:encoded>
			<wfw:commentRss>http://hackdev.com/2012/01/slacking-off/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom Fermentation Controller</title>
		<link>http://hackdev.com/2011/05/custom-fermentation-controller/</link>
		<comments>http://hackdev.com/2011/05/custom-fermentation-controller/#comments</comments>
		<pubDate>Fri, 27 May 2011 04:20:05 +0000</pubDate>
		<dc:creator>Gues7</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Home Brewing]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://hackdev.com/?p=279</guid>
		<description><![CDATA[I have started work on my custom fermentation controller using peltier based thermo-electric elements. If you don&#8217;t know what that is, there is a good article available on wikipedia. The benefit I will find is that for the (hopefully) short &#8230; <a href="http://hackdev.com/2011/05/custom-fermentation-controller/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have started work on my custom fermentation controller using peltier based thermo-electric elements. If you don&#8217;t know what that is, there is a good article available on<a href="http://en.wikipedia.org/wiki/Thermoelectric_cooling"> wikipedia</a>.</p>
<p>The benefit I will find is that for the (hopefully) short durations that the peltier will need to run, it will be more efficient than just running a fridge through an ATC. The only moving parts will be two cheap computer fans, so it should be cheaper to maintain should something break. It also means that the unit can be built to my exact requirements, which is always a bonus.</p>
<p>The unit it&#8217;s self will be a double ply wooden box with a full front door for inserting/removing the fermenting vessel. The box will most likely be made from 2&#215;4&#8242;s, plywood (probably OSB on the inside), and a load of insulation. My basic idea is to build a frame out of 2&#215;4&#8242;s, fit the internal paneling; fill the crevice with fiberglass, rockwool or polystyrene, and then fit the outer panels. The inside will most likely be sealed with a wood sealant, and then have the joints smeared with caulk, and then coated with a plastic resin coating. This will allow for restricted movement of air (like a fridge) and for waterproofing.</p>
<p>Electronically, the peltier element can both heat and cool by reversing the polarity on the cables. I have purchased almost all of the electronics for this (and some nice new tools <img src='http://hackdev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) and I&#8217;m just waiting on delivery. In it&#8217;s most basic sense, the peltier will be in one of three states, heating, cooling, or off. This will be accomplished using a H-Bridge setup built from FET&#8217;s (think of them as switches). If you would like more information on H-Bridges you can find some good information <a href=" http://www.pyroelectro.com/tutorials/h_bridge_4_transistor/">here</a>.</p>
<p>The unit will also have a 4 digit LED 7 Segment display, a few LED&#8217;s, a few buttons for configuration, a buzzer for an alarm, and will probably be powered from a hacked computer PSU.</p>
<p>I have some of the parts I need here, and I have begun development and testing on them. Unfortunately, I don&#8217;t have the peltiers themselves, or the heatsinks for them, or the display, I do have a temperature sensor, but it is not the correct one. As such, I have been using a serial console and some LED&#8217;s to monitor the states.</p>
<p>Within the software, I have it set up such that a minimum and a maximum temperature can be specified. In addition to this, an alarm temperature can also be specified, in such that if the current temperature exceeds the minimum or the maximum by this value, an alarm sounds.</p>
<p>I think I&#8217;m babbling a little now&#8230;.</p>
<p>Here&#8217;s what it does so far:<br />
The unit powers up, and retrieves the user specified minimum, maximum and differential temperatures from memory (EEPROM).<br />
The unit then measures the current temperature, and will activate the respective heating or cooling logic based on the current temperature (or do nothing if it is within bounds).<br />
If the temperature is above or below the min/max temperature by the differential, it will sound off 3 beeps and continue to take corrective measures.<br />
If the differential is set to 0, it will not sound the alarm.</p>
<p>There is also functionality to store the users parameters persistently between sessions.</p>
<p>Here&#8217;s what I have to make it do:<br />
Display the current temperature on the display (which I don&#8217;t have yet).<br />
Provide a configuration menu for the user to input the min/max/dif temperatures.<br />
Provide a configuration menu for the user to input the cycle time and jitter time (explained below).<br />
Port it from the development platform (Arduino) to a bog-standard microcontroller (PIC or AVR, or MSP430).<br />
Design &amp; Test the H-Bridge Circuitry.<br />
Get some circuit boards made <img src='http://hackdev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The cycle time is the delay the system pauses for at the end of each cycle, realistically this code could run thousands of times a second, and there is no need. So rather than do that and waste power, the circuit will sample every X number of seconds. (Currently hard set to 1 second)</p>
<p>The jitter time (or dampening time for you engineers!) is when the system changes state from heating to idle, idle to heating, idle to cooling, or cooling to idle. Ideally, this delay should be slightly longer than the normal cycle time to allow for some measurable change to take effect. This will also cut out on a temperature being a point of a degree off, activating another state, then deactivating the state almost straight away, and ending up being a point of a degree out again a second later. (Currently hard set to 5 seconds).</p>
<p>Are there any other features that you think I should implement? It will be easier to do now than when I have it all done and have to rework code to add a new feature&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://hackdev.com/2011/05/custom-fermentation-controller/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Just Applied&#8230;</title>
		<link>http://hackdev.com/2011/04/applied/</link>
		<comments>http://hackdev.com/2011/04/applied/#comments</comments>
		<pubDate>Mon, 04 Apr 2011 21:21:19 +0000</pubDate>
		<dc:creator>Gues7</dc:creator>
				<category><![CDATA[College]]></category>

		<guid isPermaLink="false">http://hackdev.com/?p=276</guid>
		<description><![CDATA[I&#8217;ve just applied to go back to college! I can&#8217;t wait to see if I get accepted, I really really hope I do. I have applied to go back and study computer science and finally go get the degree I &#8230; <a href="http://hackdev.com/2011/04/applied/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just applied to go back to college! I can&#8217;t wait to see if I get accepted, I really really hope I do. I have applied to go back and study computer science and finally go get the degree I have been missing my whole life.</p>
<p>I don&#8217;t really know what else to say on the matter :- kind of a short post so!</p>
<p>I&#8217;ll let you know how I get on, fingers crossed!</p>
]]></content:encoded>
			<wfw:commentRss>http://hackdev.com/2011/04/applied/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fair play to homebrew.ie</title>
		<link>http://hackdev.com/2011/01/fair-play-homebrew-ie/</link>
		<comments>http://hackdev.com/2011/01/fair-play-homebrew-ie/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 07:22:31 +0000</pubDate>
		<dc:creator>Gues7</dc:creator>
				<category><![CDATA[Home Brewing]]></category>

		<guid isPermaLink="false">http://hackdev.com/?p=274</guid>
		<description><![CDATA[I recently placed an order with homebrew.ie for some fermentation vessels, a glass carboy and a few demijohns, with these I also ordered the associated bungs and airlocks etc&#8230; to go along with the order. Unfortunately though, I ordered bungs &#8230; <a href="http://hackdev.com/2011/01/fair-play-homebrew-ie/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently placed an order with <a href="http://www.homebrew.ie">homebrew.ie</a> for some fermentation vessels, a glass carboy and a few demijohns, with these I also ordered the associated bungs and airlocks etc&#8230; to go along with the order. Unfortunately though, I ordered bungs are airlocks that are too small for the carboy (although correctly sized for the demijohns) &#8211; Disaster!</p>
<p>Not so however, a hawk eye watching over the orders spotted my mistake before it was packaged and shipped and fired me off an email before any damage was done to let me know the error of my ways and advised they could replace the incorrect parts with the correct parts on my order before it was shipped, and I would just pay the difference in price&#8230;</p>
<p>Top notch service, in my book at least.</p>
]]></content:encoded>
			<wfw:commentRss>http://hackdev.com/2011/01/fair-play-homebrew-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A few changes&#8230;</title>
		<link>http://hackdev.com/2011/01/changes/</link>
		<comments>http://hackdev.com/2011/01/changes/#comments</comments>
		<pubDate>Mon, 10 Jan 2011 18:44:46 +0000</pubDate>
		<dc:creator>Gues7</dc:creator>
				<category><![CDATA[Fixes / Patches]]></category>
		<category><![CDATA[Game Server]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Roll your own:]]></category>

		<guid isPermaLink="false">http://hackdev.com/?p=269</guid>
		<description><![CDATA[Howdy folks, firstly, there has been a lot of 3rd party development going on in relation to the black ops RCON tool, but none of it was by me. In fact, I found the game so infuriatingly laggy that I &#8230; <a href="http://hackdev.com/2011/01/changes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Howdy folks, firstly, there has been a lot of 3rd party development going on in relation to the black ops RCON tool, but none of it was by me. In fact, I found the game so infuriatingly laggy that I canceled my server so I no longer have anything to test on, as a result I have lost interest in the project and have closed the github repo; however, I will post the code here so anyone who wants it can take it and use it, do what ever you like with it under the MIT license.</p>
<p>RCON Source Code available <a title="http://hackdev.com/2011/01/changes/cod-bo_rcon/" href="http://hackdev.com/2011/01/changes/cod-bo_rcon/">here</a>.</p>
<p>I am also unemployed now <img src='http://hackdev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  IMHO it was a great move, as it will allow me to have a break from doing anything really for the first time since I started school when I was 4 or 5&#8230; it has also given me the push I needed to go back to college and train myself up .</p>
<p>I have been working on a few projects now too with my increase in available time, however I&#8217;m not going to say much about them at the moment in case I don&#8217;t finish em.</p>
]]></content:encoded>
			<wfw:commentRss>http://hackdev.com/2011/01/changes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RCON Repository</title>
		<link>http://hackdev.com/2010/11/rcon-repository/</link>
		<comments>http://hackdev.com/2010/11/rcon-repository/#comments</comments>
		<pubDate>Thu, 18 Nov 2010 22:47:11 +0000</pubDate>
		<dc:creator>Gues7</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://hackdev.com/?p=242</guid>
		<description><![CDATA[Hey Folks, Just a quick update. There is now a GIT Repository available at https://github.com/hackdev/CoD-BO-Tools &#8211; Still haven&#8217;t picked a license yet though&#8230;]]></description>
			<content:encoded><![CDATA[<p>Hey Folks, Just a quick update. There is now a GIT Repository available at <a title="GitHub" href="https://github.com/hackdev/CoD-BO-Tools">https://github.com/hackdev/CoD-BO-Tools</a> &#8211; Still haven&#8217;t picked a license yet though&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://hackdev.com/2010/11/rcon-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delays &amp; Licensing</title>
		<link>http://hackdev.com/2010/11/delays-licensing/</link>
		<comments>http://hackdev.com/2010/11/delays-licensing/#comments</comments>
		<pubDate>Thu, 18 Nov 2010 00:03:34 +0000</pubDate>
		<dc:creator>Gues7</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://hackdev.com/?p=238</guid>
		<description><![CDATA[I haven&#8217;t had too much time to work on the CoD:BO script much over the last few days as I have changed job as of Monday and am still trying to catch up, among other things, but I will definitely &#8230; <a href="http://hackdev.com/2010/11/delays-licensing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t had too much time to work on the CoD:BO script much over the last few days as I have changed job as of Monday and am still trying to catch up, among other things, but I will definitely be doing some more work on it fairly shortly. The following is what I would like to get done over the next few weeks, in no particular order&#8230;</p>
<ul>
<li>Add more functionality to it in order to provide access to kick/ban/modify rotation/etc&#8230;</li>
<li>Re-work current code into a class that can be included into custom applications (possibly as an installable extension) to make coding your own RCON solution much easier&#8230;</li>
<li>Do a full code review and implement correct error handling and status returns</li>
<li>Provide the ability for the functions to parse the returned data and have it only return the relevant stuff (makes it easier for people to accept the return values from the server)</li>
<li>Start a GitHub repository for the code base.</li>
<li>Figure out how to have a normal userland script interact with another script running as a daemon</li>
<li>Implement a script to show who&#8217;s online on the server at a given time (to be considered a demo)</li>
<li>Provide a &#8220;development area&#8221; for users to communicate easily and turn this into a real open source project (FOSS)</li>
</ul>
<p>Things for the future include, again in no particular order&#8230;</p>
<ul>
<li>Create a PHP based front end with the ability to store &#8220;pre-configurations&#8221; in mySQL and have them apply to the server at various times etc&#8230;</li>
<li>Full administration client with user level access&#8230;</li>
<li>Anything else awesome and fun that happens to take my interest.</li>
</ul>
<p>I can&#8217;t decide on what license to release the code under. At the moment, technically it&#8217;s not licensed at all, it is released for public viewing, not for use or modification or derivative works&#8230; Of course, I have no intentions of going and suing anybody over it, but it is an important issue that I believe has to be resolved. Unfortunately I don&#8217;t really know enough about the BSD vs GPL vs GPLv2 vs GPLv3 vs ASF vs [Insert continuous string of licenses here] argument to make an informed decision at the moment, but I do know I want it to be released under a license that is recognized by the OSI and the FSF &#8211; If you do have experience or a strong opinion on the license that this should be released under, please do fire me an email using the contact form (linked at the top of the page) or shoot me a message in the comment section.</p>
]]></content:encoded>
			<wfw:commentRss>http://hackdev.com/2010/11/delays-licensing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated Black Ops RCON</title>
		<link>http://hackdev.com/2010/11/updated-black-ops-rcon/</link>
		<comments>http://hackdev.com/2010/11/updated-black-ops-rcon/#comments</comments>
		<pubDate>Sun, 14 Nov 2010 16:39:50 +0000</pubDate>
		<dc:creator>Gues7</dc:creator>
				<category><![CDATA[Fixes / Patches]]></category>
		<category><![CDATA[Game Server]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Roll your own:]]></category>

		<guid isPermaLink="false">http://hackdev.com/?p=233</guid>
		<description><![CDATA[Hey folks, this is just a quick update to let you know I have still been working on this&#8230; as it stands I have implemented two functions which work, and one which doesn&#8217;t. Slowly but surely I will be adding &#8230; <a href="http://hackdev.com/2010/11/updated-black-ops-rcon/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hey folks, this is just a quick update to let you know I have still been working on this&#8230; as it stands I have implemented two functions which work, and one which doesn&#8217;t. Slowly but surely I will be adding more and more functionality&#8230; unfortunately I don&#8217;t have RCON access to an unranked server at the moment, would anyone like to oblige me on that? <img src='http://hackdev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I would also like to mention at this point, that I have not looked into causing errors on the RCON, ie invalid logins etc&#8230; so be warned, while most of this should work, I cannot and will not guarantee it. Also, it is written for Python 2.6, not 3.whatever&#8230; I will be getting a few more people on board to help with this soon and we will be cleaning it up, adding error handling etc&#8230;</p>
<p>Anyways, here is what you have all been waiting for&#8230;.</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">#!/usr/bin/python</span>
&nbsp;
<span style="color: #483d8b;">''</span><span style="color: #483d8b;">'
_______               ________      .___
<span style="color: #000099; font-weight: bold;">\ </span>  _  <span style="color: #000099; font-weight: bold;">\_</span>_  _  ______ <span style="color: #000099; font-weight: bold;">\_</span>____  <span style="color: #000099; font-weight: bold;">\ </span>  __| _/
/  /_<span style="color: #000099; font-weight: bold;">\ </span> <span style="color: #000099; font-weight: bold;">\ </span><span style="color: #000099; font-weight: bold;">\/</span> <span style="color: #000099; font-weight: bold;">\/</span> /    <span style="color: #000099; font-weight: bold;">\ </span> _(__  &amp;lt;  / __ |
<span style="color: #000099; font-weight: bold;">\ </span> <span style="color: #000099; font-weight: bold;">\_</span>/   <span style="color: #000099; font-weight: bold;">\ </span>    /   |  <span style="color: #000099; font-weight: bold;">\/</span>       <span style="color: #000099; font-weight: bold;">\/</span> /_/ |
 <span style="color: #000099; font-weight: bold;">\_</span>____  /<span style="color: #000099; font-weight: bold;">\/</span><span style="color: #000099; font-weight: bold;">\_</span>/|___|  /______  /<span style="color: #000099; font-weight: bold;">\_</span>___ |
       <span style="color: #000099; font-weight: bold;">\/</span>           <span style="color: #000099; font-weight: bold;">\/</span>       <span style="color: #000099; font-weight: bold;">\/</span>      <span style="color: #000099; font-weight: bold;">\/</span>
                    http://hackdev.com
&nbsp;
Author:
    Steven from hackdev.com
&nbsp;
File History:
    09/11/10:
        [+] Initial Inception. Proof of concept written entirely inline that
            allows for a single hard coded command to be sent to the server.
&nbsp;
    10/11/10:
        [+] Creation of functions to handle the sending and receiving of commands.
        [+] Added the ability for users to change passwords in the configuration
            section of the script.
        [+] Broke commands, preambles etc... into variables for easier use &amp;amp; modification.
        [+] Added comments, previous code did not contain comments. ** Important **
    14/11/10:
        [+] Added command boGetPlayerList
        [+] Added command boSayToServer
        [+] Added command boSayToPlayer
        [+] Figured out that not everything has to be done in <span style="color: #000099; font-weight: bold;">\x</span>68<span style="color: #000099; font-weight: bold;">\x</span>65<span style="color: #000099; font-weight: bold;">\x</span>78
&nbsp;
'</span><span style="color: #483d8b;">''</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">socket</span>       <span style="color: #808080; font-style: italic;">#Used for creating the UDP sockets</span>
&nbsp;
<span style="color: #808080; font-style: italic;">#-----------------------------------------------------------------------------------</span>
<span style="color: #808080; font-style: italic;">#   User Configurable Options</span>
<span style="color: #808080; font-style: italic;">#-----------------------------------------------------------------------------------</span>
&nbsp;
boHost          = <span style="color: #483d8b;">&quot;&quot;</span>      <span style="color: #808080; font-style: italic;">#The server IP</span>
boPort          = <span style="color: #ff4500;">3074</span>                  <span style="color: #808080; font-style: italic;">#The server Port</span>
boPassword      = <span style="color: #483d8b;">&quot;&quot;</span>              <span style="color: #808080; font-style: italic;">#The RCON Password</span>
&nbsp;
<span style="color: #808080; font-style: italic;">#-----------------------------------------------------------------------------------</span>
<span style="color: #808080; font-style: italic;">#   End User Configurable Options</span>
<span style="color: #808080; font-style: italic;">#-----------------------------------------------------------------------------------</span>
&nbsp;
svrAddress = <span style="color: black;">&#40;</span>boHost, boPort<span style="color: black;">&#41;</span>           <span style="color: #808080; font-style: italic;">#Used to create a tuple of host &amp;amp; port</span>
&nbsp;
<span style="color: #808080; font-style: italic;">#-----------------------------------------------------------------------------------</span>
<span style="color: #808080; font-style: italic;">#   Command Definitions, sorry about the variables :(</span>
<span style="color: #808080; font-style: italic;">#-----------------------------------------------------------------------------------</span>
<span style="color: #ff7700;font-weight:bold;">global</span> cmdPreamble
cmdPreamble  = <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>00&quot;</span>                       <span style="color: #808080; font-style: italic;">#Preamble used to prefix the packet</span>
<span style="color: #ff7700;font-weight:bold;">global</span> cmdSeporator
cmdSeporator = <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>20&quot;</span>                                       <span style="color: #808080; font-style: italic;">#Seporator used between password &amp;amp; command</span>
<span style="color: #ff7700;font-weight:bold;">global</span> cmdPostamble
cmdPostamble = <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\0</span>0&quot;</span>                                        <span style="color: #808080; font-style: italic;">#Ending of the packet, end of command</span>
&nbsp;
<span style="color: #808080; font-style: italic;">#-----------------------------------------------------------------------------------</span>
<span style="color: #808080; font-style: italic;">#   Socket Generation</span>
<span style="color: #808080; font-style: italic;">#-----------------------------------------------------------------------------------</span>
udpSock = <span style="color: #dc143c;">socket</span>.<span style="color: #dc143c;">socket</span><span style="color: black;">&#40;</span><span style="color: #dc143c;">socket</span>.<span style="color: black;">AF_INET</span>, <span style="color: #dc143c;">socket</span>.<span style="color: black;">SOCK_DGRAM</span><span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">#-----------------------------------------------------------------------------------</span>
<span style="color: #808080; font-style: italic;">#   Function used to send commands to the server, function returns the</span>
<span style="color: #808080; font-style: italic;">#   data returned from the query, unformatted...</span>
<span style="color: #808080; font-style: italic;">#-----------------------------------------------------------------------------------</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">def</span> boSendCommand<span style="color: black;">&#40;</span>boCommand, boArgument=<span style="color: #ff4500;">0</span>, recvBufferSize=<span style="color: #ff4500;">4096</span><span style="color: black;">&#41;</span>:
    <span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #ff7700;font-weight:bold;">not</span> boArgument:
        commandBuffer = cmdPreamble + boPassword + cmdSeporator + boCommand + cmdPostamble
    <span style="color: #ff7700;font-weight:bold;">else</span>:
        commandBuffer = cmdPreamble + boPassword + cmdSeporator + boCommand + cmdSeporator + boArgument + cmdPostamble
    boSentBytes = udpSock.<span style="color: black;">sendto</span><span style="color: black;">&#40;</span>commandBuffer, svrAddress<span style="color: black;">&#41;</span>     <span style="color: #808080; font-style: italic;">#Send the data to the server</span>
    <span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: black;">&#40;</span>boSentBytes <span style="color: #66cc66;">&amp;</span>lt<span style="color: #66cc66;">;</span> <span style="color: #008000;">len</span><span style="color: black;">&#40;</span>commandBuffer<span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>:                      <span style="color: #808080; font-style: italic;">#Check the num of bytes sent</span>
        <span style="color: #ff7700;font-weight:bold;">print</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;An error was encountered while sending the command %s&quot;</span>, boCommand<span style="color: black;">&#41;</span>
    boRecvBuffer = udpSock.<span style="color: black;">recv</span><span style="color: black;">&#40;</span>recvBufferSize<span style="color: black;">&#41;</span>                 <span style="color: #808080; font-style: italic;">#Receive the data returned</span>
&nbsp;
    <span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #008000;">len</span><span style="color: black;">&#40;</span>boRecvBuffer<span style="color: black;">&#41;</span> <span style="color: #66cc66;">&amp;</span>gt<span style="color: #66cc66;">;</span> <span style="color: #ff4500;">0</span>:                                   <span style="color: #808080; font-style: italic;">#Check to ensure there is something</span>
        <span style="color: #ff7700;font-weight:bold;">return</span> boRecvBuffer                                     <span style="color: #808080; font-style: italic;">#Return the buffer</span>
    <span style="color: #ff7700;font-weight:bold;">else</span>:
        <span style="color: #ff7700;font-weight:bold;">return</span> <span style="color: #ff4500;">0</span>                                                <span style="color: #808080; font-style: italic;">#If theres nothing, return 0</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">def</span> boGetPlayerList<span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>:
    playerlist = boSendCommand<span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;teamstatus&quot;</span><span style="color: black;">&#41;</span>
    <span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #ff7700;font-weight:bold;">not</span> playerlist:
        <span style="color: #ff7700;font-weight:bold;">return</span> <span style="color: #ff4500;">0</span>
    <span style="color: #ff7700;font-weight:bold;">else</span>:
        <span style="color: #ff7700;font-weight:bold;">return</span> playerlist
&nbsp;
<span style="color: #ff7700;font-weight:bold;">def</span> boSayToServer<span style="color: black;">&#40;</span>message<span style="color: black;">&#41;</span>:
    <span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #ff7700;font-weight:bold;">not</span> message:
        <span style="color: #ff7700;font-weight:bold;">return</span> <span style="color: #ff4500;">0</span>
    <span style="color: #ff7700;font-weight:bold;">else</span>:
        servermessage = boSendCommand<span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;say&quot;</span>, <span style="color: #483d8b;">'&quot;'</span> + message + <span style="color: #483d8b;">'&quot;'</span><span style="color: black;">&#41;</span>
        <span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #ff7700;font-weight:bold;">not</span> servermessage:
            <span style="color: #ff7700;font-weight:bold;">return</span> <span style="color: #ff4500;">0</span>
        <span style="color: #ff7700;font-weight:bold;">else</span>:
            <span style="color: #ff7700;font-weight:bold;">return</span> servermessage
&nbsp;
<span style="color: #ff7700;font-weight:bold;">def</span> boSayToPlayer<span style="color: black;">&#40;</span>message, playerID<span style="color: black;">&#41;</span>:
    <span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #ff7700;font-weight:bold;">not</span> message <span style="color: #ff7700;font-weight:bold;">or</span> <span style="color: #ff7700;font-weight:bold;">not</span> playerID:
        <span style="color: #ff7700;font-weight:bold;">return</span> <span style="color: #ff4500;">0</span>
    <span style="color: #ff7700;font-weight:bold;">else</span>:
        playermessage = boSendCommand<span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;tell&quot;</span>, playerID + <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>20&quot;</span> + <span style="color: #483d8b;">'&quot;'</span> + message + <span style="color: #483d8b;">'&quot;'</span><span style="color: black;">&#41;</span>
        <span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #ff7700;font-weight:bold;">not</span> playermessage:
            <span style="color: #ff7700;font-weight:bold;">return</span> <span style="color: #ff4500;">0</span>
        <span style="color: #ff7700;font-weight:bold;">else</span>:
            <span style="color: #ff7700;font-weight:bold;">return</span> playermessage
&nbsp;
<span style="color: #ff7700;font-weight:bold;">print</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;Playerlist&quot;</span><span style="color: black;">&#41;</span>
myPlayerList = boGetPlayerList<span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
<span style="color: #ff7700;font-weight:bold;">print</span><span style="color: black;">&#40;</span>myPlayerList<span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">print</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;Server Message&quot;</span><span style="color: black;">&#41;</span>
myServerMessage = boSayToServer<span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;Testing!&quot;</span><span style="color: black;">&#41;</span>
<span style="color: #ff7700;font-weight:bold;">print</span><span style="color: black;">&#40;</span>myServerMessage<span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">print</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;Player Message&quot;</span><span style="color: black;">&#41;</span>
myPlayerMessage = boSayToPlayer<span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;Testing 123&quot;</span>, <span style="color: #483d8b;">&quot;1&quot;</span><span style="color: black;">&#41;</span>
<span style="color: #ff7700;font-weight:bold;">print</span><span style="color: black;">&#40;</span>myPlayerMessage<span style="color: black;">&#41;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://hackdev.com/2010/11/updated-black-ops-rcon/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Call Of Duty : Black Ops RCON Hacked! Kinda&#8230;</title>
		<link>http://hackdev.com/2010/11/call-of-duty-black-ops-cracked/</link>
		<comments>http://hackdev.com/2010/11/call-of-duty-black-ops-cracked/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 02:40:31 +0000</pubDate>
		<dc:creator>Gues7</dc:creator>
				<category><![CDATA[Fixes / Patches]]></category>
		<category><![CDATA[Game Server]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Roll your own:]]></category>

		<guid isPermaLink="false">http://hackdev.com/?p=221</guid>
		<description><![CDATA[Yes, thats right folks, following a bit of a hacking session with the CoD:BO RCON client and wireshark, I now have some Python code that is capable of logging into the RCON on a CoD:BO server! AFAIK, I am the &#8230; <a href="http://hackdev.com/2010/11/call-of-duty-black-ops-cracked/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Yes, thats right folks, following a bit of a hacking session with the CoD:BO RCON client and wireshark, I now have some Python code that is capable of logging into the RCON on a CoD:BO server!</p>
<p>AFAIK, I am the first person in the world outside of treyarch to have done this and I have elected to share this with all of you, it may not be clean, and it may not be fancy&#8230; but damn it it works! (Its late and I haven&#8217;t slept&#8230;) Please keep in mind that the hostname and login message have been removed from the script as they contain identifiable information for my server. Enjoy this, and happy hacking! &#8211; I would also like to point out I wouldn&#8217;t have done this, at least as quickly, if it wasn&#8217;t for Ajurna of the mighty IrishPirates!</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">#</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">socket</span>
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">string</span>
&nbsp;
boHost = <span style="color: #483d8b;">&quot;&quot;</span>
boPort = <span style="color: #ff4500;">3074</span>
boAddr = <span style="color: black;">&#40;</span>boHost, boPort<span style="color: black;">&#41;</span>
&nbsp;
boLoginMsg = <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>00___OMITTED____<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>64<span style="color: #000099; font-weight: bold;">\x</span>76<span style="color: #000099; font-weight: bold;">\x</span>61<span style="color: #000099; font-weight: bold;">\x</span>72<span style="color: #000099; font-weight: bold;">\x</span>6c<span style="color: #000099; font-weight: bold;">\x</span>69<span style="color: #000099; font-weight: bold;">\x</span>73<span style="color: #000099; font-weight: bold;">\x</span>74<span style="color: #000099; font-weight: bold;">\x</span>00&quot;</span>
&nbsp;
udpSock = <span style="color: #dc143c;">socket</span>.<span style="color: #dc143c;">socket</span><span style="color: black;">&#40;</span><span style="color: #dc143c;">socket</span>.<span style="color: black;">AF_INET</span>, <span style="color: #dc143c;">socket</span>.<span style="color: black;">SOCK_DGRAM</span><span style="color: black;">&#41;</span>
boSentBytes = udpSock.<span style="color: black;">sendto</span><span style="color: black;">&#40;</span>boLoginMsg, boAddr<span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: black;">&#40;</span>boSentBytes <span style="color: #66cc66;">&lt;</span> <span style="color: #008000;">len</span><span style="color: black;">&#40;</span>boLoginMsg<span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>:
    <span style="color: #ff7700;font-weight:bold;">print</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;Message not sent...&quot;</span><span style="color: black;">&#41;</span>
<span style="color: #ff7700;font-weight:bold;">else</span>:
    <span style="color: #ff7700;font-weight:bold;">print</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;Message sent...&quot;</span><span style="color: black;">&#41;</span>
&nbsp;
boRecv = udpSock.<span style="color: black;">recv</span><span style="color: black;">&#40;</span><span style="color: #ff4500;">4096</span><span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #008000;">len</span><span style="color: black;">&#40;</span>boRecv<span style="color: black;">&#41;</span> <span style="color: #66cc66;">&gt;</span> <span style="color: #ff4500;">0</span>:
    <span style="color: #ff7700;font-weight:bold;">print</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;Received &quot;</span>, boRecv<span style="color: black;">&#41;</span>
<span style="color: #ff7700;font-weight:bold;">else</span>:
    <span style="color: #ff7700;font-weight:bold;">print</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;Received Nothing...&quot;</span><span style="color: black;">&#41;</span>
&nbsp;
udpSock.<span style="color: black;">close</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
&nbsp;
fileHandler = <span style="color: #008000;">open</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;out.txt&quot;</span>, <span style="color: #483d8b;">&quot;w&quot;</span><span style="color: black;">&#41;</span>
<span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #66cc66;">&gt;&gt;</span> fileHandler, boRecv</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://hackdev.com/2010/11/call-of-duty-black-ops-cracked/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>New theme for a new server!</title>
		<link>http://hackdev.com/2010/10/new-theme-for-a-new-server/</link>
		<comments>http://hackdev.com/2010/10/new-theme-for-a-new-server/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 22:28:41 +0000</pubDate>
		<dc:creator>Gues7</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Roll your own:]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://hackdev.com/?p=219</guid>
		<description><![CDATA[Howdy Folks, I have been working hard here in the background getting rid of all of my hosting accounts and consolidating everything into one (relatively) easy to manage VPS or Virtual Private Server which I got for cheap from the &#8230; <a href="http://hackdev.com/2010/10/new-theme-for-a-new-server/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Howdy Folks,</p>
<p>I have been working hard here in the background getting rid of all of my hosting accounts and consolidating everything into one (relatively) easy to manage VPS or Virtual Private Server which I got for cheap from the guys (and presumably girls) at <a title="ThrustVPS.com" href="https://clients.thrustvps.com/aff.php?aff=152">ThrustVPS</a> who seem to be running  tight ship, I don&#8217;t have any stats on uptime or that so far; but everything has gone smoothly. And when they say instant setup, they mean it.</p>
<p>Thats enough of plugging someone else&#8217;s company for now&#8230; not that I have my own to run&#8230; yet. I have managed so far to implement a custom firewall that suits my needs quite nicely, my own email system, the general webserver / mySQL server etc&#8230; and all seems to be running very smoothly for such a cheap box, I do intend however to document all of the install processes I have gone through to get this far, and if your really nice, I might even share my custom backup script with y&#8217;all.</p>
<p>Anyways, I just said I would pop on and give a quick update before I get to bed for work.</p>
]]></content:encoded>
			<wfw:commentRss>http://hackdev.com/2010/10/new-theme-for-a-new-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

