You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p><ahref="http://en.wikipedia.org/wiki/RSA_Factoring_Challenge">This page</a> shows that factoring a 330-bit key was possible in 1991. Absent any other weaknesses, it seems that all we have to do is factor the modulus of the public key. Here I use CADO-NFS to factor the modulus.</p>
<p>I have a local script to generate an RSA private key file from provided p and q values, but it's possible to use an online generator if you are less paranoid.</p>
<p>This problem gives you an interface to check whether a user has registered <ahref="http://backdoor.cognizance.org.in/problems/web300/status.php">here</a>. </p>
@@ -308,7 +304,6 @@ <h2>Web 300</h2>
308
304
+----------------------------------+
309
305
</code></pre>
310
306
311
-
<p><aid="misc250-2"></a></p>
312
307
313
308
<h2>Misc 250-2</h2>
314
309
@@ -323,7 +318,7 @@ <h2>Misc 250-2</h2>
323
318
Login as the sdslabs user for a change.</p>
324
319
</blockquote>
325
320
326
-
<p><imgsrc="backdoor.bmp" alt="backdoor" title="login for backdoor user" /></p>
321
+
<p><imgsrc="/assets/images/backdoor2014/backdoor.bmp"alt="backdoor"title="login for backdoor user" /></p>
327
322
328
323
<p>The first thing that comes to mind is changing the threshold of the image, but
329
324
that did not do anything. OCR also came to mind, but after spending some time
@@ -336,7 +331,7 @@ <h2>Misc 250-2</h2>
336
331
other colors in it. This was because the text in the image was anti-aliased,
337
332
so I painted over the text with #000000 and it still logged me in as the user backdoor. </p>
338
333
339
-
<p><imgsrc="try.png" alt="backdoor2" title="this also logs you in as the user backdoor" /></p>
334
+
<p><imgsrc="/assets/images/backdoor2014/try.png"alt="backdoor2"title="this also logs you in as the user backdoor" /></p>
340
335
341
336
<p>But the image was still not all black, so I examined the pixels again and found
342
337
that they were all either #000000 or #010101. Hmmmm, it just might be a binary
@@ -352,7 +347,7 @@ <h2>Misc 250-2</h2>
352
347
top row. I made a new image with all the pixels changed to #123456 except for
353
348
the ones in the top row and successfully logged in using it.</p>
354
349
355
-
<p><imgsrc="backdoor3.png" alt="backdoor3" title="this also logs you in" /></p>
350
+
<p><imgsrc="/assets/images/backdoor2014/backdoor3.png"alt="backdoor3"title="this also logs you in" /></p>
356
351
357
352
<p>I continued changing everything but the first x pixels of the image to #123456
358
353
and it turned out the server would accept the image if the first 80 pixels were
@@ -382,4 +377,5 @@ <h2>Misc 250-2</h2>
382
377
383
378
<p>Then I submitted this image to log in as sdslabs and capture the flag.</p>
0 commit comments