Lab Setup
Note: This lab must be run on wilkes. If you run it on a
different machine, you may get incorrect (or at least different)
answers.
Partner & Attendance Information
Please show you were here for the lab (or not) by filling out the following information:
Getting Started
Each two-person team will attempt to defuse their own personalized bomb. Each bomb is a Linux binary executable file that has been compiled from a C program. To obtain your team's bomb, one (and only one) of the team members should follow these steps to acquire a bomb:
- Connect to
wilkesin a terminal. -
Create a directory for your lab files, using the commands:
mkdir -p ~/cs105/lab3-bomb cd ~/cs105/lab3-bomb -
Enter the command
links http://wilkes:15213and then press Enter. This will bring up a little web form inside the terminal where you can enter your usernames and email. You can use your keyboard's arrow keys to move around the form. When you've filled in the blanks, navigate to the “button” and hit Enter.
-
The server will generate a
tararchive for you and you'll get a dialog pop-up asking if you want to download it (possibly with a question about an “Unknown Type”); select . - Another pop-up will ask you about the and shows you the filename of your bomb. Select .
- Press the q key on your keyboard to exit Links, and confirm that you want to exit if prompted. (Click the button or hit Y.)
-
Back in the terminal, use
lsto confirm that your downloaded bombtarfile is in your directory. Notice that your bomb has a number (e.g.,bomb3) as shown below:
-
Give the command:
tar -xvf bomb, replacing thek .tarwith your bomb's number. You will then have a directory calledk ./bombwith the following files:k README: Identifies the bomb and its owners.bomb: The executable binary bomb.bomb.c: Source file with the bomb's main routine and a friendly greeting from Dr. Evil
If you make any kind of mistake when requesting a bomb (such as not saving it or typing the wrong usernames for you and your partner), just request another one. Likewise, if for some reason you request multiple bombs, that's fine. Choose one bomb to work on and delete the rest.
(When logged in, completion status appears here.)