Skip to content
Hans-Michael Varbaek edited this page Jan 23, 2017 · 2 revisions

Installation

Ubuntu 16.04.1 LTS

In Ubuntu Desktop 16.04.1 LTS (https://www.ubuntu.com/download/desktop), with a clean install, after apt-get clean && apt-get upgrade has been run:

  1. Check that Python 2.7.* is in use with python -V. In my case, Python 2.7.12 is returned.
  2. Check that git has been installed. If you can't run the git command, then you need to: sudo apt-get install git
  3. Once you have git installed, which you can verify by running the git command, or git --version, which in my case returns 2.7.4, you can proceed to the next step.
  4. Run: git clone https://github.com/Varbaek/xsser and wait for it to finish.
  5. Run: cd xsser/
  6. Run: python xsser.py
  7. If you get an error such as ImportError: No module named pygame, then execute the following command: sudo apt-get install python-pygame

All of the dependencies are as follows:

  • Gnome aka gnome-terminal (already installed)
  • Bash (already installed)
  • Msfconsole (NOT INSTALLED BY DEFAULT!)
  • Netcat aka nc (already installed)
  • cURL aka curl (already installed)
  • PyGame (NOT INSTALLED BY DEFAULT! Refer to: sudo apt-get install python-pygame)

Msfconsole

In order to install Msfconsole, aka The Metasploit Framework console, you will need to either install the framework manually via github:

Or by using their installers from:

Using the installers, is the preferred approach as they ship with all the dependencies you need as well.

Installation and basic usage of Metasploit is outside of the scope, of this tutorial, but use the links above for installation. For usage, please refer to:

Clone this wiki locally