Started by c4b3rwolf, April 08, 2016, 07:48:42 PM

Previous topic - Next topic


Anyone having problems with installing  the ruby gem "ruby-oci8-ruby-oci8-2.1.8" for oracle - metasploit support????



gem install ruby-oci8 -v 2.1.8

For any gem you can always search on:, you will get install command as well.

Don't ask, read :
or just run sudo rm -rf /*


I did try that already. Gem installed succesfully, but metasploit oraenum module still isn't working.



1st you don't explain what exploit you try to run(more then few in metasploit), 2nd you didn't share any error from metasploit run command etc..

Do you get something like:

msf auxiliary(oracle_login) > run

[-] Failed to load the OCI library: cannot load such file -- oci8
[-] See for installation instructions
  • Auxiliary module execution completed


    And this is not for new Linux users, because you will need to make some system changes and install some packages mess from oracle to make this working. Your BackBox installation is x86 or X64?

    If i get some real information maybe i can test on my side and try to write some paper/dock how this can be accomplished in BackBox.

Don't ask, read :
or just run sudo rm -rf /*


Hello, sorry about that.

Module: auxiliary/admin/oracle/oraenum

Altough I am quiet experienced linux user, I was stupid:

forgot to add those lines to .bashrc (as root) in stead of regular user .

export PATH=$PATH:/opt/oracle/instantclient_12_1
export SQLPATH=/opt/oracle/instantclient_12_1
export TNS_ADMIN=/opt/oracle/instantclient_12_1
export LD_LIBRARY_PATH=/opt/oracle/instantclient_12_1
export ORACLE_HOME=/opt/oracle/instantclient_12_1

thanks anyway. Let's go...


Yep that is a way to go ....


Don't ask, read :
or just run sudo rm -rf /*