<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="0.91">
	<channel>
		<title>mz's site. Blog and various stuff...</title>
		<link>http://www.expointer/mz</link>
		<description>My site, about me and stuff that I do</description>
		<language>en</language>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/xml" href="http://feeds.feedburner.com/mz" /><feedburner:info uri="mz" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
			<title>.:: NGSEC Security Certification ::.</title>
			<link>http://www.expointer.com/mz/News_page.php#76_ngsec</link>
			<pubDate>Sun, 14 January 2007</pubDate>
			<description>
				&lt;br/&gt;&lt;center&gt;&lt;a target=blank href="https://secure.ngsec.biz:8443/ngcert/certificates/NGCERT-2007-57821.pdf"&gt;&lt;img class=image src="content/ngsec_cert_min.jpg" /&gt;&lt;/a&gt;&lt;/center&gt;
			</description>
		</item>
		<item>
			<title>.:: NGSEC Security Certification ::.</title>
			<link>http://www.expointer.com/mz/News_page.php#75_ngsec</link>
			<pubDate>Sun, 14 January 2007</pubDate>
			<description>
				&lt;a target=blank href="https://secure.ngsec.biz:8443/ngcert/certificates/NGCERT-2007-57821.pdf"&gt;&lt;img class=image src="content/ngsec_cert_min.jpg" /&gt;&lt;/a&gt;
			</description>
		</item>
		<item>
			<title>.:: my ngsec certificate ::.</title>
			<link>http://www.expointer.com/mz/News_page.php#74_ngsec</link>
			<pubDate>Sun, 14 Jan 2007</pubDate>
			<description>
				&lt;p id="text"&gt;I'm proud to present my certificate:&lt;/p&gt;&lt;center&gt;&lt;a target="blank" href="https://secure.ngsec.biz:8443/ngcert/certificates/NGCERT-2007-57821.pdf"&gt;&lt;img src="content/ngsec_cert.jpg" /&gt;&lt;/a&gt;&lt;/center&gt;
			</description>
		</item>
		<item>
			<title>.:: my ngsec certificate ::.</title>
			<link>http://www.expointer.com/mz/News_page.php#73_ngsec</link>
			<pubDate>Sun, 14 Jan 2007</pubDate>
			<description>
				&lt;p id="text"&gt;I'm proud to present my certificate:&lt;/p&gt;&lt;center&gt;&lt;a target="blank" href="
			</description>
		</item>
		<item>
			<title>.:: ngsec game2 completed ::.</title>
			<link>http://www.expointer.com/mz/News_page.php#72_game2</link>
			<pubDate>Wed, 3 Jan 2007</pubDate>
			<description>
				&lt;p id="text"&gt;Today I've received email from ngsec team with congratulations:&lt;br/&gt;&lt;br/&gt;&lt;i&gt;Dear mzet:&lt;br/&gt;&lt;br/&gt;Congratulations! You have mastered NGSEC's Security Game #2 (Web Authentication II).&lt;br/&gt;&lt;br/&gt;Sincerely,&lt;br/&gt;Next Generation Security Technologies&lt;br/&gt;&lt;a target="blank" href="http://www.ngsec.com"&gt;http://www.ngsec.com&lt;/a&gt;&lt;/i&gt;&lt;br/&gt;&lt;br/&gt;Here's a ranking (position number 632):&lt;br/&gt;&lt;br/&gt;&lt;a target="blank" href="http://quiz.ngsec.com/game2/ranking.php?level=10&amp;page=12"&gt;Ngsec ranking&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;After &lt;a target="blank" href="http://forums.ngsec.com/index.php?action=thread_view&amp;thread_id=33"&gt;this&lt;/a&gt; hint I was able to solve level 10. It also required some knowledge about elf file format and familiarity with such tools as:&lt;br/&gt;&lt;br/&gt;gdb&lt;br/&gt;objdump&lt;br/&gt;readelf
			</description>
		</item>uage&gt;
		<item>
			<title>.:: ngsec game 2 - level 9 ::.</title>
			<link>http://www.expointer.com/mz/News_page.php#71_ngsec</link>
			<pubDate>Thu, 7 Dec 2006</pubDate>
			<description>
				&lt;p id="text"&gt;
