Bug #460

The Ruby-OCI (Oracle) library builds but fails to function on Ruby 1.9.1

Added by HD Moore over 2 years ago. Updated 4 months ago.

Status:Closed Start date:11/03/2009
Priority:Normal Due date:
Assignee:Chris Gates % Done:

0%

Category:-
Target version:Metasploit 3.3.2
Resolution:fixed Release Note:

History

Updated by Nathan Keltner about 2 years ago

Just built a new install and tried oci8 2.0.3 (ruby-oci8-2.0.3.tar.gz). Builds and works for at least some functions; did not extensively test.

msf auxiliary(tnslsnr_version) > show options

Module options:

Name     Current Setting  Required  Description
---- --------------- -------- -----------
RHOSTS yes The target address range or CIDR identifier
RPORT 1521 yes The target port
THREADS 1 yes The number of concurrent threads

msf auxiliary(tnslsnr_version) > set RHOSTS 10.1.1.11
RHOSTS => 10.1.1.11
msf auxiliary(tnslsnr_version) > run

[-] Unable to determine version info for 10.1.1.11...
[*] Scanned 1 of 1 hosts (100% complete)
[*] Auxiliary module execution completed
msf auxiliary(tnslsnr_version) > run

[*] Host 10.1.1.11 is running: Solaris: Version 9.2.0.8.0 - Production
[*] Scanned 1 of 1 hosts (100% complete)
[*] Auxiliary module execution completed

Updated by Nathan Keltner about 2 years ago

This was using ruby 1.9.1p243 (2009-07-16 revision 24175) [i486-linux].

Updated by Mario Ceballos about 2 years ago

The tnslsnr_version module does not use the oci8 drivers. I can only guess that the result of the response not being reported is due to the sleep() amount?

Updated by HD Moore about 2 years ago

  • Status changed from New to Closed
  • Target version changed from Metasploit 3.4.0 to Metasploit 3.3.2
  • Resolution set to fixed

Appears to work on 1.9.1 for Linux

Also available in: Atom PDF