<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Trucha Bug</title>
<description> What is this? Any info is appreciated! :D</description><link>http://forum.wiibrew.org/read.php?24,21853,21853#msg-21853</link><lastBuildDate>Wed, 22 Apr 2026 04:04:04 +0200</lastBuildDate>
<generator>Phorum 5.2.23</generator>
<item>
<guid>http://forum.wiibrew.org/read.php?24,21853,22023#msg-22023</guid>
<title>Re: Trucha Bug</title><link>http://forum.wiibrew.org/read.php?24,21853,22023#msg-22023</link><description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>PhoenixTank</strong><br />nice, albeit problematic slide show.</div></blockquote>
That&#039;s an understatement :-P, but yes it was very informative.]]></description>
<dc:creator>Kage52124</dc:creator>
<category>Getting Started</category><pubDate>Wed, 24 Jun 2009 20:15:37 +0200</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?24,21853,21961#msg-21961</guid>
<title>Re: Trucha Bug</title><link>http://forum.wiibrew.org/read.php?24,21853,21961#msg-21961</link><description><![CDATA[ It also gets explained by Bushing & Marcan with a nice, albeit problematic (you&#039;ll see), slide show.<br /><a href="http://www.youtube.com/watch?v=lyVuY_S5VcI&feature=PlayList&p=72658A55B19C8634&index=0" rel="nofollow">http://www.youtube.com/watch?v=lyVuY_S5VcI&feature=PlayList&p=72658A55B19C8634&index=0</a><br />Unfortunately, I forget how far into the video(s) it is. Either way, this should practically be considered "required reading" if you are wanting to start to learn.<br />Enjoy!]]></description>
<dc:creator>PhoenixTank</dc:creator>
<category>Getting Started</category><pubDate>Wed, 24 Jun 2009 07:26:56 +0200</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?24,21853,21957#msg-21957</guid>
<title>Re: Trucha Bug</title><link>http://forum.wiibrew.org/read.php?24,21853,21957#msg-21957</link><description><![CDATA[ Okay, guys, thanks for the info! I don&#039;t really understand any of it, but i will someday! :P]]></description>
<dc:creator>WaxyPumpkin72</dc:creator>
<category>Getting Started</category><pubDate>Wed, 24 Jun 2009 06:36:37 +0200</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?24,21853,21891#msg-21891</guid>
<title>Re: Trucha Bug</title><link>http://forum.wiibrew.org/read.php?24,21853,21891#msg-21891</link><description><![CDATA[ me too, and I didn&#039;t remember if it was a forward or backslash. In reference to C, I know a little code, but only within the confines of Computer Science 101 class and one class on C++<br /><br />EDIT: btw I was just curious :-P]]></description>
<dc:creator>Kage52124</dc:creator>
<category>Getting Started</category><pubDate>Wed, 24 Jun 2009 03:16:56 +0200</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?24,21853,21886#msg-21886</guid>
<title>Re: Trucha Bug</title><link>http://forum.wiibrew.org/read.php?24,21853,21886#msg-21886</link><description><![CDATA[ Here is the wiibrew entry:<br /><br />[<a href="http://wiibrew.org/wiki/Signing_bug" rel="nofollow">wiibrew.org</a>]<br /><br /><br />I did not find it half a hour ago and now I stumbled upon it while reading about Datel&#039;s freeloader.<br />If I found it earlier I could have saved me from writing a wall of text :D<br />At least I learned something in the process :D]]></description>
<dc:creator>daniel_c_w</dc:creator>
<category>Getting Started</category><pubDate>Wed, 24 Jun 2009 03:07:53 +0200</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?24,21853,21882#msg-21882</guid>
<title>Re: Trucha Bug</title><link>http://forum.wiibrew.org/read.php?24,21853,21882#msg-21882</link><description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Kage52124</strong><br />Sorry to be picky, but isn&#039;t it actually not 0, but /0 ?</div></blockquote><br />The byte has a value of 0.<br />"\0" is just a way to write that that in C.<br /><br />(I assume you meant "\0" not "/0")<br /><br /><br />Be as picky as you can, please. A complex topic like this requires that.<br />Is anything not clear?]]></description>
<dc:creator>daniel_c_w</dc:creator>
<category>Getting Started</category><pubDate>Wed, 24 Jun 2009 02:55:36 +0200</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?24,21853,21881#msg-21881</guid>
<title>Re: Trucha Bug</title><link>http://forum.wiibrew.org/read.php?24,21853,21881#msg-21881</link><description><![CDATA[ Sorry to be picky, but isn&#039;t it actually not 0, but /0 ?]]></description>
<dc:creator>Kage52124</dc:creator>
<category>Getting Started</category><pubDate>Wed, 24 Jun 2009 02:50:49 +0200</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?24,21853,21877#msg-21877</guid>
<title>Re: Trucha Bug</title><link>http://forum.wiibrew.org/read.php?24,21853,21877#msg-21877</link><description><![CDATA[ It&#039;s the scene&#039;s name for a bug in the signature check, present in many IOS and boot1<br /><br />Before data is executed or copied to the Wii, a mathematical function returns a rather unique and very large number, it&#039;s hash. That number is then stored in memory and will be compared to another number in the signature that comes along with the data.<br />For reasons that would take a lot of text to explain just consider the second number to be secure.<br /><br />Both numbers are now present, and the Wii compares them. If they are equal, it will it to be executed or copied, or whatever.<br /><br />Though it is not known what the real source code looks like, it is very likely, that the programmer responsible for the signature check used the c library function "strncmp", instead of "memcmp".<br />Both compare memory areas, byte for byte, but strcmp does handle the memory as a string (str).<br />Strings usually contain printable bytes and can have any length.<br />In many implementations a byte filled with zeros is considered to mark the end of a string, that&#039;s called a "null terminated string".<br />If the function "strncmp" finds a byte full of zeros, it will consider it to be the end of a string.<br />If the part before the zero byte is equal, both strings are considered equal, or at least the code found on the wii does.<br />An exception is the first byte, it has to be a match. A byte on the Wii can have 256 differnet values.<br /><br />A fake signature can be created easily by testing all 256 combinations for the first byte, on will be a match, and setting the second byte to 0.<br /><br />This takes just about a second.<br /><br />If the bug were not present, we would have to try a lot more combinations: a 15 with 47 zeros behind.]]></description>
<dc:creator>daniel_c_w</dc:creator>
<category>Getting Started</category><pubDate>Wed, 24 Jun 2009 02:37:08 +0200</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?24,21853,21853#msg-21853</guid>
<title>Trucha Bug</title><link>http://forum.wiibrew.org/read.php?24,21853,21853#msg-21853</link><description><![CDATA[ What is this? Any info is appreciated! :D]]></description>
<dc:creator>WaxyPumpkin72</dc:creator>
<category>Getting Started</category><pubDate>Tue, 23 Jun 2009 23:41:16 +0200</pubDate></item>
</channel>
</rss>