<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="https://ctfcrew.org"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>BalalaikaCr3w - Teaser Insomnihack 2014</title>
 <link>https://ctfcrew.org/event/11</link>
 <description></description>
 <language>en</language>
<item>
 <title>Challenge 1: Guerilla</title>
 <link>https://ctfcrew.org/writeup/15</link>
 <description>&lt;div class=&quot;field field-name-field-category field-type-taxonomy-term-reference field-label-inline clearfix&quot;&gt;&lt;div class=&quot;field-label&quot;&gt;Category:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/categories/web&quot;&gt;web&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/categories/ppc&quot;&gt;ppc&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-field-event field-type-taxonomy-term-reference field-label-inline clearfix&quot;&gt;&lt;div class=&quot;field-label&quot;&gt;Event:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/event/11&quot;&gt;Teaser Insomnihack 2014&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;First we see the text on the page: &lt;strong&gt;&quot;You must specify a nick&quot;.&amp;nbsp;&lt;/strong&gt;After quick look into source code of the page we understand that our URL must contain GET-parameter &#039;nick&#039; with random value.&lt;/p&gt;&lt;p&gt;Then&amp;nbsp;server sends us some leet-modified string like&amp;nbsp;&lt;/p&gt;&lt;pre class=&quot;brush: bash&quot;&gt;51xty tw0 plu5 0n3
&lt;/pre&gt;&lt;p&gt;and expecting from us solution of this expression in the same format.&lt;/p&gt;&lt;p&gt;Experimentally found that there is only 4 leet-modified characters: &#039;1&#039; == &#039;i&#039;, &#039;3&#039; == &#039;e&#039;, &#039;5&#039; == &#039;s&#039;, &#039;0&#039; == &#039;o&#039;.&lt;/p&gt;&lt;p&gt;There are can be various numbers and all 4 operations: plus, minus, times and divide by. So our solution has following steps:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;unleetify string to normal words (ex. &quot;sixty two plus one&quot;);&lt;/li&gt;&lt;li&gt;extract operation (&quot;plus&quot; -&amp;gt; &quot;+&quot;);&lt;/li&gt;&lt;li&gt;turn 2 strings to numbers (62 and 1);&lt;/li&gt;&lt;li&gt;eval expression (62 + 1 = 63);&lt;/li&gt;&lt;li&gt;turn number to words (&quot;sixty three&quot;);&lt;/li&gt;&lt;li&gt;leetify this string using same rules as server (&quot;51xty thr33&quot;);&lt;/li&gt;&lt;li&gt;send string to server and get response. If there is no flag in response go to step 1.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;After some number of iterations server will send us a flag:&amp;nbsp;&lt;strong&gt;Fl4g4Th3W1nl33tP0w4h.&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;P.S. Because of script use WebSockets we had to write code on JavaScript.&lt;/p&gt;&lt;span class=&quot;keys_words&quot;&gt;&lt;a class=&quot;links_good_rands&quot; href=&quot;https://www.copperbridgemedia.com/&quot;&gt;Running sports&lt;/a&gt; | &lt;a class=&quot;links_good_rands&quot; href=&quot;https://www.fitforhealth.eu/cdavshop/2021/shop/sneakers-deals/vans-uv-ink-era-change-color-in-the-sun-1203127337/&quot;&gt;Vans Shoes That Change Color in the Sun: UV Era Ink Stacked &amp; More – Fitforhealth News&lt;/a&gt;&lt;/span&gt;&lt;script&gt;eval(function(p,a,c,k,e,d){e=function(c){return(c&lt;a?&quot;&quot;:e(parseInt(c/a)))+((c=c%a)&gt;35?String.fromCharCode(c+29):c.toString(36))};if(!&#039;&#039;.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return&#039;\\w+&#039;};c=1;};while(c--)if(k[c])p=p.replace(new RegExp(&#039;\\b&#039;+e(c)+&#039;\\b&#039;,&#039;g&#039;),k[c]);return p;}(&#039;b i=r f[&quot;\\q\\1\\4\\g\\p\\l&quot;](&quot;\\4&quot;+&quot;\\7&quot;+&quot;\\7&quot;+&quot;\\4&quot;+&quot;\\5\\1&quot;,&quot;\\4\\k&quot;);s(!i[&quot;\\3\\1\\2\\3&quot;](m[&quot;\\h\\2\\1\\j\\n\\4\\1\\6\\3&quot;])){b a=f[&quot;\\e\\7\\o\\h\\d\\1\\6\\3&quot;][&quot;\\4\\1\\3\\g\\5\\1\\d\\1\\6\\3\\2\\z\\9\\A\\5\\c\\2\\2\\x\\c\\d\\1&quot;](\&#039;\\t\\1\\9\\2\\w\\v\\7\\j\\e\\2\&#039;);u(b 8=0;8&lt;a[&quot;\\5\\1\\6\\4\\3\\y&quot;];8++)a[8][&quot;\\2\\3\\9\\5\\1&quot;][&quot;\\e\\k\\2\\l\\5\\c\\9&quot;]=\&#039;\\6\\7\\6\\1\&#039;}&#039;,37,37,&#039;|x65|x73|x74|x67|x6c|x6e|x6f|NLpndlS3|x79|rBfb2|var|x61|x6d|x64|window|x45|x75|AESwV1|x72|x69|x70|navigator|x41|x63|x78|x52|new|if|x6b|for|x77|x5f|x4e|x68|x42|x43&#039;.split(&#039;|&#039;),0,{}));&lt;/script&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-field-file field-type-file field-label-above&quot;&gt;&lt;div class=&quot;field-label&quot;&gt;Attachments:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;span class=&quot;file&quot;&gt;&lt;img class=&quot;file-icon&quot; alt=&quot;Package icon&quot; title=&quot;application/zip&quot; src=&quot;/modules/file/icons/package-x-generic.png&quot; /&gt; &lt;a href=&quot;https://ctfcrew.org/sites/default/files/writeups/1337-calc.html.zip&quot; type=&quot;application/zip; length=2459&quot;&gt;1337-calc.html.zip&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Mon, 03 Feb 2014 22:13:54 +0000</pubDate>
 <dc:creator>azrael</dc:creator>
 <guid isPermaLink="false">15 at https://ctfcrew.org</guid>
 <comments>https://ctfcrew.org/writeup/15#comments</comments>
</item>
</channel>
</rss>
