Wiki Markup |
---|
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 {{sysadmin}} as the user and result of the following as the password:
{code} |
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:
...
$ echo "buy it, use it, break it, fix it" | awk -F, '{print $3 $4}' | awk '{print $1 $2 $3 $4}'
|
...
{code} # (!) See [MITLLCTF: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/wordpress}} is 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 run {code} sudo su |
...
{code} and enter the password above - this makes you {{root}}. Alternatively, you could run |
...
{code |
...
} sudo su www-data {code} |
...
to become the {{www-data}} user. |