Browse Exploit & Auxiliary Modules
The Metasploit Project hosts the world's largest database of quality assured exploits, including hundreds of remote exploits, auxiliary modules, and payloads. You can even review the Metasploit Framework source code of any module - or write your own.
Search for modules
Postgres Schema Dump
This module extracts the schema information from a Postgres server.
Rank
- Normal
Authors
- TheLightCosine < thelightcosine [at] gmail.com >
Development
Similar Modules
- auxiliary/scanner/postgres/postgres_hashdump
- auxiliary/scanner/postgres/postgres_login
- auxiliary/scanner/postgres/postgres_version
Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use auxiliary/scanner/postgres/postgres_schemadump
msf auxiliary(postgres_schemadump) > set RHOSTS [TARGET HOST RANGE]
msf auxiliary(postgres_schemadump) > run
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use auxiliary/scanner/postgres/postgres_schemadump
msf auxiliary(postgres_schemadump) > set RHOSTS [TARGET HOST RANGE]
msf auxiliary(postgres_schemadump) > run
Module Options
| DATABASE | The database to authenticate against (default: postgres) |
| PASSWORD | The password for the specified username. Leave blank for a random password. (default: ) |
| RHOSTS | The target address range or CIDR identifier |
| RPORT | The target port (default: 5432) |
| THREADS | The number of concurrent threads (default: 1) |
| USERNAME | The username to authenticate as (default: postgres) |
| ShowProgress | Display progress messages during a scan |
| ShowProgressPercent | The interval in percent that progress should be shown |
| WORKSPACE | Specify the workspace for this module |
