Skip to content

OWTF should check if postgres is running #311

@DePierre

Description

@DePierre

If the user doesn't have postgres daemon running, OWTF fails like below:

depierre% python owtf.py             

                  __       ___  
                 /\ \__  /'___\ 
  ___   __  __  _\ \ ,_\/\ \__/ 
 / __`\/\ \/\ \/\ \ \ \/\ \ ,__\ 
/\ \_\ \ \ \_/ \_/ \ \ \_\ \ \_/
\ \____/\ \___x___/'\ \__\\ \_\ 
 \/___/  \/__//__/   \/__/ \/_/ 


[-] Aborted by Framework: [DB] (OperationalError) could not connect to server: Connection refused
[-]     Is the server running on host "127.0.0.1" and accepting
[-]     TCP/IP connections on port 5432?
[-]  None None
[-] OWTF :P

OWTF should, at least, check if postegres daemon is running, and at most start it itself. The user should not have to run sudo /etc/init.d/postgresql start by her/himself IMHO.

Thought @tunnelshade?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions