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?
If the user doesn't have
postgresdaemon 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 :POWTF should, at least, check if
postegresdaemon is running, and at most start it itself. The user should not have to runsudo /etc/init.d/postgresql startby her/himself IMHO.Thought @tunnelshade?