<?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>Hypn.za.net &#187; hacks</title>
	<atom:link href="http://www.hypn.za.net/blog/category/programming/hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hypn.za.net/blog</link>
	<description>Games, programming, and general geekyness =)</description>
	<lastBuildDate>Fri, 27 Jan 2012 09:37:46 +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>Twitter Avatar Image Hackery</title>
		<link>http://www.hypn.za.net/blog/2012/01/12/twitter-avatar-image-hackery/</link>
		<comments>http://www.hypn.za.net/blog/2012/01/12/twitter-avatar-image-hackery/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 16:25:38 +0000</pubDate>
		<dc:creator>Hypn</dc:creator>
				<category><![CDATA[hacks]]></category>

		<guid isPermaLink="false">http://www.hypn.za.net/blog/?p=588</guid>
		<description><![CDATA[Twitter does something I consider to be poor security-wise&#8230; not renaming, or removing EXIF information from, uploaded avatar images. There are a few potential security issues around this, all of which I&#8217;ve personally come across: The image might be named with the person&#8217;s first and last name &#8211; potentially disclosing more information than they intended [...]]]></description>
			<content:encoded><![CDATA[<p>Twitter does something I consider to be poor security-wise&#8230; not renaming, or removing EXIF information from, uploaded avatar images. There are a few potential security issues around this, all of which I&#8217;ve personally come across:</p>
<ol>
<li>The image might be named with the person&#8217;s first and last name &#8211; potentially disclosing more information than they intended to in their Twitter profile</li>
<li>Many people download their Facebook Profile picture to use on Twitter  &#8211; Facebook renames uploaded files to include the Facebook user ID, allowing you to easily find their Facebook profile (as opposed to trying to search on their first and last name)</li>
<li>If the original filename is unique enough you can often find other related pictures just by Goolging</li>
<li>You can use something like <a title="Jeffrey's Exif viewer" href="http://www.google.co.za/url?sa=t&amp;rct=j&amp;q=online%20exif&amp;source=web&amp;cd=1&amp;ved=0CCAQFjAA&amp;url=http%3A%2F%2Fregex.info%2Fexif.cgi&amp;ei=TggPT7WfJsiEhQeO36SQAg&amp;usg=AFQjCNENO9_6UzvwIrY7qcAGyJNyl0MtJg&amp;sig2=AvAqkHLlI8DRAm0KaeVNLw&amp;cad=rja" target="_blank">Jeffrey&#8217;s Exif viewer</a> to extract EXIF information from the image &#8211; often telling you what type of camera/phone the user has</li>
</ol>
<p>Sure, they&#8217;re small things, but for anyone wanting to Social Engineer the target it could certainly help. The frustrating part: it would take only few lines of code for Twitter to prevent this, and it really is (in my opinion) a &#8220;best practice&#8221; they&#8217;re simply not bothering to follow.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypn.za.net/blog/2012/01/12/twitter-avatar-image-hackery/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SQLite mischief (password stealing) via custom DLL</title>
		<link>http://www.hypn.za.net/blog/2011/08/20/sqlite-mischief-password-stealing-via-custom-dll/</link>
		<comments>http://www.hypn.za.net/blog/2011/08/20/sqlite-mischief-password-stealing-via-custom-dll/#comments</comments>
		<pubDate>Sat, 20 Aug 2011 07:45:43 +0000</pubDate>
		<dc:creator>Hypn</dc:creator>
				<category><![CDATA[hacks]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.hypn.za.net/blog/?p=509</guid>
		<description><![CDATA[There&#8217;s a (Windows) program I use that stores it&#8217;s data in SQLite files&#8230; password protected SQLite files&#8230; and I&#8217;d really like to take a look inside of them. I&#8217;ve tried looking for the password as an embedded text string, I&#8217;ve tried decompiling the .Net code (with Reflector &#8211; but it&#8217;s obfuscated), and I&#8217;ve tried attaching [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a (Windows) program I use that stores it&#8217;s data in SQLite files&#8230; password protected SQLite files&#8230; and I&#8217;d really like to take a look inside of them. I&#8217;ve tried looking for the password as an embedded text string, I&#8217;ve tried decompiling the .Net code (with Reflector &#8211; but it&#8217;s obfuscated), and I&#8217;ve tried attaching a debugger and stepping through tons of ASM code, but still haven&#8217;t been able to find the password.</p>
<p>During a mild case of insomnia I had another thought on cracking/bypassing SQLite password protection: what if (in the case where the app uses a .dll file, rather than statically linking the library) I just downloaded the SQLite source code, added &#8220;logging&#8221; of sorts to each of the main functions (&#8220;login&#8221;, executing queries, etc), compiled it, and replaced the application&#8217;s version with mine &#8211; the DLL would basically just output the database&#8217;s password for me, in plain text, perfect for opening it with something like SQLiteSpy :D</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypn.za.net/blog/2011/08/20/sqlite-mischief-password-stealing-via-custom-dll/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SanDisk 2-in-1 memory card and USB</title>
		<link>http://www.hypn.za.net/blog/2011/08/18/sandisk-2-in-1-memory-card-and-usb/</link>
		<comments>http://www.hypn.za.net/blog/2011/08/18/sandisk-2-in-1-memory-card-and-usb/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 23:00:49 +0000</pubDate>
		<dc:creator>Hypn</dc:creator>
				<category><![CDATA[hacks]]></category>

		<guid isPermaLink="false">http://www.hypn.za.net/blog/?p=504</guid>
		<description><![CDATA[I might be a bit late to the party, but I&#8217;ve just found out about SanDisk&#8217;s &#8220;2-in1&#8243; memory cards, which I think are awesome. They look and work just like a regular SD card (think digital cameras, etc) but fold half of it down and it reveals a USB adapter, ready to be plugged straight [...]]]></description>
			<content:encoded><![CDATA[<p>I might be a bit late to the party, but I&#8217;ve just found out about SanDisk&#8217;s &#8220;2-in1&#8243; memory cards, which I think are awesome. They look and work just like a regular SD card (think digital cameras, etc) but fold half of it down and it reveals a USB adapter, ready to be plugged straight in to your computer:</p>
<p><center><img src="http://hypn.za.net/images/SanDisk%202in1.jpg" alt="" /></center></p>
<p>What&#8217;s so great about this, you ask? Well, I&#8217;d imagine it&#8217;s far easier to keep one of these in your wallet than to carry a flash drive around with you everywhere (and I prefer to keep my keyring as small as possible so I&#8217;m not fond of attaching a flash drive to it). It also has a hardware &#8220;read only&#8221; lock (at least judging by the pictures), so no more &#8220;autorun&#8221; viruses when plugging in to infected machines, and you could boot an OS off of it and not worry about becoming infected or backdoor&#8217;ed (at least not past a reboot) when visting places like Defcon ;)</p>
<p>Selling for <a href="http://www.amazon.com/SanDisk-Ultra-Plus-2GB-Card/dp/B000EWI8IK">$13 from Amazon</a> (for the 2GB), I definitely think I&#8217;m going to get myself one!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypn.za.net/blog/2011/08/18/sandisk-2-in-1-memory-card-and-usb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FaceWound hacks</title>
		<link>http://www.hypn.za.net/blog/2008/04/06/facewound-hacks/</link>
		<comments>http://www.hypn.za.net/blog/2008/04/06/facewound-hacks/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 19:31:59 +0000</pubDate>
		<dc:creator>Hypn</dc:creator>
				<category><![CDATA[games]]></category>
		<category><![CDATA[hacks]]></category>

		<guid isPermaLink="false">http://www.hypn.za.net/blog/?p=19</guid>
		<description><![CDATA[There&#8217;s a game called &#8220;FaceWound&#8220;, a (self-titled) &#8220;Zombie Murder Simulator&#8220;, which the author of Garry&#8217;s Mod has been working on for a few years. He recently released the latest version for free, though he says &#8220;it&#8217;s totally unfinished, unpolished and should be treated with the same attitude you’d treat a leaked alpha with&#8221; &#8211; despite [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a game called &#8220;<a href="http://www.garry.tv/?p=512" target="_blank">FaceWound</a>&#8220;, a (self-titled) &#8220;<em>Zombie Murder Simulator</em>&#8220;, which the author of <a href="http://www.garrysmod.com" target="_blank">Garry&#8217;s Mod</a> has been working on for a few years. He recently <a href="http://www.garry.tv/?p=512" target="_blank">released the latest version</a> for free, though he says &#8220;<em>it&#8217;s totally unfinished, unpolished and should be treated with the same attitude you’d treat a leaked alpha with</em>&#8221; &#8211; despite this it&#8217;s suprisingly bug-free, and fully playable (not to mention lots of fun).</p>
<p>So far the only thing people seem to be moaning about is that you don&#8217;t get extra lives or health during the game, making it rather difficult to finish. There have also been requests for &#8220;Infinite Lives&#8221; and &#8220;Infinite Ammo&#8221; cheats for it &#8211; so I decided to make some hacks ;)</p>
<p><span id="more-19"></span></p>
<p>The &#8220;Patches&#8221; make changes directly to the game files, and can be used in conjunction with each other. You can also undo the changes made to your game file.</p>
<p><strong><a href="http://www.hypn.za.net/downloads/facewound/fwound-patch-infinite-EVERYTHING.exe">Infinite Lives, Health, Ammo and Energy Patch</a></strong> (or you can download the patches individually: <a href="http://www.hypn.za.net/downloads/facewound/fwound-patch-infinite-lives.exe">Infinite Lives Patch</a>, <a href="http://www.hypn.za.net/downloads/facewound/fwound-patch-infinite-health.exe">Infinite Health Patch</a>, <a href="http://www.hypn.za.net/downloads/facewound/fwound-patch-infinite-ammo.exe">Infinite Ammo Patch</a>, <a href="http://www.hypn.za.net/downloads/facewound/fwound-patch-infinite-energy.exe">Infinite Energy Patch)</a></p>
<p><strong>UPDATE (08 April 2008):</strong> I&#8217;ve created a patch which gives you an extra life every 4000 score points &#8211; you should be able to get an extra life half way through the second level, and a second extra life near the beginning of the third level&#8230; though I think it&#8217;ll be easier to get extra lives on the later levels. Download: <strong><a href="http://www.hypn.za.net/downloads/facewound/FaceWound extra lives.exe" target="_self">Facewound extra lives</a></strong> (5.95kb)</p>
<p>Also made a patch to fix a bug, where selecting &#8220;New Game&#8221; from the menu while in a game doesn&#8217;t reset your score back to 0. Download: <strong><a href="http://www.hypn.za.net/downloads/facewound/FaceWound score fix.exe" target="_self">FaceWound (new game) score fix</a></strong> (5.80kb)</p>
<p><strong>UPDATE (09 April 2008):</strong> One of the guys on the official FaceWound forums (Im Crimson) <a href="http://forums.facepunchstudios.com/showthread.php?t=521557#post9590442" target="_blank">asked if I could make a patch</a> to give you more plutonium so you can buy more weapons, so here they are: <strong><a href="http://www.hypn.za.net/downloads/facewound/FaceWound%20double%20plutonium.exe" target="_self">FaceWound Double plutonium</a></strong> (5.77kb) and <strong><a href="http://www.hypn.za.net/downloads/facewound/FaceWound%20triple%20plutonium.exe" target="_self">FaceWound Triple plutonium</a></strong> (5.76kb) :D</p>
<p><strong>UPDATE (10 April 2008):</strong> More hacks, and this page is becoming a real mess. Inspired by <a href="http://forums.facepunchstudios.com/showthread.php?t=520843" target="_blank">Mariowound &#8211; A Mario mod for Facewound</a> (which is awesome), I thought I&#8217;d look into FaceWound&#8217;s jumping and collision detection, to try and hack it so those coin-boxes could actually work&#8230; instead I ended up with some jump hacks which might (though probably not) come in handy for someone, somewhere, one day: <strong><a href="http://www.hypn.za.net/downloads/facewound/FaceWound%20half-height%20jumps.exe" target="_self">FaceWound half-height jumping</a></strong>, <strong><a href="http://www.hypn.za.net/downloads/facewound/FaceWound%20double-height%20jumps.exe" target="_self">FaceWound double-height jumping</a></strong>, <strong><a href="http://www.hypn.za.net/downloads/facewound/FaceWound%20infinite%20jumps.exe" target="_self">FaceWound infinite jumping</a></strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypn.za.net/blog/2008/04/06/facewound-hacks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

