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

module

UNIX Gather .netrc Credentials

Disclosed
N/A
Created
May 30, 2018

Description

Post Module to obtain credentials saved for FTP and other services in .netrc

Author

Platform

BSD,Linux,OSX,Unix

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 post/multi/gather/netrc_creds
msf post(netrc_creds) > show actions
...actions...
msf post(netrc_creds) > set ACTION < action-name >
msf post(netrc_creds) > show options
...show and set options...
msf post(netrc_creds) > 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.