ruby-oci8-ruby-oci8-2.1.8

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

Previous topic - Next topic

c4b3rwolf

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

ZEROF

#1
What?

gem install ruby-oci8 -v 2.1.8

For any gem you can always search on: https://rubygems.org/gems, you will get install command as well.

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*

c4b3rwolf

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

ZEROF

#3
Hi,

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 http://www.metasploit.com/redmine/projects/framework/wiki/OracleUsage 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 : http://wiki.backbox.org
or just run sudo rm -rf /*

c4b3rwolf

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...

ZEROF

Yep that is a way to go ....

Cool

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*