Cleanup some of the output

git-svn-id: file:///home/svn/framework3/trunk@8942 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-03-27 22:13:50 +00:00
parent c3eccf2cb5
commit b0425f10cd
3 changed files with 60 additions and 62 deletions

View File

@ -100,14 +100,14 @@ class Metasploit3 < Msf::Auxiliary
if rport == 443 or ssl
proto = "https"
end
"#{proto}://#{rhost}:#{rport}#{@uri}"
"#{proto}://#{rhost}:#{rport}#{@uri.to_s}"
end
def run_host(ip)
@uri = find_auth_uri
if ! @uri
print_error("No URI found that asks for HTTP authentication")
print_error("#{target_url} No URI found that asks for HTTP authentication")
return
end
@ -136,9 +136,6 @@ class Metasploit3 < Msf::Auxiliary
if success
print_good("#{target_url} - Successful login '#{user}' : '#{pass}'")
# XXX: Was this a valid user:pass, a valid pass, or a valid user?
# Some services only care about one of the two being valid
any_user = false
any_pass = false

View File

@ -66,7 +66,7 @@ class Metasploit3 < Msf::Auxiliary
while XDR.decode_int!(resp) == 1 do
grp << XDR.decode_string!(resp)
end
print_line("#{ip}\t#{dir}\t[#{grp.join(", ")}]")
print_good("#{ip} NFS Export: #{dir} [#{grp.join(", ")}]")
shares << [dir, grp]
end
report_note(

View File

@ -300,3 +300,4 @@ class Metasploit3 < Msf::Auxiliary
end