How To Install Nexpose On Kali Linux
How to install Nexpose on Kali Linux
Download Nexpose from Rapid7.com.
chmod +x NeXposeSetup-Linux64.bin
./NeXposeSetup-Linux64.bin
To start Nexpose Services:
cd /opt/rapid7/nexpose/nsc/
./nsc.sh
To get Metasploit and NeXpose working together:
The reason is both Metasploit and Nexpose uses ii carve up PostreSQL databases and if one DB starts at port 5432 the other volition fail. The solution is edit the system postgreSQL configuration file at /etc/postgresql/nine.one/chief/postgresql.conf. Look for the line:
port = 5432
and change it to anything else other than this default port number. For example:
port = 5433
And then go to the <Metasploit installation directory>/apps/pro/ui/config/database.yml and change the PostgreSQL port in that location to the ane you configured in the postgresql.conf file. If you don't accept a database.yml file merely take a database.yml.example file, just rename it to database.yml and so edit it. Information technology should be like:
evolution:
adapter: postgresql
database: <db-name>
username: <username>
password: <password>
host: <hostname>
port: 54321
pool: v
timeout:5
And then start postgre and metasploit service. Information technology should run fine.
/etc/init.d/posgresql start
/etc/init.d/metasploit start
When you have offset installed Metasploit and second Nexpose, then follow the following steps:
Remove the installed metasploit packages and place them on hold:
Code:
apt-get remove metasploit && metasploit-framework repeat "metasploit"|dpkg --set-selections echo "metasploit-framework"|dpkg --prepare-selections
You lot must remove all metasploit folders
Code:
updatedb && locate metasploit rm -rf /usr/share/metasploit-framework/ && rm -rf /usr/share/physician/metasploit/ && rm -rf /usr/share/doc/metasploit-framework/
apt-get purge metasploit -y
Now download neXpose and Metasploit from the rapid7 site and make them executable:
http://www.rapid7.com/products/nexpo…-downloads.jsp
http://www.rapid7.com/products/metasploit/download.jsp
64-Bit Kali Instance:
Code:
cd /tmp wget http://downloads.metasploit.com/data/releases/metasploit-latest-linux-x64-installer.run chmod 755 metasploit-latest-linux-x64-installer.run wget http://download2.rapid7.com/download/NeXpose-v4/NeXposeSetup-Linux64.bin chmod 755 NeXposeSetup-Linux64.bin
And then simply run the packages one at a fourth dimension to install:
Code:
./metasploit-latest-linux-x64-installer.run
then
Code:
./NeXposeSetup-Linux64.bin
Later that everything should be working equally expected and y'all can run both neXpose and Metasploit at the aforementioned time.
(Optional)
If you want that Metasploit starts with Kali.
Lawmaking:
update-rc.d postgreSQL enableupdate-rc.d metasploit enable
If you lot desire besides to install Armitage to the following:
Lawmaking:
apt-get install armitage
Source: https://www.vincentverloop.nl/security/install-nexpose-kali-linux/
Posted by: walkermoded1975.blogspot.com
0 Response to "How To Install Nexpose On Kali Linux"
Post a Comment