Results 1 to 2 of 2

Thread: Oracle Instant Client

Hybrid View

  1. #1

    Default Oracle Instant Client

    While on a pentest where I needed access to the Oracle DB using sqlplus I found that the client wa present but not working, here are the steps to fix it
    Code:
    mv /usr/lib/oracle/11.1.0.1/client/lib/* /usr/lib/
    mv /usr/lib/oracle/11.1.0.1/client/bin/* /usr/bin
    wget ftp://fr2.rpmfind.net/linux/fedora/development/source/SRPMS/libaio-0.3.106-4.2.src.rpm
    rpm2tgz libaio-0.3.106-4.2.src.rpm
    tar xfz libaio-0.3.106-4.2.src.tgz
    cd libaio-0.3.106-4.2
    tar xvzf libaio-0.3.106.tar.gz
    cd libaio-0.3.106
    make prefix=/usr/local install
    ldconfig
    rm -rf libai*
    I hope it helps

    after this you can run sqlplus form the shell to connect to Oracle RDBMS Servers

  2. #2

    Default

    if you need sidguess you can copy it from Backtrack2 in /pentest/database/oracle/ and copy it to Backtrack3
    then in BT3:

    Code:
    cd /usr/lib
    ln -s libclntsh.so.11.1 libclntsh.so.10.1
    ldconfig
    after this sidgess should work in BT3, its a shame that the latest version is only for Windows or OSX

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •