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
PostgreSQL Version Probe
Enumerates the verion of PostgreSQL servers.
Rank
- Normal
Authors
- todb < todb [at] metasploit.com >
References
Development
Similar Modules
- auxiliary/scanner/postgres/postgres_hashdump
- auxiliary/scanner/postgres/postgres_login
- auxiliary/scanner/postgres/postgres_schemadump
Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use auxiliary/scanner/postgres/postgres_version
msf auxiliary(postgres_version) > set RHOSTS [TARGET HOST RANGE]
msf auxiliary(postgres_version) > run
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use auxiliary/scanner/postgres/postgres_version
msf auxiliary(postgres_version) > set RHOSTS [TARGET HOST RANGE]
msf auxiliary(postgres_version) > run
Module Options
| DATABASE | The database to authenticate against (default: template1) |
| 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) |
| VERBOSE | Enable verbose output |
| ShowProgress | Display progress messages during a scan |
| ShowProgressPercent | The interval in percent that progress should be shown |
| WORKSPACE | Specify the workspace for this module |
