rapid7/metasploit-framework — pull request #969 by zgrace (2012-10-26 02:53:10+00:00)
Title: adding pgpass_creds post module

This post module will search for and parse .pgpass (*nix) and pgpass.conf (Windows) files which contain clear-text credentials to postgres databases. Applications such as pgAdmin3 that utilize the libpq library make use of these files.

http://www.postgresql.org/docs/current/static/libpq-pgpass.html