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
unstable
Tod Beardsley 2011-03-10 16:55:08 +00:00
parent 79da0ead08
commit 8771b871da
1 changed files with 5 additions and 7 deletions

View File

@ -40,9 +40,11 @@ class Metasploit3 < Msf::Auxiliary
Opt::RPORT(1521)
], self.class)
deregister_options("RHOST", "USERNAME", "PASSWORD", "USER_FILE", "PASS_FILE", "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")
"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*")