Skip to content

Commit

Permalink
add output that account is not a DBA
Browse files Browse the repository at this point in the history
  • Loading branch information
milo2012 committed Sep 11, 2013
1 parent 7ea63c0 commit c18a511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oracle_pillage/ora_pillage.py
Expand Up @@ -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")
Expand Down

0 comments on commit c18a511

Please sign in to comment.