Please see Lecture Slides for information on now to obtain a VM. We now also have an OVA version available in the same directory.
Here's how to get started:
- Log into the VM using
sysadminas the user and result of the following as the password:$ echo "buy it, use it, break it, fix it" | awk -F, '{print $3 $4}' | awk '{print $1 $2 $3 $4}' See VM Network Configuration for how to configure your networking
.
- Start Apache by running
sudo /etc/init.d/apache2 start - Go to
http://ctf-portal.ctf.csail.mit.edu- you should be able to see your Wordpress site. - If you want to tinker with things, look at the following places
/usr/share/wordpressis a fairly standard Ubuntu installation of Wordpress- Web root is located in
/srv/www/ctf-portal.ctf.csail.mit.edu/and points to the installation above - Plugins and such go into
/usr/share/wordpress/wp-content/plugins - All these directories are owned by
root:www-data, so you'll need to become one of those users to explore. The simplest way is to runand enter the password above - this makes yousudo su
root. Alternatively, you could runto become thesudo su www-data
www-datauser.