I finally figured out how to solve 5th level (it was so easy!). Levels 6 - 8 were quite easy too. Now I'm facing level 9th (the last one), the aim is as usual to bypass the authentication mechanism. This time it's in a form of cgi program written in C. Here's a code:
&lt;/p&gt;
&lt;pre&gt;
&lt;p id="text"&gt;
&lt;B&gt;#include &lt;I&gt;&amp;lt;unistd.h&amp;gt;&lt;/I&gt;&lt;/B&gt;

void &lt;B&gt;show_error&lt;/B&gt;(void) {

    &lt;B&gt;printf&lt;/B&gt;(&lt;I&gt;&amp;quot;
            &amp;lt;center&amp;gt;
            &amp;lt;p class=\&amp;quot;cab\&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Authentication ERROR!&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;

            &amp;lt;p class=\&amp;quot;txt\&amp;quot;&amp;gt;Either your username or password are incorrect. Please go back and try again.&amp;lt;/p&amp;gt;
            &amp;lt;/center&amp;gt;
            \n&amp;quot;&lt;/I&gt;);

    &lt;B&gt;exit&lt;/B&gt;(-1);

}

int &lt;B&gt;main&lt;/B&gt;(int &lt;B&gt;argc&lt;/B&gt;, char **&lt;B&gt;argv&lt;/B&gt;) {

    char &lt;B&gt;user&lt;/B&gt;[128];
    char &lt;B&gt;pass&lt;/B&gt;[128];
    char *&lt;B&gt;ch_ptr_begin&lt;/B&gt;;
    char *&lt;B&gt;ch_ptr_end&lt;/B&gt;;
    char &lt;B&gt;buffer&lt;/B&gt;[1024];
    char &lt;B&gt;good_user&lt;/B&gt;[48]=&lt;I&gt;&amp;quot;XXXX&amp;quot;&lt;/I&gt;;
    char &lt;B&gt;good_pass&lt;/B&gt;[48]=&lt;I&gt;&amp;quot;XXXX&amp;quot;&lt;/I&gt;;



    if (&lt;B&gt;argc&lt;/B&gt;!=2) {
        &lt;B&gt;printf&lt;/B&gt;(&lt;I&gt;&amp;quot;Usage: ./validate &amp;lt;QUERY_STRING&amp;gt;\n&amp;quot;&lt;/I&gt;);
        &lt;B&gt;exit&lt;/B&gt;(-1);
    }


    /**********************************/
    &lt;I&gt;/* Get Username from Query String */&lt;/I&gt;

    /**********************************/
    &lt;B&gt;memset&lt;/B&gt;(&lt;B&gt;user&lt;/B&gt;,0,sizeof(&lt;B&gt;user&lt;/B&gt;));
    &lt;B&gt;ch_ptr_begin&lt;/B&gt;=(char *)&lt;B&gt;strstr&lt;/B&gt;(&lt;B&gt;argv&lt;/B&gt;[1],&lt;I&gt;&amp;quot;login=&amp;quot;&lt;/I&gt;);
    if (&lt;B&gt;ch_ptr_begin&lt;/B&gt;==&lt;B&gt;NULL&lt;/B&gt;)
        &lt;B&gt;show_error&lt;/B&gt;();
    &lt;B&gt;ch_ptr_begin&lt;/B&gt;+=6;
    &lt;B&gt;ch_ptr_end&lt;/B&gt;=(char *)&lt;B&gt;strstr&lt;/B&gt;(&lt;B&gt;ch_ptr_begin&lt;/B&gt;,&lt;I&gt;&amp;quot;&amp;amp;&amp;quot;&lt;/I&gt;);
    *(&lt;B&gt;ch_ptr_end&lt;/B&gt;++)='\0';
    &lt;B&gt;strncpy&lt;/B&gt;(&lt;B&gt;user&lt;/B&gt;,&lt;B&gt;ch_ptr_begin&lt;/B&gt;,sizeof(&lt;B&gt;user&lt;/B&gt;)-1);


    /**********************************/
    &lt;I&gt;/* Get Password from Query String */&lt;/I&gt;

    /**********************************/
    &lt;B&gt;memset&lt;/B&gt;(&lt;B&gt;pass&lt;/B&gt;,0,sizeof(&lt;B&gt;pass&lt;/B&gt;));
    &lt;B&gt;ch_ptr_begin&lt;/B&gt;=(char *)&lt;B&gt;strstr&lt;/B&gt;(&lt;B&gt;ch_ptr_end&lt;/B&gt;,&lt;I&gt;&amp;quot;password=&amp;quot;&lt;/I&gt;);
    if (&lt;B&gt;ch_ptr_begin&lt;/B&gt;==&lt;B&gt;NULL&lt;/B&gt;)
        &lt;B&gt;show_error&lt;/B&gt;();
    &lt;B&gt;ch_ptr_begin&lt;/B&gt;+=9; 
    &lt;B&gt;ch_ptr_end&lt;/B&gt;=(char *)&lt;B&gt;strstr&lt;/B&gt;(&lt;B&gt;ch_ptr_begin&lt;/B&gt;,&lt;I&gt;&amp;quot;&amp;amp;&amp;quot;&lt;/I&gt;);
    if (&lt;B&gt;ch_ptr_end&lt;/B&gt;!=&lt;B&gt;NULL&lt;/B&gt;) *(&lt;B&gt;ch_ptr_end&lt;/B&gt;++)='\0';
    &lt;B&gt;strncpy&lt;/B&gt;(&lt;B&gt;pass&lt;/B&gt;,&lt;B&gt;ch_ptr_begin&lt;/B&gt;,sizeof(&lt;B&gt;pass&lt;/B&gt;)-1);


    if ((&lt;B&gt;strcmp&lt;/B&gt;(&lt;B&gt;user&lt;/B&gt;,&lt;B&gt;good_user&lt;/B&gt;)==0) &amp;amp;&amp;amp; (&lt;B&gt;strcmp&lt;/B&gt;(&lt;B&gt;pass&lt;/B&gt;,&lt;B&gt;good_pass&lt;/B&gt;)==0))  {

        // &lt;B&gt;AUTH&lt;/B&gt; &lt;B&gt;OK&lt;/B&gt; &lt;B&gt;STUFF&lt;/B&gt;

    } else {

        &lt;B&gt;show_error&lt;/B&gt;();


    }
}
&lt;/p&gt;&lt;/pre&gt;
			</description>
		</item>
		<item>
			<title>.:: My stuff ::.</title>
			<link>http://www.expointer.com/mz/News_page.php#43_myStuff</link>
			<pubDate>Sun, 5 Nov 2006</pubDate>
			<description>
				&lt;p id="text"&gt;I added new page - [My stuff]. You can find there some of my achievments. Enjoy.&lt;/p&gt;
			</description>
		</item>
		<item>
			<title>.:: zengine ::.</title>
			<link>http://www.expointer.com/mz/News_page.php#42_zengine</link>
			<pubDate>Mon, 9 Oct 2006</pubDate>
			<description>
				&lt;p id="text"&gt;I've got involved in graphics engine programming. It's completly new project,  codename: zengine or ZENgine. Words zen (in japanese: meditation) and engine mixed together.&lt;/p&gt;&lt;center&gt;&lt;img src="content/zen_tech.jpg" /&gt;&lt;/center&gt;
			</description>
		</item>
		<item>
			<title>.:: zengine ::.</title>
			<link>http://www.expointer.com/mz/News_page.php#41_zengine</link>
			<pubDate>Mon, 9 Oct 2006</pubDate>
			<description>
				&lt;p id="text"&gt;I've got involved in graphics engine programming. It's completly new project,  codename: zengine or ZENgine. Words zen (in japanese: meditation) and engine mixed together.&lt;/p&gt;&lt;center&gt;&lt;img src="content/zen_tech.jpg /&gt;&lt;/center&gt;
			</description>
		</item>
		<item>
			<title>.:: zengine ::.</title>
			<link>http://www.expointer.com/mz/News_page.php#40_zengine</link>
			<pubDate>Mon, 9 Oct 2006</pubDate>
			<description>
				&lt;p id="text"&gt;I've got involved in graphics engine programming. It's completly new project,  codename: zengine or ZENgine. Words zen (in japanese: meditation) and engine mixed together.&lt;/p&gt;&lt;center&gt;&lt;img src="content/zen_tech.jpg&gt;&lt;/center&gt;
			</description>
		</item>uage&gt;
		<item>
			<title>.:: Summer practice at ITP ended ::.</title>
			<link>http://www.expointer.com/mz/News_page.php#38_itp</link>
			<pubDate>Mon, 2 Oct 2006</pubDate>
			<description>
				<p id="text">After three months of working at Intel Technology Poland I have to say that I had great time working there. I've met interesting people there and learnt many new things.</p>
			</description>
		</item>
		<item>
			<title>.:: Ngsec game 1 completed ::.</title>
			<link>http://www.expointer.com/mz/News_page.php#37_ngsec</link>
			<pubDate>Mon, 28 Aug 2006</pubDate>
			<description>
				<p id="text"><i>Dear mzet:</i></p><p id="text"><i>Congratulations! You have mastered NGSEC's Security Game #1 (Web Authentication).</i></p><p id="text"><i>Sincerely,<br />Next Generation Security Technologies<br /><a target="blank" href="http://www.ngsec.com">http://www.ngsec.com</a></i></p><p id="text">Here's a ranking (position number 1495):</p><p id="text"><a target="blank" href="http://quiz.ngsec.com/game1/ranking.php?level=10&amp;page=29">NGSEC's ranking</a></p>
			</description>
		</item>
		<item>
			<title>.:: Interview at Intel Technology Poland ::.</title>
			<link>http://www.expointer.com/mz/News_page.php#4_intel</link>
			<pubDate>Sun, 18 June 2006</pubDate>
			<description>
       			<p id="text">Tomorrw at 13:30 polish time.</p>
			</description>
		</item>
		<item>
			<title>.:: Ngsec games ::.</title>
			<link>http://www.expointer.com/mz/News_page.php#3_ngsec</link>
			<pubDate>Mon, 22 May 2006</pubDate>
			<description>
       			<p id="text">I've recently found interesting contest, <a target="blank" href="http://quiz.ngsec.com/game1/index.php">ngsec games</a>. I'm on the 10th level now. Unfortunately I don't have time to finish it, maybe I will find some on Saturday.</p>
			</description>
		</item>
		<item>
			<title>.:: Vim ::.</title>
			<link>http://www.expointer.com/mz/News_page.php#2_vim</link>
			<pubDate>Sun, 9 Apr 2006</pubDate>
			<description>
       			<p id="text">I have switched to vim. I have already used emacs and nano as my def editor now it's time to try out vim ;). I've read <a target="blank" href="http://www.gentoo.org/doc/en/vi-guide.xml">this tutorial</a> and made my "cheatsheet" as author of this tut advises.</p>
			</description>
		</item>
		<item>
			<title>.:: Site is up and running ::.</title>
			<link>http://www.expointer.com/mz/News_page.php#1_up</link>
			<pubDate>Fri, 7 Apr 2006</pubDate>
			<description>
       			<p id="text">At last my site is up and running, I'm very happy about it :)</p>
			</description>
		</item>
	</channel>
</rss>

