<?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>Skypher &#187; Uncategorized</title>
	<atom:link href="http://skypher.com/index.php/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://skypher.com</link>
	<description>The blog for absolutely nothing!</description>
	<lastBuildDate>Fri, 16 Jul 2010 08:26:58 +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>MSIE 7 document.createElement(&#8220;HTML&#8221;).outerHTML NULL ptr</title>
		<link>http://skypher.com/index.php/2010/04/12/msie-7-document-createelementhtml-outerhtml-null-ptr/</link>
		<comments>http://skypher.com/index.php/2010/04/12/msie-7-document-createelementhtml-outerhtml-null-ptr/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 11:30:53 +0000</pubDate>
		<dc:creator>SkyLined</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=444</guid>
		<description><![CDATA[<p>A simple NULL ptr deref in MSIE 7 (MSIE 8 is not affected)</p>
<p>document.createElement("HTML").outerHTML</p>
<p>More details here: <a href="http://code.google.com/p/skylined/issues/detail?id=16">http://code.google.com/p/skylined/issues/detail?id=16</a></p>
]]></description>
			<content:encoded><![CDATA[<p>A simple NULL ptr deref in MSIE 7 (MSIE 8 is not affected)</p>
<p><code>document.createElement("HTML").outerHTML</code></p>
<p>More details here: <a href="http://code.google.com/p/skylined/issues/detail?id=16">http://code.google.com/p/skylined/issues/detail?id=16</a></p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2010/04/12/msie-7-document-createelementhtml-outerhtml-null-ptr/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Wiki back up</title>
		<link>http://skypher.com/index.php/2010/02/01/wiki-back-up/</link>
		<comments>http://skypher.com/index.php/2010/02/01/wiki-back-up/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 15:22:26 +0000</pubDate>
		<dc:creator>SkyLined</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=402</guid>
		<description><![CDATA[<p>In other news: I am looking for a better hosting provider, or at least one that does what I pay them to do, or at the very least what they promis.</p>
]]></description>
			<content:encoded><![CDATA[<p>In other news: I am looking for a better hosting provider, or at least one that does what I pay them to do, or at the very least what they promis.</p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2010/02/01/wiki-back-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chrome 4</title>
		<link>http://skypher.com/index.php/2010/01/26/google-chrome-4/</link>
		<comments>http://skypher.com/index.php/2010/01/26/google-chrome-4/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 23:47:54 +0000</pubDate>
		<dc:creator>SkyLined</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=399</guid>
		<description><![CDATA[<p>Google Chrome 4 <a href="http://googlechromereleases.blogspot.com/2010/01/stable-channel-update_25.html">has been released</a>...]]></description>
			<content:encoded><![CDATA[<p>Google Chrome 4 <a href="http://googlechromereleases.blogspot.com/2010/01/stable-channel-update_25.html">has been released</a>. It fixes a number of security issues, including some that I found:</p>
<ul>
<li><a href="http://code.google.com/p/chromium/issues/detail?id=24646">Memory corruption in CANVAS</a> (thanks to <a href="http://lcamtuf.coredump.cx/">lcamtuf</a>)</li>
<li><a href="http://code.google.com/p/chromium/issues/detail?id=3275">Pop-up blocker bypass</a>.</li>
</ul>
<p>Update: these bugs have had access their restrictions lifted and details can be found there.</p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2010/01/26/google-chrome-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wiki temporarily down</title>
		<link>http://skypher.com/index.php/2010/01/17/wiki-temporarily-down/</link>
		<comments>http://skypher.com/index.php/2010/01/17/wiki-temporarily-down/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 16:18:20 +0000</pubDate>
		<dc:creator>SkyLined</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=386</guid>
		<description><![CDATA[<p>Unfortunately, our <a href="http://skypher.com/wiki">wiki</a> is broken. Due to having a social life, it may be a while before we can restore functionality.  </p>
]]></description>
			<content:encoded><![CDATA[<p>Unfortunately, our <a href="http://skypher.com/wiki">wiki</a> is broken. Due to having a social life, it may be a while before we can restore functionality. <img src='http://skypher.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2010/01/17/wiki-temporarily-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>w32-exec-calc-shellcode released</title>
		<link>http://skypher.com/index.php/2010/01/17/w32-exec-calc-shellcode-released/</link>
		<comments>http://skypher.com/index.php/2010/01/17/w32-exec-calc-shellcode-released/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 13:55:49 +0000</pubDate>
		<dc:creator>SkyLined</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=382</guid>
		<description><![CDATA[<p>I&#8217;ve <a href="http://code.google.com/p/w32-exec-calc-shellcode/">released</a> the source for a 97 byte shellcode that executes calc.exe.</p>
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve <a href="http://code.google.com/p/w32-exec-calc-shellcode/">released</a> the source for a 97 byte shellcode that executes calc.exe.</p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2010/01/17/w32-exec-calc-shellcode-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Year&#8217;s resolutions</title>
		<link>http://skypher.com/index.php/2010/01/02/new-years-resolutions/</link>
		<comments>http://skypher.com/index.php/2010/01/02/new-years-resolutions/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 09:51:16 +0000</pubDate>
		<dc:creator>SkyLined</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=309</guid>
		<description><![CDATA[<p>I think everybody has a set of half-finished tools and proof-of-concepts collecting dust on their machines...]]></description>
			<content:encoded><![CDATA[<p>I think everybody has a set of half-finished tools and proof-of-concepts collecting dust on their machines. Things that could be useful to others, but you never took beyond the &#8220;yes, this could work&#8221; stage and things that work, but that you don&#8217;t want to publish because the code is just too hacky to show to others.</p>
<p>My New Year&#8217;s resolution for 2010 is to finish and/or clean up all these things I have created over the years to get them to release worthy status and actually release them.</p>
<p>So, if I don&#8217;t break my resolution, you can expect the release of at least the following tools and techniques in 2010:<br />
- BETA3 &#8211; Multi-format shellcode encoding tool.<br />
- ALPHA3 &#8211; Alphanumeric shellcode encoder.<br />
- Testival &#8211; Windows shellcode/ret-into-libc testing tool<br />
- Various shellcodes<br />
- Various heap spray improvements, tips and tricks, including ways to bypass mitigations</p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2010/01/02/new-years-resolutions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>String concatenation vs. Array joins</title>
		<link>http://skypher.com/index.php/2008/09/30/string-concatenation-vs-array-joins/</link>
		<comments>http://skypher.com/index.php/2008/09/30/string-concatenation-vs-array-joins/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 19:05:22 +0000</pubDate>
		<dc:creator>Cipher</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[array join]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[string concatenation]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=54</guid>
		<description><![CDATA[I've read several websites which claim that string concatenation is outperformed by array joining in PHP. I know from firsthand that this certainly is a fact in ASP. And it's considered a 'best practice' in Javascript and probably several other languages. But PHP has always been a bit different on some parts, so I decided to test this and came to some interesting conclusions.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve read several websites which claim that string concatenation is outperformed by array joining in PHP. I know from firsthand that this certainly is a fact in ASP. And it&#8217;s considered a &#8216;best practice&#8217; in Javascript and probably several other languages. But PHP has always been a bit different on some parts, so I decided to test this and came to some interesting conclusions.</p>
<p>The following tests were performed 50 times with PHP 5.2.6.</p>
<p>First I tested the following pieces of code for parse time, $iConcats was set to 5000:</p>
<p style="background-color: #dadada; font-family: Courier;">for($i=0; $i&lt;$iConcats; ++$i)<br />
{<br />
$o .= &#8216;aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&#8217;;<br />
}</p>
<p>This parsed on avarage in <strong>0.0065</strong> seconds.<br />
Next up was the array equivalent:</p>
<p style="background-color: #dadada; font-family: Courier;">for($i=0; $i&lt;$iConcats; ++$i)<br />
{<br />
$a[] = &#8216;aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&#8217;;<br />
}<br />
$a = join(&#8221;, $a);</p>
<p>This parsed on average in about <strong>0.0187</strong> seconds. That&#8217;s almost 3 times slower!<br />
I deliberately added the join statement as it completes the comparison. And dor the more visually oriented amongst us, google provides nice graphs:</p>
<p style="text-align: center;">
<img class="aligncenter" src="http://chart.apis.google.com/chart?chs=500x200&amp;chd=t:0.00470614433289,0.00564002990723,0.00468802452087,0.0044960975647,0.00556802749634,0.00672197341919,0.00454592704773,0.0051600933075,0.00535488128662,0.00454187393188,0.00635504722595,0.00609087944031,0.00536584854126,0.00536298751831,0.00517606735229,0.00724506378174,0.00739192962646,0.00564193725586,0.00616383552551,0.00612497329712,0.00667095184326,0.00691294670105,0.00757193565369,0.00617218017578,0.00629806518555,0.00727605819702,0.00642204284668,0.00821805000305,0.00648093223572,0.00948882102966,0.00612497329712,0.00698709487915,0.00582408905029,0.00612592697144,0.0068621635437,0.00661897659302,0.00851392745972,0.0065929889679,0.00689792633057,0.00656199455261,0.00774216651917,0.0059220790863,0.005854845047,0.00877094268799,0.00671696662903,0.00802493095398,0.00566697120667,0.00665879249573,0.00682306289673,0.00703406333923,0.00642085075378|0.0150489807129,0.0178120136261,0.013365983963,0.0120301246643,0.0124061107635,0.0122818946838,0.0108051300049,0.0140759944916,0.0118789672852,0.0134541988373,0.0175681114197,0.0260560512543,0.0253939628601,0.0266220569611,0.0711159706116,0.0152308940887,0.0150091648102,0.0224511623383,0.0174009799957,0.073380947113,0.0262751579285,0.0150461196899,0.0156948566437,0.0278759002686,0.0239629745483,0.0178570747375,0.0188171863556,0.0134708881378,0.0161991119385,0.0270309448242,0.0226180553436,0.0188419818878,0.0169649124146,0.016037940979,0.011234998703,0.012237071991,0.0118451118469,0.0125539302826,0.0106329917908,0.0123829841614,0.0126929283142,0.012542963028,0.0130019187927,0.0125479698181,0.0149660110474,0.0128901004791,0.0132501125336,0.0116021633148,0.0139989852905,0.0148987770081,0.0136260986328&amp;cht=lc&amp;chds=0,0.00948882102966,0,0.073380947113&amp;chco=CFE17E,90B821" alt="" /></p>
<p style="text-align: center;"><img class="aligncenter" src="http://chart.apis.google.com/chart?chs=250x100&amp;chd=t:0.00653198719025,0.0187397384644&amp;cht=p3&amp;chl=Test%201|Test%202&amp;chco=90B821,CFE17E" alt="Who doesn't like pie?" /></p>
<p>During the measurements I also tracked the memory usage, which had the same outcome, concatenation wins again.</p>
<p>For string concatenation memory usage was ~56Mb. The array version used up ~155Mb. Again the three times! And again, let&#8217;s look at some graphs:</p>
<p style="text-align: center;"><img class="aligncenter" src="http://chart.apis.google.com/chart?chs=500x200&amp;chd=t:-1,48,48,48,48,48,48,48,48,48,48,48,224,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,312,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48|-1,536,144,144,144,144,144,144,144,216,144,144,144,144,144,144,144,280,176,64,144,152,144,144,144,144,144,144,144,144,144,144,144,136,144,152,144,144,144,144,144,144,144,144,144,144,144,144,144,144,144&amp;cht=lc&amp;chds=0,312,0,536&amp;chco=90B821,CFE17E" alt="" width="500" height="200" /></p>
<p>And in pie:</p>
<p style="text-align: center;"><img class="aligncenter" title="More pie!" src="http://chart.apis.google.com/chart?chs=250x100&amp;chd=t:56.78,155.18&amp;cht=p3&amp;chl=Test%201|Test%202&amp;chco=90B821,CFE17E" alt="" width="250" height="100" /></p>
<p>So in conclusion (at least for PHP 5.2.6) string concatenation is faster than array joins!</p>
<p>Strings vs Arrays: 2-0.</p>
<p>If you have some test resutls you want to share, please respond below or send me an email, you can reach me at: korneelwever. I&#8217;m with the Google mail service <img src='http://skypher.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2008/09/30/string-concatenation-vs-array-joins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vista Broke</title>
		<link>http://skypher.com/index.php/2008/07/10/vista-broke/</link>
		<comments>http://skypher.com/index.php/2008/07/10/vista-broke/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 20:13:21 +0000</pubDate>
		<dc:creator>Cipher</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=24</guid>
		<description><![CDATA[<p>My vista managed to screw up big time yesterday, as it tried to install SP1, for the 7th time I think..</p>
<p>I can&#8217;t boot and am looking for an external DVD drive to reinstall everything. So devving is moved back a bit..</p>
<p>[update 14/07]</p>
<p>I managed to reinstall everything....]]></description>
			<content:encoded><![CDATA[<p>My vista managed to screw up big time yesterday, as it tried to install SP1, for the 7th time I think..</p>
<p>I can&#8217;t boot and am looking for an external DVD drive to reinstall everything. So devving is moved back a bit..</p>
<p><strong>[update 14/07]</strong></p>
<p>I managed to reinstall everything.. bah, now removing pre-installed crap and customizing&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2008/07/10/vista-broke/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Imagine Cup Day 1</title>
		<link>http://skypher.com/index.php/2008/07/04/imagine-cup-day-1/</link>
		<comments>http://skypher.com/index.php/2008/07/04/imagine-cup-day-1/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 07:08:27 +0000</pubDate>
		<dc:creator>Cipher</dc:creator>
				<category><![CDATA[Imagine Cup]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Paris]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=15</guid>
		<description><![CDATA[<p>It&#8217;s already day 2 which means that yesterday was day 1. And I must say, it was an impressive day.
The opening was in Paris&#8217; City Hall which is beautifully decorated in Louis XIV style...]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s already day 2 which means that yesterday was day 1. And I must say, it was an impressive day.<br />
The opening was in Paris&#8217; City Hall which is beautifully decorated in Louis XIV style. Roelof, if you are reading this, you should arrange to make some of <a title="360 degrees photography" href="http://360fotos.nl" target="_blank">your photo&#8217;s</a> here! I can only do so much&#8230; Every country made a big entrance and then there was french &#8216;haute cuisine&#8217; which meant we went for pizzas afterward, under a beautiful blue Eiffel Tower.</p>
<p style="text-align: center;"><img style="border: 0pt none;" src="http://lh4.ggpht.com/korneelwever/SH5YVBoVJGI/AAAAAAAABlc/bGXQhodBXIY/100_0226.JPG?imgmax=800" alt="" width="480" height="360" /></p>
<p><a href="http://picasaweb.google.com/korneelwever/ImagineCup2008Paris"></a></p>
<p>Stay tuned for more.</p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2008/07/04/imagine-cup-day-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Imagine Cup 2008</title>
		<link>http://skypher.com/index.php/2008/05/29/imagine-cup-2008/</link>
		<comments>http://skypher.com/index.php/2008/05/29/imagine-cup-2008/#comments</comments>
		<pubDate>Thu, 29 May 2008 19:15:50 +0000</pubDate>
		<dc:creator>Cipher</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[Contest]]></category>
		<category><![CDATA[Imagine Cup]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=13</guid>
		<description><![CDATA[<p>Today I walked around with a big smile on my face. Yesterday the team &#8216;Four Elements&#8217; won the Dutch Imagine Cup 2008. This means they may represent the Netherlands in the worldwide finals next July. But why am I posting this? Well, I have coached the team from day 1...]]></description>
			<content:encoded><![CDATA[<p>Today I walked around with a big smile on my face. Yesterday the team &#8216;Four Elements&#8217; won the Dutch Imagine Cup 2008. This means they may represent the Netherlands in the worldwide finals next July. But why am I posting this? Well, I have coached the team from day 1. Or day 1 minus 15, even before they knew they we&#8217;re joining the contest&#8230; What started out as a small project and maybe somewhat of a trial really got picked up by the team members. <a title="Ricardo's Website" href="http://www.quirante.nl" target="_blank">Ricardo Quirante</a>, <a title="Michiel Schuurmans Website" href="http://www.mischiworks.com/">Michiel Schuurman</a> and Nick Joore amazed me almost daily with a new feature, technology or a whole set of merchandise (Dudes! How could you keep that a secret?!?).</p>
<p>Their concept, <a title="Guardian of Eden website" href="http://www.guardianofeden.nl" target="_blank">Guardian of Eden</a>, targets children form 5-14 years of age, trying to make them aware of the small things you can do for a better environment, after all, a better environment start with you (old dutch advertisement) and children are still the future. Children can collect butterflies, flowers, etc. in the game and compete in small games (like collecting the most garbage or separating paper from plastics) online, create their own gardens and show these to their friends. But maybe even more important is the communication with their parents, who receive information about the gameand it&#8217;s goal, to talk about with their children. Talk about influencing each other&#8230;</p>
<p>Please visit <a title="Guardian of Eden website" href="http://www.guardianofeden.nl" target="_blank">their site</a>, watch the video and watch their screenshots, or if you are able, come to support them in Paris!</p>
<p>PS. Whoohoooohooow!!!! Whoo!!! YEAHWHOOHOOW!!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2008/05/29/imagine-cup-2008/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
