Closed omair2084 closed 5 years ago
When I will have the time, I will push a ODAT docker instance in Docker Cloud. I think the standalone is not anymore the best solution for ODAT.
While trying to run the odat.py file and installing the cx_Oracle pip package ,always failed to get it installed
checking command
python -c 'import cx_Oracle
I got this error
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named cx_Oracle
To fix this error all you have to do is to install the package with pip2.7 instead of pip ,the command as following :
sudo pip2.7 install cx_Oracle
Rerun the odat file again :
$python odat.py
usage: odat.py [-h] [--version]
{all,tnscmd,tnspoison,sidguesser,passwordguesser,utlhttp,httpuritype,utltcp,ctxsys,externaltable,dbmsxslprocessor,dbmsadvisor,utlfile,dbmsscheduler,java,passwordstealer,oradbg,dbmslob,stealremotepwds,userlikepwd,smb,privesc,cve,search,unwrapper,clean}
...
odat.py: error: too few arguments
It works now :+1: issue solved ,happy hacking
There seems to be a bug in the precompiled binaries that are provided for odat. I believe it comes from https://github.com/oracle/python-cx_Oracle/issues/49
When you use dbmsscheduler specifically, a boolean value is passed (auto_drop_) and this is not properly handled by cx_Oracle, resulting in the following error message: