<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>blog.7C0.org</title>
	<atom:link href="http://0x7c0.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://0x7c0.wordpress.com</link>
	<description>c3Vic2NyaWJlIHdoZW4geW91IGNhbiByZWFkIHRoaXMK</description>
	<lastBuildDate>Wed, 21 Dec 2011 17:48:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='0x7c0.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>blog.7C0.org</title>
		<link>http://0x7c0.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://0x7c0.wordpress.com/osd.xml" title="blog.7C0.org" />
	<atom:link rel='hub' href='http://0x7c0.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Vorratsdatenspeicherung</title>
		<link>http://0x7c0.wordpress.com/2011/12/21/vorratsdatenspeicherung/</link>
		<comments>http://0x7c0.wordpress.com/2011/12/21/vorratsdatenspeicherung/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 17:48:26 +0000</pubDate>
		<dc:creator>0x7c0</dc:creator>
				<category><![CDATA[censorship]]></category>
		<category><![CDATA[politics]]></category>

		<guid isPermaLink="false">http://0x7c0.wordpress.com/?p=184</guid>
		<description><![CDATA[Auf zeichnemit.at ist eine Bürgerinitiative gegen die Vorratsdatenspeicherung entstanden. Bereits mehr als 10.000 Menschen haben die Initiative unterschrieben!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=0x7c0.wordpress.com&amp;blog=7534863&amp;post=184&amp;subd=0x7c0&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Auf <a title="zeichnemit.at" href="http://www.zeichnemit.at" target="_blank">zeichnemit.at</a> ist eine Bürgerinitiative gegen die Vorratsdatenspeicherung entstanden. Bereits mehr als 10.000 Menschen haben die Initiative unterschrieben!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/0x7c0.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/0x7c0.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/0x7c0.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/0x7c0.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/0x7c0.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/0x7c0.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/0x7c0.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/0x7c0.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/0x7c0.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/0x7c0.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/0x7c0.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/0x7c0.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/0x7c0.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/0x7c0.wordpress.com/184/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=0x7c0.wordpress.com&amp;blog=7534863&amp;post=184&amp;subd=0x7c0&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://0x7c0.wordpress.com/2011/12/21/vorratsdatenspeicherung/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">0x7c0</media:title>
		</media:content>
	</item>
		<item>
		<title>Tron AI Challenge</title>
		<link>http://0x7c0.wordpress.com/2010/02/09/tron-ai-challenge/</link>
		<comments>http://0x7c0.wordpress.com/2010/02/09/tron-ai-challenge/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 23:17:40 +0000</pubDate>
		<dc:creator>0x7c0</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[science]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[ai]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[tron]]></category>

		<guid isPermaLink="false">http://0x7c0.wordpress.com/?p=176</guid>
		<description><![CDATA[Recently the University of Waterloo launched a very interesting AI challenge using the ancient video game tron as fundament. One has to implement an AI which is then run against the other submissions in a tron battle. A game can either be won, lost or result in a draw. The organizers offer many language packs [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=0x7c0.wordpress.com&amp;blog=7534863&amp;post=176&amp;subd=0x7c0&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently the University of Waterloo launched a very interesting <a href="http://csclub.uwaterloo.ca/contest/">AI challenge</a> using the ancient video game <a href="http://en.wikipedia.org/wiki/Tron_%28video_game%29">tron</a> as fundament. One has to implement an AI which is then run against the other submissions in a tron battle. A game can either be won, lost or result in a draw. The organizers offer many language packs including Python, C++, Java and even a Scheme pack is about to be released.</p>
<p>I hope to find some more time in the next weeks to improve my algorithm before the contest ends at the end of february.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/0x7c0.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/0x7c0.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/0x7c0.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/0x7c0.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/0x7c0.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/0x7c0.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/0x7c0.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/0x7c0.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/0x7c0.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/0x7c0.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/0x7c0.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/0x7c0.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/0x7c0.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/0x7c0.wordpress.com/176/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=0x7c0.wordpress.com&amp;blog=7534863&amp;post=176&amp;subd=0x7c0&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://0x7c0.wordpress.com/2010/02/09/tron-ai-challenge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">0x7c0</media:title>
		</media:content>
	</item>
		<item>
		<title>Operator precedence</title>
		<link>http://0x7c0.wordpress.com/2009/11/25/operator-precedence/</link>
		<comments>http://0x7c0.wordpress.com/2009/11/25/operator-precedence/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 22:42:28 +0000</pubDate>
		<dc:creator>0x7c0</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://0x7c0.wordpress.com/?p=161</guid>
		<description><![CDATA[Operator precedence can be a tricky thing which often causes bugs which take hours to track. That&#8217;s why people often say that you should use parantheses. This just happened to me while reading the code of a project. The following line of perl code was responsible: open PID, "&#62;$pidfile" &#124;&#124; die "Can't open pid file: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=0x7c0.wordpress.com&amp;blog=7534863&amp;post=161&amp;subd=0x7c0&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Operator precedence can be a tricky thing which often causes bugs which take hours to track. That&#8217;s why people often say that you should use parantheses. This just happened to me while reading the code of a project. The following line of perl code was responsible:<br />
<code> open PID, "&gt;$pidfile" || die "Can't open pid file: $!\n";</code></p>
<p>One might expect that the return value of <tt>open()</tt> is checked and if it is undefined, the <tt>die()</tt> function is executed. But what actually happens is that the string &#8220;&gt;$pidfile&#8221; is checked. And if it is undefined, the <tt>die()</tt> function is executed. Since this string will never be undefined (at least &#8220;&gt;&#8221; will always be present), the <tt>die()</tt> statement also will never be executed. So if <tt>open()</tt> ever fails, you simply wouldn&#8217;t notice.</p>
<p>The solution is simple: parantheses!<br />
<code> open(PID, "&gt;$pidfile") || die "Can't open pid file: $!\n";</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/0x7c0.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/0x7c0.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/0x7c0.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/0x7c0.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/0x7c0.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/0x7c0.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/0x7c0.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/0x7c0.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/0x7c0.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/0x7c0.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/0x7c0.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/0x7c0.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/0x7c0.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/0x7c0.wordpress.com/161/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=0x7c0.wordpress.com&amp;blog=7534863&amp;post=161&amp;subd=0x7c0&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://0x7c0.wordpress.com/2009/11/25/operator-precedence/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">0x7c0</media:title>
		</media:content>
	</item>
		<item>
		<title>Nice debugging output in C</title>
		<link>http://0x7c0.wordpress.com/2009/10/13/nice-debugging-output-in-c/</link>
		<comments>http://0x7c0.wordpress.com/2009/10/13/nice-debugging-output-in-c/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 21:34:42 +0000</pubDate>
		<dc:creator>0x7c0</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://0x7c0.wordpress.com/?p=148</guid>
		<description><![CDATA[I just stumbled across a nice project which implemented a pretty neat debugging mechanism. Basically messages look like this: [main.c:42] foobar So in addition to the actual log message (foobar) you can see the file (main.c) and the line number (42) in which the log function was called. This helps a lot if you quickly [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=0x7c0.wordpress.com&amp;blog=7534863&amp;post=148&amp;subd=0x7c0&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just stumbled across a nice project which implemented a pretty neat debugging mechanism. Basically messages look like this:<br />
<code>[main.c:42] foobar</code><br />
So in addition to the actual log message (foobar) you can see the file (main.c) and the line number (42) in which the log function was called. This helps a lot if you quickly want to jump to this particular part of the code. So how can it be implemented?</p>
<p>The concept is simple: macros. Predefined and selfdefined macros. The following is some very basic C-code which should give an impression on how it can be done:</p>
<pre>#include &lt;stdio.h&gt;

#define LOG(str)    log_msg(__FILE__, __LINE__, str);

void log_msg( const char *file, int line, const char *str ) {
    printf("[%s:%d] %s\n", file, line, str);
}

int main( void ) {
    LOG("foo");
    LOG("bar");
    return 0;
}
</pre>
<p><tt>__LINE__</tt> and <tt>__FILE__</tt> are predefined macros which get expanded to the respective line number and file name.<br />
The output of the program is:</p>
<pre>
[test.c:10] foo
[test.c:11] bar
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/0x7c0.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/0x7c0.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/0x7c0.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/0x7c0.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/0x7c0.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/0x7c0.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/0x7c0.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/0x7c0.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/0x7c0.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/0x7c0.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/0x7c0.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/0x7c0.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/0x7c0.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/0x7c0.wordpress.com/148/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=0x7c0.wordpress.com&amp;blog=7534863&amp;post=148&amp;subd=0x7c0&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://0x7c0.wordpress.com/2009/10/13/nice-debugging-output-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">0x7c0</media:title>
		</media:content>
	</item>
		<item>
		<title>Drivers of the IT-security industry</title>
		<link>http://0x7c0.wordpress.com/2009/09/09/drivers-of-the-it-security-industry/</link>
		<comments>http://0x7c0.wordpress.com/2009/09/09/drivers-of-the-it-security-industry/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 19:54:31 +0000</pubDate>
		<dc:creator>0x7c0</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[cryptography]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[truecrypt]]></category>

		<guid isPermaLink="false">http://0x7c0.wordpress.com/?p=122</guid>
		<description><![CDATA[The IT-security industry seems to be driven by two main factors: prestige money While this makes sense for companies, from private researches one would expect nobler reasons like the simple desire to learn and share knowledge. For some researchers this might be the case, but there are not too many of them. One not so [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=0x7c0.wordpress.com&amp;blog=7534863&amp;post=122&amp;subd=0x7c0&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The IT-security industry seems to be driven by two main factors:</p>
<ul>
<li>prestige</li>
<li>money</li>
</ul>
<p>While this makes sense for companies, from private researches one would expect nobler reasons like the simple desire to learn and share knowledge. For some researchers this might be the case, but there are not too many of them. One not so good example of the recent past is the <a href="http://www.blackhat.com/html/bh-usa-09/bh-usa-09-speakers.html#Kleissner">stoned bootkit</a> which was presented at the Black Hat 2009 in Las Vegas.</p>
<p>The author <a href="http://peterkleissner.com/?p=11">claims</a> that his bootkit breaks <a href="http://www.truecrypt.org">TrueCrypt</a>. High words. When looking at the project in detail, one finds out that the main concept of bootkits is not new. In fact, the theory is well known since a couple of years. In addition, many projects already implemented this concept.</p>
<p>The basic idea of a bootkit is similar to a <a href="http://en.wikipedia.org/wiki/Rootkit">rootkit</a>. A bootkit is malicious software which gets written to the master boot record (= MBR) of a computer. But when are attackers able to write to the MBR of a victims computer? Basically there are two possibilities:</p>
<ul>
<li>The attacker has physical access to the machines</li>
<li>The attacker has administrator privileges on the machine</li>
</ul>
<p>In both cases, the game is simply <strong>over</strong>. An attacker which has either physical access or administrator privileges is no attacker anymore. He then <strong>owns</strong> the computer. Everything which happens from this point on is not of relevance anymore. Also, <strong>no</strong> software can help in such a case. The machine must be reinstalled.</p>
<p>Since the stoned bootkit lives in the MBR, the author implicitly assumes the victims computer to be <strong>already compromised</strong>. Otherwise, the bootkit simply can not reach the MBR. Of course, this does <strong>not</strong> break TrueCrypt in any way. Not even approximately. How can TrueCrypt ever defend a computer which already got compromised? How can any software do this? The answer is: It&#8217;s not possible. Security software is meant to defend healthy machines which are <strong>not compromised</strong>. As expected the TrueCrypt developers correctly identified the stoned bootkit attack as <a href="http://forums.truecrypt.org/viewtopic.php?t=16862">bogus</a>.</p>
<p>The author of the bootkit did not just drew wrong and misleading conclusions, he also flamed the TrueCrypt developers in a <a href="http://peterkleissner.com/?p=11">pretty rude way</a> &#8211; despite the fact that the TrueCrypt developers explained the situation to him in a simple and polite way.</p>
<p>This example should perfectly illustrate the &#8220;prestige&#8221;-factor which is intrinsic to the IT-security industry. The shameless self-portrayel of many individuals harms the whole security industry. Unaware people who stumble across one of the many badly researched articles about the stoned bootkit might get the impression that TrueCrypt suffers from a design flaw &#8211; which obviously is <strong>not</strong> the case.</p>
<p>Finally, the destruction of things will <strong>never</strong> require the same level of skill as the creation of things. Everybody is able to destroy a house. You just need a hammer and can start smashing the house wherever you want. But just some people have the skill to build a house. You need knowledge, experience and adequate material. The same applies to software development. Breaking software will never be as difficult and challenging as developing software. Unfortunately, inexperienced developers like the author of the stoned bootkit often receive much more approval than the people who actually deserve it: The TrueCrypt developers who do a very good job since many years.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/0x7c0.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/0x7c0.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/0x7c0.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/0x7c0.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/0x7c0.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/0x7c0.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/0x7c0.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/0x7c0.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/0x7c0.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/0x7c0.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/0x7c0.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/0x7c0.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/0x7c0.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/0x7c0.wordpress.com/122/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=0x7c0.wordpress.com&amp;blog=7534863&amp;post=122&amp;subd=0x7c0&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://0x7c0.wordpress.com/2009/09/09/drivers-of-the-it-security-industry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">0x7c0</media:title>
		</media:content>
	</item>
		<item>
		<title>Having fun with entropy</title>
		<link>http://0x7c0.wordpress.com/2009/09/09/having-fun-with-entropy/</link>
		<comments>http://0x7c0.wordpress.com/2009/09/09/having-fun-with-entropy/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 18:38:56 +0000</pubDate>
		<dc:creator>0x7c0</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[entropy]]></category>
		<category><![CDATA[information theory]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://0x7c0.wordpress.com/?p=107</guid>
		<description><![CDATA[I just uploaded datropy.py. It&#8217;s a small python script which receives input via stdin and calculates the information density aka entropy for the given chunk of data. It can be handy to determine if parts of data are encrypted or compressed. Then, the information density (of the 8-bit alphabet) tends to be 8 bit. A [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=0x7c0.wordpress.com&amp;blog=7534863&amp;post=107&amp;subd=0x7c0&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just uploaded <a href="http://files.7c0.org/datropy.py">datropy.py</a>. It&#8217;s a small python script which receives input via stdin and calculates the <a href="http://en.wikipedia.org/wiki/Entropy_(Information_theory)">information density aka entropy</a> for the given chunk of data. It can be handy to determine if parts of data are encrypted or compressed. Then, the information density (of the 8-bit alphabet) tends to be 8 bit. A small example to demonstrate this:</p>
<pre>$ dd if=/dev/urandom bs=100 count=10000 | ./datropy.py
information density: 7.99979695074 bit</pre>
<p>As you would expect from a reasonable good <a href="http://en.wikipedia.org/wiki/Pseudorandom_number_generator">PRNG</a>, all 256 characters of the 8-bit alphabet are (practically) equally probable. Thus, the information density is very high. Of course, /dev/zero does not output any entropy at all since it is a 0-bit alphabet:</p>
<pre>$ dd if=/dev/zero bs=100 count=10000 | ./datropy.py
information density: 0.0 bit</pre>
<p>Another example: A 1-bit alphabet in which the character &#8220;a&#8221; occurs twice as often as the character &#8220;b&#8221;:</p>
<pre>$ echo -n "aab" | ./datropy.py
information density: 0.918295834054 bit</pre>
<p>There are many domains in which entropy analysis can be of good use: Malware analysis, anomaly detection,&#8230; Concerning malware analysis, check out <a href="http://0x7c0.wordpress.com/2008/09/10/pytropy/">pytropy.py</a> which analyses and graphically displays the sections of PE-files.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/0x7c0.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/0x7c0.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/0x7c0.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/0x7c0.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/0x7c0.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/0x7c0.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/0x7c0.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/0x7c0.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/0x7c0.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/0x7c0.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/0x7c0.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/0x7c0.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/0x7c0.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/0x7c0.wordpress.com/107/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=0x7c0.wordpress.com&amp;blog=7534863&amp;post=107&amp;subd=0x7c0&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://0x7c0.wordpress.com/2009/09/09/having-fun-with-entropy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">0x7c0</media:title>
		</media:content>
	</item>
		<item>
		<title>Nachtrag zu “Maßnahmen zur Bekämpfung der Kinderpornografie”</title>
		<link>http://0x7c0.wordpress.com/2009/08/04/nachtrag-zu-%e2%80%9cmasnahmen-zur-bekampfung-der-kinderpornografie%e2%80%9d/</link>
		<comments>http://0x7c0.wordpress.com/2009/08/04/nachtrag-zu-%e2%80%9cmasnahmen-zur-bekampfung-der-kinderpornografie%e2%80%9d/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 13:29:28 +0000</pubDate>
		<dc:creator>0x7c0</dc:creator>
				<category><![CDATA[censorship]]></category>
		<category><![CDATA[politics]]></category>
		<category><![CDATA[austria]]></category>

		<guid isPermaLink="false">http://0x7c0.wordpress.com/?p=103</guid>
		<description><![CDATA[Lediglich die oberösterreichischen Grünen antworteten auf die offenen E-Mail, die wir am 14. Mai abschickten. Die restlichen Empfänger &#8211; Politiker von ÖVP und SPÖ &#8211; fanden es nicht der Mühe wert, ihr Handeln zu begründen. In Hinblick auf die kommenden Landtagswahlen kann sich jeder selbst ein Bild davon machen.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=0x7c0.wordpress.com&amp;blog=7534863&amp;post=103&amp;subd=0x7c0&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lediglich die oberösterreichischen Grünen antworteten auf <a href="http://0x7c0.wordpress.com/2009/05/16/masnahmen-zur-bekampfung-der-kinderpornografie/">die offenen E-Mail</a>, die wir am 14. Mai abschickten. Die restlichen Empfänger &#8211; Politiker von ÖVP und SPÖ &#8211; fanden es nicht der Mühe wert, ihr Handeln zu begründen. In Hinblick auf die kommenden Landtagswahlen kann sich jeder selbst ein Bild davon machen.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/0x7c0.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/0x7c0.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/0x7c0.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/0x7c0.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/0x7c0.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/0x7c0.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/0x7c0.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/0x7c0.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/0x7c0.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/0x7c0.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/0x7c0.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/0x7c0.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/0x7c0.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/0x7c0.wordpress.com/103/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=0x7c0.wordpress.com&amp;blog=7534863&amp;post=103&amp;subd=0x7c0&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://0x7c0.wordpress.com/2009/08/04/nachtrag-zu-%e2%80%9cmasnahmen-zur-bekampfung-der-kinderpornografie%e2%80%9d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">0x7c0</media:title>
		</media:content>
	</item>
		<item>
		<title>bpython and my colorscheme</title>
		<link>http://0x7c0.wordpress.com/2009/07/19/bpython-and-my-colorscheme/</link>
		<comments>http://0x7c0.wordpress.com/2009/07/19/bpython-and-my-colorscheme/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 23:13:14 +0000</pubDate>
		<dc:creator>0x7c0</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://0x7c0.wordpress.com/?p=93</guid>
		<description><![CDATA[To quote the project website: bpython is a fancy interface to the Python interpreter for Unix-like operating systems bpython has some very neat features like syntax highlighting and auto-completion. Also, the written code can be sent to pastebin with just one keystroke. After playing around a bit, I ended up writing my own colorscheme which [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=0x7c0.wordpress.com&amp;blog=7534863&amp;post=93&amp;subd=0x7c0&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To quote the project website:</p>
<blockquote><p>bpython is a fancy interface to the Python interpreter for Unix-like operating systems</p></blockquote>
<p><a href="http://www.bpython-interpreter.org">bpython</a> has some very neat features like syntax highlighting and auto-completion. Also, the written code can be sent to pastebin with just one keystroke. After playing around a bit, I ended up writing my own colorscheme which can be installed as follows:<br />
<code>mkdir -p ~/.bpython &amp;&amp; wget http://files.7c0.org/pwr.theme -O ~/.bpython/pwr.theme</code></p>
<p>Finally, you have to edit your ~/.bpython.ini and set <tt>color_scheme = pwr</tt></p>
<p><img src="http://files.7c0.org/img/bpython-colorscheme.png" alt="bpython colorscheme" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/0x7c0.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/0x7c0.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/0x7c0.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/0x7c0.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/0x7c0.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/0x7c0.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/0x7c0.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/0x7c0.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/0x7c0.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/0x7c0.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/0x7c0.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/0x7c0.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/0x7c0.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/0x7c0.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=0x7c0.wordpress.com&amp;blog=7534863&amp;post=93&amp;subd=0x7c0&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://0x7c0.wordpress.com/2009/07/19/bpython-and-my-colorscheme/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">0x7c0</media:title>
		</media:content>

		<media:content url="http://files.7c0.org/img/bpython-colorscheme.png" medium="image">
			<media:title type="html">bpython colorscheme</media:title>
		</media:content>
	</item>
		<item>
		<title>internetsperren.at</title>
		<link>http://0x7c0.wordpress.com/2009/06/20/internetsperren-at/</link>
		<comments>http://0x7c0.wordpress.com/2009/06/20/internetsperren-at/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 14:38:36 +0000</pubDate>
		<dc:creator>0x7c0</dc:creator>
				<category><![CDATA[politics]]></category>
		<category><![CDATA[austria]]></category>
		<category><![CDATA[censorship]]></category>
		<category><![CDATA[privacy]]></category>

		<guid isPermaLink="false">http://0x7c0.wordpress.com/?p=86</guid>
		<description><![CDATA[Mittlerweile nimmt auch in Österreich die Diskussion bezüglich Internetsperren Form an. An dieser Stelle möchte ich auf internetsperren.at verweisen. Thomas hat bereits zahlreiche Meldungen zusammengetragen und auch die Abgeordneten aller im Parlament vertretenen Parteien mit der Bitte kontaktiert, ihren Standpunkt zu diesem Thema darzulegen.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=0x7c0.wordpress.com&amp;blog=7534863&amp;post=86&amp;subd=0x7c0&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Mittlerweile nimmt auch in Österreich die Diskussion bezüglich Internetsperren Form an. An dieser Stelle möchte ich auf <a title="internetsperren.at" href="http://www.internetsperren.at">internetsperren.at</a> verweisen. Thomas hat bereits zahlreiche Meldungen zusammengetragen und auch die Abgeordneten aller im Parlament <a title="vertretenen Parteien mit der Bitte kontaktiert" href="http://internetsperren.at/mails-an-die-parlamentsparteien/">vertretenen Parteien mit der Bitte kontaktiert</a>, ihren Standpunkt zu diesem Thema darzulegen.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/0x7c0.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/0x7c0.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/0x7c0.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/0x7c0.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/0x7c0.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/0x7c0.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/0x7c0.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/0x7c0.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/0x7c0.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/0x7c0.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/0x7c0.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/0x7c0.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/0x7c0.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/0x7c0.wordpress.com/86/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=0x7c0.wordpress.com&amp;blog=7534863&amp;post=86&amp;subd=0x7c0&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://0x7c0.wordpress.com/2009/06/20/internetsperren-at/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">0x7c0</media:title>
		</media:content>
	</item>
		<item>
		<title>Vim abbreviations</title>
		<link>http://0x7c0.wordpress.com/2009/06/18/vim-abbreviations/</link>
		<comments>http://0x7c0.wordpress.com/2009/06/18/vim-abbreviations/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 13:34:07 +0000</pubDate>
		<dc:creator>0x7c0</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://0x7c0.wordpress.com/?p=83</guid>
		<description><![CDATA[Today I was searching for a possibility in vim to insert the current date/time in a comfortable way. I stumbled across the following abbreviation which perfectly fulfills this task: iabbrev dts &#60;C-R&#62;=strftime("(%d %b %Y, %I:%M%P)")&#60;CR&#62; In insert mode, one can just enter &#8220;dts&#8221; which immediately expands to a string like &#8220;(18 Jun 2009, 03:27pm)&#8221;. This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=0x7c0.wordpress.com&amp;blog=7534863&amp;post=83&amp;subd=0x7c0&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I was searching for a possibility in vim to insert the current date/time in a comfortable way. I <a href="http://vimdoc.sourceforge.net/cgi-bin/vimfaq2html3.pl#21.4">stumbled across</a> the following abbreviation which perfectly fulfills this task:<br />
<code>iabbrev dts &lt;C-R&gt;=strftime("(%d %b %Y, %I:%M%P)")&lt;CR&gt;</code></p>
<p>In insert mode, one can just enter &#8220;dts&#8221; which immediately expands to a string like &#8220;(18 Jun 2009, 03:27pm)&#8221;. This can be useful when adding TODOs in source code. Then they look like:<br />
<code>TODO (18 Jun 2009, 03:27pm): foobar</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/0x7c0.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/0x7c0.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/0x7c0.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/0x7c0.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/0x7c0.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/0x7c0.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/0x7c0.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/0x7c0.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/0x7c0.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/0x7c0.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/0x7c0.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/0x7c0.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/0x7c0.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/0x7c0.wordpress.com/83/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=0x7c0.wordpress.com&amp;blog=7534863&amp;post=83&amp;subd=0x7c0&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://0x7c0.wordpress.com/2009/06/18/vim-abbreviations/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">0x7c0</media:title>
		</media:content>
	</item>
	</channel>
</rss>
