Oracle Pentesting requirements installation
Installation of tools (sqlplus) and needed libraries to use the oracle MSF modules
(This installation guide was created for version 12.1.0.1.0, change that name for the version that you download)
As root, create the directory /opt/oracle
. Then download the Oracle Instant Client packages for your version of Kali Linux. The packages you will need are:
instantclient-basic-linux-12.1.0.1.0.zip
instantclient-sqlplus-linux-12.1.0.1.0.zip
instantclient-sdk-linux-12.1.0.1.0.zip
Unzip these under /opt/oracle
, and you should now have a path called /opt/oracle/instantclient_12_1/
. Next symlink the shared library that we need to access the library from oracle:
You also need to configure the appropriate environment variables, add the following to either
~/.bashrc
/etc/profile
Add Oracle libraries to ldconfig:
If you have succeeded, you should be able to run sqlplus
from a command prompt (you may need to log out and log back in again):
Step Two — Install Ruby Gem ruby-oci8
These steps are needed to use metasploit oracle modules
Install other OS dependencies:
Compile and install ruby-oci8 (root)
Restart msfconsole (or restart the computer).
Last updated