From 8771b871daf899b6699513a9932d2a4d418d61fa Mon Sep 17 00:00:00 2001 From: Tod Beardsley Date: Thu, 10 Mar 2011 16:55:08 +0000 Subject: [PATCH] Whitespace cleanup on sid_brute.rb, remove redundant target_host def. git-svn-id: file:///home/svn/framework3/trunk@11924 4d416f70-5f16-0410-b530-b9f4589650da --- modules/auxiliary/scanner/oracle/sid_brute.rb | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/modules/auxiliary/scanner/oracle/sid_brute.rb b/modules/auxiliary/scanner/oracle/sid_brute.rb index c78fa4caff..66f3eaa707 100644 --- a/modules/auxiliary/scanner/oracle/sid_brute.rb +++ b/modules/auxiliary/scanner/oracle/sid_brute.rb @@ -40,9 +40,11 @@ class Metasploit3 < Msf::Auxiliary Opt::RPORT(1521) ], self.class) - deregister_options("RHOST", "USERNAME", "PASSWORD", "USER_FILE", "PASS_FILE", "USERPASS_FILE", - "BLANK_PASSWORDS", "USER_AS_PASS", "REMOVE_USER_FILE", "REMOVE_PASS_FILE", - "REMOVE_USERPASS_FILE") + deregister_options( + "RHOST", "USERNAME", "PASSWORD", "USER_FILE", "PASS_FILE", "USERPASS_FILE", + "BLANK_PASSWORDS", "USER_AS_PASS", "REMOVE_USER_FILE", "REMOVE_PASS_FILE", + "REMOVE_USERPASS_FILE" + ) end def build_sid_request(sid,ip) @@ -57,10 +59,6 @@ class Metasploit3 < Msf::Auxiliary parse_response(data) end - def target_host - "#{rhost}:#{rport}" - end - def parse_response(data) return unless data len,sum,type,r,hsum,rest = data.unpack("nnCCnA*")