News for hackers. Stuff that matters.
Re:Developer only event at SXSW (code puzzle gets harder wit... by redredraider on Friday March 04, 2011 @01:07PM (#2289053)

   $data = "http://hackerunderground.com/solution/blank;
   $ch = curl_init($data); 
   curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
   $base = curl_exec($ch);

   for($i=0;$i<10000;$i++)
   {
   $data = "http://hackerunderground.com/solution/$i;
   $ch = curl_init($data); 
   curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
   $response = curl_exec($ch); 
   if($response != $base)
   {
   echo $i;
   }
   }


I like my solution best. Everyone should try it!
Re:Developer only event at SXSW (code puzzle gets harder wit... by jkkramer on Friday March 04, 2011 @02:11PM (#2289347)
I like how it keeps going even after it finds the solution.
Re:Developer only event at SXSW (code puzzle gets harder wit... by redredraider on Friday March 04, 2011 @02:20PM (#2289380)
Haha my bad.
Re:Developer only event at SXSW (code puzzle gets harder wit... by biznickman on Friday March 04, 2011 @02:07PM (#2289330)
That's a true hack ... :)
Re:Developer only event at SXSW (code puzzle gets harder wit... by mickdarling on Friday March 04, 2011 @01:54PM (#2289289)
This will work for all the puzzles too. :-)