title: How to execute the CMU binary bomb in Ubuntu Linux?
body: <p>I'm trying to do CMU's binary bomb as an independent project to learn some x86 Assembly and reverse engineering. (It's not an auto-graded version tied to a class.) </p>
  
  <p>I downloaded bomb.tar from <a href="http://csapp.cs.cmu.edu/public/labs.html" rel="nofollow">http://csapp.cs.cmu.edu/public/labs.html</a>. </p>
  
  <p>From CMU's lab description:</p>
  
  <blockquote>
    <p>A "binary bomb" is a program provided to students as an object code
    file. When run, it prompts the user to type in 6 different strings. If
    any of these is incorrect, the bomb "explodes," printing an error
    message and logging the event on a grading server. Students must
    "defuse" their own unique bomb by disassembling and reverse
    engineering the program to determine what the 6 strings should be. The
    lab teaches students to understand assembly language, and also forces
    them to learn how to use a debugger. It's also great fun. A legendary
    lab among the CMU undergrads.</p>
    
    <p>Here's a <a href="http://csapp.cs.cmu.edu/public/bomb.tar" rel="nofollow">Linux/IA32 binary bomb</a> that you can try out for yourself. The
    feature that notifies the grading server has been disabled, so feel
    free to explode this bomb with impunity.</p>
  </blockquote>
  
  <p>After saving it into an appropriate folder I ran this command in the Terminal:</p>
  
  <pre><code>tar xvf bomb.tar
  </code></pre>
  
  <ol>
  <li><p>It did extract a file called <code>bomb</code> (no file extension), but I thought it would also give me <code>bomb.c</code>, which would also be helpful for reference.</p></li>
  <li><p>I can't get "bomb" to run. Here's what I've tried:</p>
  
  <pre><code>bomb
  bomb: command not found
  
  ./bomb
  bash: ./bomb: No such file or directory
  </code></pre></li>
  <li><p>While I realize solving it requires stepping through it in gdb, I can't even run it in BASH and blow myself up with wrong answers yet! A little help would be fantastic.</p></li>
  </ol>