Always important to change the root password, especially if you enable SSH services.
> apt-get update
> apt-get dist-upgrade
- This is to configure Metasploit to use a database for stored results and indexing the modules.
service postgresql start
service Metasploit start
echo “spool/root/msf_console.log” >/root/.msf4/msfconsole.rc
- Logs will be stored at/root/msf_console.log
- Discover is used for Passive Enumeration
> cd/opt/
> git clone https://github.com/leebaird/discover.git
> cd discover/
> ./setup.sh
> cd/opt/
> git clone https://github.com/brav0hax/smbexec.git
> cd smbexec
> ./install.sh
The banner-plus.nse will be used for quicker scanning and smarter identification
> cd/usr/share/nmap/scripts/
> wget https://raw.github.com/hdm/scan-tools/master/nse/banner-plus.nse
PowerSploit are PowerShell scripts for post exploitation
> cd/opt/
> git clone https://github.com/mattifestation/PowerSploit.git
> cd PowerSploit
> wget https://raw.github.com/obscuresec/random/master/StartListener.py
> wget https://raw.github.com/darkoperator/powershell_scripts/master/ps_encoder.py