Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

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:

...

  1. Log into the VM using sysadmin as the user and result of the following as the password:
    Code Block
  1. 
    $ echo "buy it, use it, break it, fix it" | awk -F, '{print $3 $4}' | awk '{print $1 $2 $3 $4}'
    

...

  1. (warning) See VM Network Configuration for how to configure your networking (warning) .
  2. Start Apache by running sudo /etc/init.d/apache2

...

  1. start

...

  1. Go to http://ctf-portal.ctf.csail.mit.edu

...

  1. -

...

  1. you

...

  1. should

...

  1. be

...

  1. able

...

  1. to

...

  1. see

...

  1. your

...

  1. Wordpress

...

  1. site.

...

  1. If

...

  1. you

...

  1. want

...

  1. to

...

  1. tinker

...

  1. with

...

  1. things,

...

  1. look

...

  1. at

...

  1. the

...

  1. following

...

  1. places

...

    1. /usr/share/wordpress

...

    1. is

...

    1. a

...

    1. fairly

...

    1. standard

...

    1. Ubuntu

...

    1. installation

...

    1. of

...

    1. Wordpress

...

    1. Web

...

    1. root

...

    1. is

...

    1. located in /srv/www/ctf-portal.ctf.csail.mit.edu/

...

    1. and

...

    1. points

...

    1. to

...

    1. the

...

    1. installation

...

    1. above

...

    1. Plugins

...

    1. and

...

    1. such

...

    1. go into /usr/share/wordpress/wp-content/plugins

...

    1. All

...

    1. these

...

    1. directories

...

    1. are

...

    1. owned by root:www-data

...

    1. ,

...

    1. so

...

    1. you'll

...

    1. need

...

    1. to

...

    1. become

...

    1. one

...

    1. of

...

    1. those

...

    1. users

...

    1. to

...

    1. explore.

...

    1.  The simplest way is to run
      Code Block
      
      sudo su
      

...

    1. and

...

    1. enter

...

    1. the

...

    1. password

...

    1. above

...

    1. -

...

    1. this

...

    1. makes

...

    1. you

...

    1. root

...

    1. .

...

    1. Alternatively,

...

    1. you

...

    1. could

...

    1. run

...

    1. Code Block

...

    1. 
      sudo su www-data
      

...

    1. to

...

    1. become

...

    1. the

...

    1. www-data

...

    1. user.