<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
	>
<channel>
	<title>Comments on: iPhone Piracy 101: Steps to Prevent it</title>
	<atom:link href="http://mrcracker.com/2009/06/iphone-piracy-101-steps-to-prevent-it/feed/" rel="self" type="application/rss+xml" />
	<link>http://mrcracker.com/2009/06/iphone-piracy-101-steps-to-prevent-it/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=iphone-piracy-101-steps-to-prevent-it</link>
	<description>all things hacking.</description>
	<lastBuildDate>Fri, 20 Jan 2012 11:23:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: nospamsandwich</title>
		<link>http://mrcracker.com/2009/06/iphone-piracy-101-steps-to-prevent-it/comment-page-1/#comment-3716</link>
		<dc:creator>nospamsandwich</dc:creator>
		<pubDate>Sat, 12 Dec 2009 12:30:50 +0000</pubDate>
		<guid isPermaLink="false">http://mrcracker.com/?p=476#comment-3716</guid>
		<description>&lt;code&gt;swi_exit()&lt;/code&gt; doesn&#039;t quit for me either.  Call &lt;code&gt;syscall_exit()&lt;/code&gt; instead.</description>
		<content:encoded><![CDATA[<p><code>swi_exit()</code> doesn&#8217;t quit for me either.  Call <code>syscall_exit()</code> instead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steffenj</title>
		<link>http://mrcracker.com/2009/06/iphone-piracy-101-steps-to-prevent-it/comment-page-1/#comment-3715</link>
		<dc:creator>steffenj</dc:creator>
		<pubDate>Tue, 10 Nov 2009 13:40:25 +0000</pubDate>
		<guid isPermaLink="false">http://mrcracker.com/?p=476#comment-3715</guid>
		<description>Just to clarify compilation issues for others:

- turn the whole iPhoneOS_swi.s file into lowercase letters
- replace .global with .globl
- to use the code in a C file, write:

extern int swi_exit();
extern int syscall_getgid();
// ... and so on with any other function you want to use
// note that the extern functions here have the leading underscore removed!

int main (int argc, char *argv[]) 
{
#if !TARGET_IPHONE_SIMULATOR
	// check if debugger is attached (cracking attempt?)
	int root = syscall_getgid();
	if (root == 0)
	{
		swi_exit();
	}
#endif

  // your code here

  return 0;
}


Note: i don&#039;t know if the code belongs directly after main or not. I see it returns 501 with debugger attached by running a debug build with Build &amp; Go (Debug). So it doesn&#039;t quit. But maybe it would if you attempt to crack it? I haven&#039;t checked that.</description>
		<content:encoded><![CDATA[<p>Just to clarify compilation issues for others:</p>
<p>- turn the whole iPhoneOS_swi.s file into lowercase letters<br />
- replace .global with .globl<br />
- to use the code in a C file, write:</p>
<p>extern int swi_exit();<br />
extern int syscall_getgid();<br />
// &#8230; and so on with any other function you want to use<br />
// note that the extern functions here have the leading underscore removed!</p>
<p>int main (int argc, char *argv[])<br />
{<br />
#if !TARGET_IPHONE_SIMULATOR<br />
	// check if debugger is attached (cracking attempt?)<br />
	int root = syscall_getgid();<br />
	if (root == 0)<br />
	{<br />
		swi_exit();<br />
	}<br />
#endif</p>
<p>  // your code here</p>
<p>  return 0;<br />
}</p>
<p>Note: i don&#8217;t know if the code belongs directly after main or not. I see it returns 501 with debugger attached by running a debug build with Build &amp; Go (Debug). So it doesn&#8217;t quit. But maybe it would if you attempt to crack it? I haven&#8217;t checked that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steffenj</title>
		<link>http://mrcracker.com/2009/06/iphone-piracy-101-steps-to-prevent-it/comment-page-1/#comment-3714</link>
		<dc:creator>steffenj</dc:creator>
		<pubDate>Tue, 10 Nov 2009 12:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://mrcracker.com/?p=476#comment-3714</guid>
		<description>Oh ... i figured it out. The assembler instructions must be written in lower case, not upper case!</description>
		<content:encoded><![CDATA[<p>Oh &#8230; i figured it out. The assembler instructions must be written in lower case, not upper case!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steffenj</title>
		<link>http://mrcracker.com/2009/06/iphone-piracy-101-steps-to-prevent-it/comment-page-1/#comment-3713</link>
		<dc:creator>steffenj</dc:creator>
		<pubDate>Tue, 10 Nov 2009 12:55:36 +0000</pubDate>
		<guid isPermaLink="false">http://mrcracker.com/?p=476#comment-3713</guid>
		<description>When i try to compile the .S file i get an error in every line similar to this one: &quot;bad instruction &#039;MOV R12&#039;&quot;

I get the same when i try to use __asm__ (&quot;MOV R12&quot;)

I&#039;m compiling for iPhone OS 2.2.1

I already found out from another website that it should be .globl and not .global

Are there any specific project settings that must be set? Or more importantly: did you ever compile this code in an iPhone project?</description>
		<content:encoded><![CDATA[<p>When i try to compile the .S file i get an error in every line similar to this one: &#8220;bad instruction &#8216;MOV R12&#8242;&#8221;</p>
<p>I get the same when i try to use __asm__ (&#8220;MOV R12&#8243;)</p>
<p>I&#8217;m compiling for iPhone OS 2.2.1</p>
<p>I already found out from another website that it should be .globl and not .global</p>
<p>Are there any specific project settings that must be set? Or more importantly: did you ever compile this code in an iPhone project?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://mrcracker.com/2009/06/iphone-piracy-101-steps-to-prevent-it/comment-page-1/#comment-3712</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 21 Oct 2009 17:31:20 +0000</pubDate>
		<guid isPermaLink="false">http://mrcracker.com/?p=476#comment-3712</guid>
		<description>Hey Hans, it&#039;s written in assembly.</description>
		<content:encoded><![CDATA[<p>Hey Hans, it&#8217;s written in assembly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hans Pinckaers</title>
		<link>http://mrcracker.com/2009/06/iphone-piracy-101-steps-to-prevent-it/comment-page-1/#comment-3711</link>
		<dc:creator>Hans Pinckaers</dc:creator>
		<pubDate>Sun, 18 Oct 2009 13:42:15 +0000</pubDate>
		<guid isPermaLink="false">http://mrcracker.com/?p=476#comment-3711</guid>
		<description>Could you tell me in what programming language your iPhoneOS_swi.S is written, i would like to learn more about your code.</description>
		<content:encoded><![CDATA[<p>Could you tell me in what programming language your iPhoneOS_swi.S is written, i would like to learn more about your code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BloggersBase Internet</title>
		<link>http://mrcracker.com/2009/06/iphone-piracy-101-steps-to-prevent-it/comment-page-1/#comment-3710</link>
		<dc:creator>BloggersBase Internet</dc:creator>
		<pubDate>Wed, 03 Jun 2009 22:37:21 +0000</pubDate>
		<guid isPermaLink="false">http://mrcracker.com/?p=476#comment-3710</guid>
		<description>&lt;strong&gt;iPhone Piracy 101: Steps to Prevent it...&lt;/strong&gt;

**This is a guest article by Will Strafach. Unlike you, this person got off his ass and earned some $$ writing about what he loves. He has accomplished something with his life, he has written for......</description>
		<content:encoded><![CDATA[<p><strong>iPhone Piracy 101: Steps to Prevent it&#8230;</strong></p>
<p>**This is a guest article by Will Strafach. Unlike you, this person got off his ass and earned some $$ writing about what he loves. He has accomplished something with his life, he has written for&#8230;&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

