Metasploit Integration

Configuration

To configure Sn1per to use the appropriate IP/port for reverse Metasploit connections, edit your Sn1per configuration template under the /sniper/conf/ directory:

# METASPLOIT SCANNER CONFIG
MSF_LHOST="127.0.0.1"
MSF_LPORT="4444"
METASPLOIT_IMPORT="1"
METASPLOIT_EXPLOIT="1"
MSF_LEGACY_WEB_EXPLOITS="1"

This will configure Sn1per to set the LHOST and LPORT values for all exploits and payloads to connect back to the host specified.

You can then run a scan by selecting the configuration template you edited in the previous step to integrate with Metasploit.

Back to Main Documentation