From c18a511c8b745519b02c5640ec88c5a03b1b1a7d Mon Sep 17 00:00:00 2001 From: Keith Lee Date: Wed, 11 Sep 2013 22:50:14 +0800 Subject: [PATCH] add output that account is not a DBA --- oracle_pillage/ora_pillage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oracle_pillage/ora_pillage.py b/oracle_pillage/ora_pillage.py index db7fece..d8acc40 100644 --- a/oracle_pillage/ora_pillage.py +++ b/oracle_pillage/ora_pillage.py @@ -134,7 +134,7 @@ def dataExtract(username,password,hostname,sid,sample): print e tableNames = [] if "table or view does not exist" in str(e): - print colored("\n[!] Account is not a DBA","blue",attrs=['bold']) + print colored("\n[!] Account is not a DBA. Please try to use 'ora_priv.py'.","blue",attrs=['bold']) orcl2 = cx_Oracle.connect(username+"/"+password+"@"+hostname+":1521/"+sid) curs2 = orcl2.cursor() curs2.execute("SELECT table_name FROM user_tables")