ubuntu usage
mehranexpert opened this issue · 1 comments
How install all dependency on ubuntu 16.04 ?
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:
- Check that Python 2.7.* is in use with "python -V". In my case, Python 2.7.12 is returned.
- Check that "git" has been installed. If you can't run the git command, then you need to: sudo apt-get install git
- 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.
- Run: git clone https://github.com/Varbaek/xsser and wait for it to finish.
- Run: cd xsser/
- Run: python xsser.py
- If you get an error such as "ImportError: No module named pygame", then execute the following command: sudo apt-get install python-pygame
The other dependencies:
- 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)
In order to install Msfconsole, aka The Metasploit Framework console, you will need to either install the framework manually via github:
https://github.com/rapid7/metasploit-framework and https://github.com/rapid7/metasploit-framework/wiki/Setting-Up-a-Metasploit-Development-Environment
Or by using their installers from:
https://www.rapid7.com/products/metasploit/download/community/
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 comment/tutorial, but use the links above for installation. For usage, please refer to:
https://www.offensive-security.com/metasploit-unleashed/
http://resources.metasploit.com/
https://github.com/rapid7/metasploit-framework/wiki