First reinstall the system to Ubuntu 16
Use Xshell to connect
sudo apt-get install nmap //install nmap
sudo apt-get install sqlmap //Install sqlmap
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall chmod 755 msfinstall && ./msfinstall