Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

Discover External IP via Ifconfig.me

Disclosed
N/A
Created
May 30, 2018

Description

This module checks for the public source IP address of the current
route to the RHOST by querying the public web application at ifconfig.me.
It should be noted this module will register activity on ifconfig.me,
which is not affiliated with Metasploit.

Author

RageLtMan rageltman@sempervictus

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use auxiliary/gather/external_ip
msf auxiliary(external_ip) > show actions
...actions...
msf auxiliary(external_ip) > set ACTION < action-name >
msf auxiliary(external_ip) > show options
...show and set options...
msf auxiliary(external_ip) > run

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.