<?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; hellboundhackers</title>
	<atom:link href="http://www.axino.net/tag/hellboundhackers/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>JavaScript Challenge 12 :: execute</title>
		<link>http://www.axino.net/tutorial/2010/06/javascript-challenge-12-execute</link>
		<comments>http://www.axino.net/tutorial/2010/06/javascript-challenge-12-execute#comments</comments>
		<pubDate>Tue, 08 Jun 2010 21:53:50 +0000</pubDate>
		<dc:creator>Arxleol</dc:creator>
				<category><![CDATA[hellboundhackers.org]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hellboundhackers]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[solution]]></category>

		<guid isPermaLink="false">http://www.axino.net/?p=1023</guid>
		<description><![CDATA[I know, when you opened this challenge you probably though again some math problem. But this one can be solved very easily. Script that awaits you is long and it would be boring to analyze it. You already noticed that you cannot use javascript injection. function checkpass&#40;&#41; &#123; &#160; pass=document.password.pass.value; z=2; x=z*1.5; v=z*2; w=v*1.75; y=v*1.25; abc=&#40;&#40;&#40;y*v*y*x+z&#41;*x+w&#41;*z+y&#41;*v+w; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>I know, when you opened this challenge you probably though again some math problem. But this one can be solved very easily.</p>
<p><span id="more-1023"></span></p>
<p>Script that awaits you is long and it would be boring to analyze it. You already noticed that you cannot use javascript injection.<br />
<code> </code></p>
<p><code></p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> checkpass<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span> 
&nbsp;
 pass<span style="color: #339933;">=</span>document.<span style="color: #660066;">password</span>.<span style="color: #660066;">pass</span>.<span style="color: #660066;">value</span><span style="color: #339933;">;</span>
 z<span style="color: #339933;">=</span><span style="color: #CC0000;">2</span><span style="color: #339933;">;</span>
 x<span style="color: #339933;">=</span>z<span style="color: #339933;">*</span><span style="color: #CC0000;">1.5</span><span style="color: #339933;">;</span>
 v<span style="color: #339933;">=</span>z<span style="color: #339933;">*</span><span style="color: #CC0000;">2</span><span style="color: #339933;">;</span>
 w<span style="color: #339933;">=</span>v<span style="color: #339933;">*</span><span style="color: #CC0000;">1.75</span><span style="color: #339933;">;</span>
 y<span style="color: #339933;">=</span>v<span style="color: #339933;">*</span><span style="color: #CC0000;">1.25</span><span style="color: #339933;">;</span>
 abc<span style="color: #339933;">=</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>y<span style="color: #339933;">*</span>v<span style="color: #339933;">*</span>y<span style="color: #339933;">*</span>x<span style="color: #339933;">+</span>z<span style="color: #009900;">&#41;</span><span style="color: #339933;">*</span>x<span style="color: #339933;">+</span>w<span style="color: #009900;">&#41;</span><span style="color: #339933;">*</span>z<span style="color: #339933;">+</span>y<span style="color: #009900;">&#41;</span><span style="color: #339933;">*</span>v<span style="color: #339933;">+</span>w<span style="color: #339933;">;</span> 
&nbsp;
 <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>pass<span style="color: #339933;">==</span>abc<span style="color: #009900;">&#41;</span>
 <span style="color: #009900;">&#123;</span>
  <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'Congratz! You are good at Math'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
 <span style="color: #009900;">&#125;</span>
 <span style="color: #000066; font-weight: bold;">else</span>
 <span style="color: #009900;">&#123;</span>
  <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'Sorry, try again when you learn more Math!'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
&nbsp;
 <span style="color: #009900;">&#125;</span> 
&nbsp;
<span style="color: #009900;">&#125;</span></pre></div></div>

<p></code></p>
<p>So what we want to do is to execute mathematical part and obtain answer. You can do this by opening new tab and executing following script that will output correct mathematical answer:</p>
<p><code></p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">javascript<span style="color: #339933;">:</span>z<span style="color: #339933;">=</span><span style="color: #CC0000;">2</span><span style="color: #339933;">;</span>x<span style="color: #339933;">=</span>z<span style="color: #339933;">*</span><span style="color: #CC0000;">1.5</span><span style="color: #339933;">;</span>v<span style="color: #339933;">=</span>z<span style="color: #339933;">*</span><span style="color: #CC0000;">2</span><span style="color: #339933;">;</span>w<span style="color: #339933;">=</span>v<span style="color: #339933;">*</span><span style="color: #CC0000;">1.75</span><span style="color: #339933;">;</span>y<span style="color: #339933;">=</span>v<span style="color: #339933;">*</span><span style="color: #CC0000;">1.25</span><span style="color: #339933;">;</span>abc<span style="color: #339933;">=</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>y<span style="color: #339933;">*</span>v<span style="color: #339933;">*</span>y<span style="color: #339933;">*</span>x<span style="color: #339933;">+</span>z<span style="color: #009900;">&#41;</span><span style="color: #339933;">*</span>x<span style="color: #339933;">+</span>w<span style="color: #009900;">&#41;</span><span style="color: #339933;">*</span>z<span style="color: #339933;">+</span>y<span style="color: #009900;">&#41;</span><span style="color: #339933;">*</span>v<span style="color: #339933;">+</span>w<span style="color: #339933;">;</span>alert<span style="color: #009900;">&#40;</span>abc<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p></code></p>
<p>You should get this answer in alert box: <strong>7331</strong><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.axino.net/tutorial/2010/07/javascript-challenge-10-math-time" rel="bookmark" title="Saturday 03.07.2010">JavaScript Challenge 10 :: Math time</a></li>
<li><a href="http://www.axino.net/tutorial/2009/06/javascript-missions-1-idiot-test" rel="bookmark" title="Saturday 20.06.2009">Javascript Missions 1 :: Idiot Test</a></li>
<li><a href="http://www.axino.net/tutorial/2010/02/javascript-challenge-5-stop-me-quickly-2" rel="bookmark" title="Monday 01.02.2010">JavaScript Challenge 5 :: Stop me quickly 2</a></li>
<li><a href="http://www.axino.net/tutorial/2010/06/javascript-challenge-11-js-injection" rel="bookmark" title="Sunday 06.06.2010">JavaScript Challenge 11 :: js injection</a></li>
<li><a href="http://www.axino.net/hack/hackertestnet/2009/01/hackertestnet-level-1" rel="bookmark" title="Wednesday 07.01.2009">hackertest.net level 1 :: Cover up basics</a></li>
</ul>
<p><!-- Similar Posts took 4.838 ms --></p>
 <img src="http://www.axino.net/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1023" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.axino.net/tutorial/2010/06/javascript-challenge-12-execute/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
