CS 105

Lab 3: Bomb

The nefarious Dr. Evil has planted a slew of “binary bombs” on our machines. A binary bomb is a program that consists of a sequence of six phases. Each phase expects you to type a particular string on standard in (stdin). If you type the correct string, then the phase is defused and the bomb proceeds to the next phase. Otherwise, the bomb explodes by printing “BOOM!!!” and then terminating. The bomb is defused when every phase has been defused.

There are too many bombs for us to deal with, so we are giving each group a bomb to defuse. Your mission—which you have no choice but to accept—is to defuse your bomb before the due date.

Good luck, and welcome to the bomb squad!

Steps

Submission and Grading

For this lab, there isn't anything to hand-in. The bomb program will notify your instructor automatically about your progress as you work on it (another reason not to try to brute-force a solution!).

You can keep track of how you are doing by looking at the

which probably only works from a CS lab machine (maybe).

You can always get to it by sshing to wilkes and running

links http://localhost:15213/scoreboard)

Due Date

Due: Friday, February 27 at 11:59 PM

(When logged in, completion status appears here.)