Bug #1061

auxiliary/scanner/oracle/sid_enum

Added by Thomas Ring almost 2 years ago. Updated 4 months ago.

Status:Closed Start date:03/10/2010
Priority:Normal Due date:
Assignee:Mario Ceballos % Done:

0%

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

Description

=[ metasploit v3.3.4-dev [core:3.3 api:1.0]
=[ svn r8765 updated today (2010.03.10)

Have an instance where the connection is succeeding, the command is being sent, but no data is returned. There is no check if data is nil before going into the each and it is causing:

[-] Auxiliary failed: NoMethodError undefined method `scan' for nil:NilClass
[-] Call stack:
[-] (eval):49:in `run_host'
[-] /usr/framework/3.3/lib/msf/core/auxiliary/scanner.rb:92:in `block in run'

Modified routine slightly to check for this case so it wouldn't crash, essentially adding check and moving the service_name poll under the else. Hope it is helpful.

sid_enum.rb - Modified sid_enum.rb (2.3 kB) Thomas Ring, 03/10/2010 06:44 am

sid_enum.rb (2.1 kB) Thomas Ring, 03/10/2010 06:48 am

History

Updated by Thomas Ring almost 2 years ago

Helps to hit save before attaching files :/

Updated by Mario Ceballos almost 2 years ago

  • Assignee set to Mario Ceballos
  • Resolution set to fixed

adds a patch from Thomas Ring.

Updated by Mario Ceballos almost 2 years ago

  • Status changed from New to Closed

Also available in: Atom PDF