<?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>Axino.net &#187; C</title>
	<atom:link href="http://www.axino.net/category/programming/c/feed" rel="self" type="application/rss+xml" />
	<link>http://www.axino.net</link>
	<description>The other side of atom.</description>
	<lastBuildDate>Thu, 15 Jul 2010 12:45:00 +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>hackthissite.org extbasic 1 :: Over and out?</title>
		<link>http://www.axino.net/tutorial/2009/12/hackthissite-org-extbasic-1-over-and-out</link>
		<comments>http://www.axino.net/tutorial/2009/12/hackthissite-org-extbasic-1-over-and-out#comments</comments>
		<pubDate>Wed, 23 Dec 2009 22:19:34 +0000</pubDate>
		<dc:creator>Arxleol</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[hackthissite.org]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hackthissite]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[pointer]]></category>
		<category><![CDATA[solution]]></category>

		<guid isPermaLink="false">http://www.axino.net/?p=704</guid>
		<description><![CDATA[First mission in the series of extended basic missions on hackthissite.org is more then simple; Introduction is also fairly easy. You have to give input to a C program which gives you the length of the string. How would you crash it? here is the function: void blah(char *str) { char lol[200]; strcpy(lol, str); } [...]]]></description>
			<content:encoded><![CDATA[<p>First mission in the series of extended basic missions on hackthissite.org is more then simple;</p>
<p><span id="more-704"></span></p>
<p>Introduction is also fairly easy.</p>
<blockquote><p>You have to give input to a C program which gives you the length of the string. How would you crash it?<br />
here is the function:<br />
<span style="font-family: monospace;"><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;"><br />
</span></span></p>
<div><code> void blah(char *str)<br />
{<br />
char lol[200];<br />
strcpy(lol, str);<br />
}<br />
</code></div>
</blockquote>
<p>Now you have to understand some of <strong>C</strong> to understand this Here we have short function that accepts string as array of chars or to be exact pointer on the first character in the series.</p>
<p>First line of code defines new array with length of<strong> 200 characters</strong>.</p>
<p>Second line of code copies <strong>str</strong> array into <strong>lol</strong> array. However, if str array is longer then lol array program will crash. So you simply have to enter more then 200 characters into the text box and you will crash it.</p>
<p>Here is sample string with 201 characters <img src='http://www.axino.net/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<blockquote><p>123451234512345123451234512345123451234512345123451234512345123451234512345123451234512345123451234512345123451234512345123451234512345123451234512345123451234512345123451234512345123451234512345123459</p></blockquote>
<blockquote></blockquote>
<p>With regards,</p>
<p>Ax<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.axino.net/tutorial/2010/05/javascript-missions-3-math-time" rel="bookmark" title="Monday 17.05.2010">Javascript Missions 3 :: Math time</a></li>
<li><a href="http://www.axino.net/tutorial/2009/06/how-to-obtain-get-parameters-from-url-with-javascript" rel="bookmark" title="Tuesday 09.06.2009">How to obtain get parameters from URL with javascript</a></li>
<li><a href="http://www.axino.net/hack/2009/10/keylogger-in-c-saving-content" rel="bookmark" title="Tuesday 27.10.2009">Keylogger in C# :: Saving content</a></li>
<li><a href="http://www.axino.net/tutorial/2009/12/hackthissite-org-extbasic-4-finda-fake-2" rel="bookmark" title="Sunday 27.12.2009">hackthissite.org extbasic 4 :: Finda Fake 2</a></li>
<li><a href="http://www.axino.net/tutorial/2010/03/hack-test-com-3-link-colour" rel="bookmark" title="Saturday 20.03.2010">hack-test.com 3 :: link colour</a></li>
</ul>
<p><!-- Similar Posts took 4.735 ms --></p>
 <img src="http://www.axino.net/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=704" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.axino.net/tutorial/2009/12/hackthissite-org-extbasic-1-over-and-out/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
