<?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>Ben Maynard&#039;s blog about anything &#187; Ben Maynard</title>
	<atom:link href="http://blog.visionsource.org/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.visionsource.org</link>
	<description>I swear this blog is different from the others!</description>
	<lastBuildDate>Fri, 27 Aug 2010 20:37:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Mining passwords from public GitHub repositories</title>
		<link>http://blog.visionsource.org/2010/08/28/mining-passwords-from-public-github-repositories/</link>
		<comments>http://blog.visionsource.org/2010/08/28/mining-passwords-from-public-github-repositories/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 20:36:59 +0000</pubDate>
		<dc:creator>Ben Maynard</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[mining passwords]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blog.visionsource.org/?p=118</guid>
		<description><![CDATA[I was on GitHub today, and I had a thought about mining database, account and server passwords of public repositories where the developer has forgotten to remove the password from the source code before pushing to the public repository. I did a simple test using GitHub&#8217;s search using certain keywords eg: root password (http://github.com/search?type=Code&#38;language=&#38;q=root+password&#38;repo=&#38;langOverride=&#38;x=0&#38;y=0&#38;start_value=1) db_password [...]]]></description>
			<content:encoded><![CDATA[<p>I was on GitHub today, and I had a thought about mining database, account and server passwords of public repositories where the developer has forgotten to remove the password from the source code before pushing to the public repository.</p>
<p>I did a simple test using GitHub&#8217;s search using certain keywords eg:</p>
<ul>
<li>root password (<a href="http://github.com/search?type=Code&amp;language=&amp;q=root+password&amp;repo=&amp;langOverride=&amp;x=0&amp;y=0&amp;start_value=1" target="_blank">http://github.com/search?type=Code&amp;language=&amp;q=root+password&amp;repo=&amp;langOverride=&amp;x=0&amp;y=0&amp;start_value=1</a>)</li>
<li>db_password (<a href="http://github.com/search?type=Code&amp;language=&amp;q=db_password&amp;repo=&amp;langOverride=&amp;x=0&amp;y=0&amp;start_value=1">http://github.com/search?type=Code&amp;language=&amp;q=db_password&amp;repo=&amp;langOverride=&amp;x=0&amp;y=0&amp;start_value=1</a>)</li>
<li>db_pass (<a href="http://github.com/search?type=Code&amp;language=&amp;q=db_pass&amp;repo=&amp;langOverride=&amp;x=0&amp;y=0&amp;start_value=1" target="_blank">http://github.com/search?type=Code&amp;language=&amp;q=db_pass&amp;repo=&amp;langOverride=&amp;x=0&amp;y=0&amp;start_value=1</a>)</li>
<li>server password (<a href="http://github.com/search?langOverride=&amp;language=&amp;q=server+password&amp;repo=&amp;start_value=1&amp;type=Code&amp;x=0&amp;y=0" target="_blank">http://github.com/search?langOverride=&amp;language=&amp;q=server+password&amp;repo=&amp;start_value=1&amp;type=Code&amp;x=0&amp;y=0</a>)</li>
</ul>
<p>It only takes you to go through about 10 pages of search results (&#8220;root password&#8221; has over 10,000 results) and you can see a few password&#8217;s that look like real. GitHub do have an article about remove sensitive data (http://help.github.com/removing-sensitive-data/) but also has a good statement line saying &#8220;Once the commit has been pushed you should consider the data to be compromised. Period.&#8221; which is very true but it seems there are alot of developers out there that our committing there passwords. I wonder how many hackers have prowled through GitHub looking for passwords and in result successfully been able to pull of an attack.</p>
<p>However, the best search term is &#8220;gmail password&#8221; (<a href="http://github.com/search?type=Code&amp;language=&amp;q=gmail+password&amp;repo=&amp;langOverride=&amp;x=0&amp;y=0&amp;start_value=1" target="_blank">http://github.com/search?type=Code&amp;language=&amp;q=gmail+password&amp;repo=&amp;langOverride=&amp;x=0&amp;y=0&amp;start_value=1</a>) which as you can see, the first result looks like a real gmail password. I haven&#8217;t tested any of these passwords but I&#8217;m sure there is plenty of real passwords that developers have committed.</p>
<p>So remember, DON&#8217;T COMMIT YOUR PASSWORDS!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.visionsource.org/2010/08/28/mining-passwords-from-public-github-repositories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iniReader &#8211; Simple C++ configuration file parser</title>
		<link>http://blog.visionsource.org/2010/08/28/inireader-simple-c-configuration-file-parser/</link>
		<comments>http://blog.visionsource.org/2010/08/28/inireader-simple-c-configuration-file-parser/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 19:41:58 +0000</pubDate>
		<dc:creator>Ben Maynard</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[CPUHog]]></category>
		<category><![CDATA[inireader]]></category>

		<guid isPermaLink="false">http://blog.visionsource.org/?p=116</guid>
		<description><![CDATA[I have created a very simple C++ class that will parse a configuration file and return the value of the request key. You can get the code from http://github.com/bmaynard/iniReader. I created this class for my CPUHog application (http://github.com/bmaynard/CPUHog) which records CPU and memory usage of applications running so you can find out which processes where [...]]]></description>
			<content:encoded><![CDATA[<p>I have created a very simple C++ class that will parse a configuration file and return the value of the request key. You can get the code from <a href="http://github.com/bmaynard/iniReader" target="_blank">http://github.com/bmaynard/iniReader</a>.</p>
<p>I created this class for my CPUHog application (<a href="http://github.com/bmaynard/CPUHog" target="_blank">http://github.com/bmaynard/CPUHog</a>) which records CPU and memory usage of applications running so you can find out which processes where hogging your CPU time.</p>
<p>Please feel free to leave feedback if you have any suggestions or problems. I do plan on make the class more powerful as its very simple at the moment.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.visionsource.org/2010/08/28/inireader-simple-c-configuration-file-parser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The most craziest captcha&#8230;.EVER!</title>
		<link>http://blog.visionsource.org/2010/08/14/the-most-craziest-captcha-ever/</link>
		<comments>http://blog.visionsource.org/2010/08/14/the-most-craziest-captcha-ever/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 01:13:32 +0000</pubDate>
		<dc:creator>Ben Maynard</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[captcha]]></category>

		<guid isPermaLink="false">http://blog.visionsource.org/?p=113</guid>
		<description><![CDATA[I have been meaning to blog about this for over a year now, but check out the captcha on this website: http://linksave.in/register. That is one way on how NOT to do captcha, but very interesting and I wonder how spam bots go with it.]]></description>
			<content:encoded><![CDATA[<p>I have been meaning to blog about this for over a year now, but check out the captcha on this website: <a href="http://linksave.in/register" target="_blank">http://linksave.in/register</a>.</p>
<p>That is one way on how NOT to do captcha, but very interesting and I wonder how spam bots go with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.visionsource.org/2010/08/14/the-most-craziest-captcha-ever/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>NFS Manager</title>
		<link>http://blog.visionsource.org/2010/08/11/nfs-manager/</link>
		<comments>http://blog.visionsource.org/2010/08/11/nfs-manager/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 03:42:24 +0000</pubDate>
		<dc:creator>Ben Maynard</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[nfs manager]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://blog.visionsource.org/?p=110</guid>
		<description><![CDATA[I have been playing around with python and django the last coupon of weeks and I have created a NFS Manager module. You can grab the source code from: http://github.com/bmaynard/NFSManager It is fairly basic at the moment and I havn&#8217;t implement all the options available for NFS but you can manage several servers from one [...]]]></description>
			<content:encoded><![CDATA[<p>I have been playing around with python and django the last coupon of weeks and I have created a NFS Manager module. You can grab the source code from: http://github.com/bmaynard/NFSManager</p>
<p>It is fairly basic at the moment and I havn&#8217;t implement all the options available for NFS but you can manage several servers from one place <img src='http://blog.visionsource.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . To use the module, you create new servers, then setup the shared directories and clients. After you have set everything up you can go to the server list and push the changes across from the action drop down.</p>
<p>If you have any comments or suggestions then please leave a comment, I would like to try and make the module more powerful.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.visionsource.org/2010/08/11/nfs-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pwnie Awards</title>
		<link>http://blog.visionsource.org/2010/07/24/pwnie-awards/</link>
		<comments>http://blog.visionsource.org/2010/07/24/pwnie-awards/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 04:55:48 +0000</pubDate>
		<dc:creator>Ben Maynard</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[csrf]]></category>
		<category><![CDATA[OpenCart]]></category>

		<guid isPermaLink="false">http://blog.visionsource.org/?p=107</guid>
		<description><![CDATA[I was reading my twitter feed and I read that the nominations for the pwnie 2010 awards had been announced, so I go and check it out and to my surprise I noticed my blog post about the OpenCart CSRF issue had been nominated for a pwnie award under Lamest Vendor Response! Never when writing [...]]]></description>
			<content:encoded><![CDATA[<p>I was reading my twitter feed and I read that the nominations for the pwnie 2010 awards had been announced, so I go and check it out and to my surprise I noticed my blog post about the OpenCart CSRF issue had been nominated for a pwnie award under Lamest Vendor Response! Never when writing the blog post did I think it would ever get so big which did at once stage crash my server.</p>
<p>The winners are announced at the BlackHat USA 2010 conference in Las Vagas which is the event ontop of my to go to list&#8230;&#8230;..now where is my free ticket? <img src='http://blog.visionsource.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.visionsource.org/2010/07/24/pwnie-awards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing PHP extensions on Mac OS X under xampp</title>
		<link>http://blog.visionsource.org/2010/05/31/installing-php-extensions-on-mac-os-x-under-xampp/</link>
		<comments>http://blog.visionsource.org/2010/05/31/installing-php-extensions-on-mac-os-x-under-xampp/#comments</comments>
		<pubDate>Sun, 30 May 2010 18:11:55 +0000</pubDate>
		<dc:creator>Ben Maynard</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[snow leopard]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://blog.visionsource.org/?p=97</guid>
		<description><![CDATA[The other day I installed xampp on a mac os x running snow leopard but I was having an issue installing any extra extensions like xdebug and apc. I found out it was because it was compiling the extensions in 64bit but xampp is compiled in 32bit and I did the following to fix the [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I installed xampp on a mac os x running snow leopard but I was having an issue installing any extra extensions like xdebug and apc. I found out it was because it was compiling the extensions in 64bit but xampp is compiled in 32bit and I did the following to fix the issue:</p>
<ol>
<li>Download and extract the source</li>
<li>Run phpize</li>
<li>Adding the following parameters to configure:
<pre>./configure MACOSX_DEPLOYMENT_TARGET=10.6 CFLAGS="-arch i386 -g -Os -pipe -no-cpp-precomp" CCFLAGS="-arch i386 -g -Os -pipe" CXXFLAGS="-arch i386 -g -Os -pipe" LDFLAGS="-arch i386 -bind_at_load"</pre>
</li>
<li>make (and make install if required)</li>
<li>done <img src='http://blog.visionsource.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
<p>If that doesnt work, try adding:
<pre>--with-php-config=/Applications/XAMPP/xamppfiles/bin/php-config-5.3.1</pre>
<p> to the configure command.</p>
<p>I hope that will help some people out there, because it was driving me insane!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.visionsource.org/2010/05/31/installing-php-extensions-on-mac-os-x-under-xampp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I got reddited</title>
		<link>http://blog.visionsource.org/2010/05/31/i-got-reddited/</link>
		<comments>http://blog.visionsource.org/2010/05/31/i-got-reddited/#comments</comments>
		<pubDate>Sun, 30 May 2010 18:00:24 +0000</pubDate>
		<dc:creator>Ben Maynard</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.visionsource.org/?p=94</guid>
		<description><![CDATA[Last week my post got posted on reddit and was on the homepage for over 24 hours which I as totally not expecting and the end results was my blog being down for a large amount of time over those couple of days. I had to set my DNS records to 127.0.0.1 as all I [...]]]></description>
			<content:encoded><![CDATA[<p>Last week my post got posted on reddit and was on the homepage for over 24 hours which I as totally not expecting and the end results was my blog being down for a large amount of time over those couple of days. I had to set my DNS records to 127.0.0.1 as all I had at the time to fix the issue was my phone and since I receive free hosting from my old company (<a href="http://www.webclick.com.au" target="_blank">WebClick</a> &#8211; http://www.webclick.com.au) the last thing I wanted to do was crash their servers.</p>
<p>I have now installed wp-supercache so hopefully if it every happens again, my blog will handle it 10x better.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.visionsource.org/2010/05/31/i-got-reddited/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenCart Secured Issue</title>
		<link>http://blog.visionsource.org/2010/03/29/opencart-secured-issue/</link>
		<comments>http://blog.visionsource.org/2010/03/29/opencart-secured-issue/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 02:05:12 +0000</pubDate>
		<dc:creator>Ben Maynard</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[OpenCart]]></category>

		<guid isPermaLink="false">http://blog.visionsource.org/?p=90</guid>
		<description><![CDATA[I have been meaning to post this early but there is a problem now with the secure patch for OpenCart that means my release no longer works. As of 1.4.1, the developer made a change to how all the links are made, well rather than running the links through a function which can re-write the [...]]]></description>
			<content:encoded><![CDATA[<p>I have been meaning to post this early but there is a problem now with the secure patch for OpenCart that means my release no longer works. As of 1.4.1, the developer made a change to how all the links are made, well rather than running the links through a function which can re-write the URL (which my patch added a random token too). The change he made was to make every URL static therefore I am no longer able to add the token to every URL automatically, but to add the token manually to every link which I am deciding against doing from a pure maintenance level (and a nightmare to upgrade).</p>
<p>The only reason why I could see the developer to make this change is to kill the development of my patch. I now have a few options and would love to hear any feedback on which path to take.</p>
<p>1. Revert back to 1.4.0 and no longer do anymore upgrades.<br />
2. Delete the project so it no longer exists.<br />
3. For someone else to takeover who has the time to do any maintenance required (which I don&#8217;t have).</p>
<p>Personally I think the developer of OpenCart has lost the plot and I believe people should look at other options that have a more dynamic development process, and a team who knows what they are doing.</p>
<p><strong>Update:</strong> I have since deleted the repo&#8217;s on GitHub as the code no longer works and I am unable to fix all the security issues.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.visionsource.org/2010/03/29/opencart-secured-issue/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>OpenCart Secured Upgraded to 1.4.1</title>
		<link>http://blog.visionsource.org/2010/03/09/opencart-secured-upgraded-to-1-4-1/</link>
		<comments>http://blog.visionsource.org/2010/03/09/opencart-secured-upgraded-to-1-4-1/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 00:36:25 +0000</pubDate>
		<dc:creator>Ben Maynard</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[OpenCart]]></category>

		<guid isPermaLink="false">http://blog.visionsource.org/?p=86</guid>
		<description><![CDATA[Quick blog post, just letting everyone know I have update OpenCart Secured to version 1.4.1. If you notice any problems please let me know. You can grab it here: http://github.com/bmaynard/OpenCart-Secured Update: I have now upgraded the repository to 1.4.2 Update 2: I have now upgraded the repository to 1.4.4]]></description>
			<content:encoded><![CDATA[<p>Quick blog post, just letting everyone know I have update OpenCart Secured to version 1.4.1. If you notice any problems please let me know.</p>
<p>You can grab it here: <a href="http://github.com/bmaynard/OpenCart-Secured" target="_blank">http://github.com/bmaynard/OpenCart-Secured</a></p>
<p>Update: I have now upgraded the repository to 1.4.2</p>
<p>Update 2: I have now upgraded the repository to 1.4.4</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.visionsource.org/2010/03/09/opencart-secured-upgraded-to-1-4-1/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>OpenCart Secured</title>
		<link>http://blog.visionsource.org/2010/02/14/opencart-secured/</link>
		<comments>http://blog.visionsource.org/2010/02/14/opencart-secured/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 17:39:38 +0000</pubDate>
		<dc:creator>Ben Maynard</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.visionsource.org/?p=83</guid>
		<description><![CDATA[Following my last blog post about the security issues with OpenCart, I have released a secured version of OpenCart which current contain the following security fixes: CSRF Protection Local File Injection Disabled ability to view source code in template files (htaccess.txt must be renamed to .htaccess) You can download a copy from: http://github.com/bmaynard/OpenCart-Secured If you [...]]]></description>
			<content:encoded><![CDATA[<p>Following my last blog post about the security issues with OpenCart, I have released a secured version of OpenCart which current contain the following security fixes:</p>
<ul>
<li>CSRF Protection</li>
<li>Local File Injection</li>
<li>Disabled ability to view source code in template files (htaccess.txt must be renamed to .htaccess)</li>
</ul>
<p>You can download a copy from: <a href="http://github.com/bmaynard/OpenCart-Secured" target="_blank">http://github.com/bmaynard/OpenCart-Secured</a></p>
<p>If you find any bugs or issues then please report them and I will try and fix them.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.visionsource.org/2010/02/14/opencart-secured/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>
