Quick fix to cred sourcing to eliminate spaces in the source type
parent
e82c3ad486
commit
c984ea41d1
|
@ -158,7 +158,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:user => user,
|
||||
:pass => pass,
|
||||
:type => "password#{access == :read ? "_ro" : "" }",
|
||||
:source_type => "user supplied",
|
||||
:source_type => "user_supplied",
|
||||
:active => true
|
||||
)
|
||||
end
|
||||
|
|
|
@ -81,7 +81,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:user => user,
|
||||
:pass => pass,
|
||||
:proof => "WEBAPP=\"Apache Axis\", VHOST=#{vhost}",
|
||||
:source_type => "user supplied",
|
||||
:source_type => "user_supplied",
|
||||
:active => true
|
||||
)
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:user => user,
|
||||
:pass => pass,
|
||||
:proof => "WEBAPP=\"GlassFish\", VHOST=#{vhost}",
|
||||
:source_type => "user supplied",
|
||||
:source_type => "user_supplied",
|
||||
:active => true
|
||||
)
|
||||
end
|
||||
|
@ -155,7 +155,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:user => '',
|
||||
:pass => '',
|
||||
:proof => "WEBAPP=\"GlassFish\", VHOST=#{vhost}",
|
||||
:source_type => "user supplied",
|
||||
:source_type => "user_supplied",
|
||||
:active => true
|
||||
)
|
||||
else
|
||||
|
|
|
@ -183,7 +183,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:user => user,
|
||||
:pass => pass,
|
||||
:proof => "WEBAPP=\"Generic\", PROOF=#{proof}",
|
||||
:source_type => "user supplied",
|
||||
:source_type => "user_supplied",
|
||||
:active => true
|
||||
)
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:user => user,
|
||||
:pass => pass,
|
||||
:proof => "WEBAPP=\"Tomcat Application Manager\"",
|
||||
:source_type => "user supplied",
|
||||
:source_type => "user_supplied",
|
||||
:active => true
|
||||
)
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:user => user,
|
||||
:pass => pass,
|
||||
:proof => "WEBAPP=\"Lotus Domino\", VHOST=#{vhost}, COOKIE=#{res.headers['Set-Cookie']}",
|
||||
:source_type => "user supplied",
|
||||
:source_type => "user_supplied",
|
||||
:active => true
|
||||
)
|
||||
return :next_user
|
||||
|
|
|
@ -64,7 +64,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:sname => 'mssql',
|
||||
:user => user,
|
||||
:pass => pass,
|
||||
:source_type => "user supplied",
|
||||
:source_type => "user_supplied",
|
||||
:active => true
|
||||
)
|
||||
return :next_user
|
||||
|
|
|
@ -116,7 +116,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:sname => 'mysql',
|
||||
:user => user,
|
||||
:pass => pass,
|
||||
:source_type => "user supplied",
|
||||
:source_type => "user_supplied",
|
||||
:active => true
|
||||
)
|
||||
return :next_user
|
||||
|
|
|
@ -236,7 +236,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
def report_isqlauth_info(ip,user,pass,sid)
|
||||
ora_info = {
|
||||
:host => ip, :port => rport, :proto => "tcp",
|
||||
:pass => pass, :source_type => "user supplied",
|
||||
:pass => pass, :source_type => "user_supplied",
|
||||
:active => true
|
||||
}
|
||||
if sid.nil? || sid.empty?
|
||||
|
|
|
@ -166,7 +166,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
report_auth_info(
|
||||
:host => addr, :port => port, :proto => "tcp",
|
||||
:user => "#{sid}/#{user}", :pass => pass,
|
||||
:source_type => "user supplied", :active => true
|
||||
:source_type => "user_supplied", :active => true
|
||||
)
|
||||
elsif oline =~ /Account locked/
|
||||
if not @oracle_reported
|
||||
|
@ -179,7 +179,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
report_auth_info(
|
||||
:host => addr, :port => port, :proto => "tcp",
|
||||
:user => "#{sid}/#{user}",
|
||||
:source_type => "user supplied", :active => false
|
||||
:source_type => "user_supplied", :active => false
|
||||
)
|
||||
elsif oline =~ /^\s+ERROR: (.*)/
|
||||
print_error "#{msg} NSE script error: #{$1}"
|
||||
|
|
|
@ -117,7 +117,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:sname => 'pop3',
|
||||
:user => user,
|
||||
:pass => pass,
|
||||
:source_type => "user supplied",
|
||||
:source_type => "user_supplied",
|
||||
:active => true
|
||||
)
|
||||
disconnect
|
||||
|
|
|
@ -127,7 +127,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:sname => "postgres",
|
||||
:user => user,
|
||||
:pass => pass,
|
||||
:source_type => "user supplied",
|
||||
:source_type => "user_supplied",
|
||||
:active => true
|
||||
}
|
||||
result_hash[:user] = "#{db}/#{user}" if db_ok
|
||||
|
|
|
@ -175,7 +175,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:user => user,
|
||||
:pass => pass,
|
||||
:proof => proof,
|
||||
:source_type => "user supplied",
|
||||
:source_type => "user_supplied",
|
||||
:active => true
|
||||
)
|
||||
|
||||
|
|
|
@ -313,7 +313,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:sname => 'login',
|
||||
:user => user,
|
||||
:proof => proof,
|
||||
:source_type => "user supplied",
|
||||
:source_type => "user_supplied",
|
||||
:active => true
|
||||
}
|
||||
|
||||
|
|
|
@ -233,7 +233,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:user => user,
|
||||
:luser => luser,
|
||||
:proof => proof,
|
||||
:source_type => "user supplied",
|
||||
:source_type => "user_supplied",
|
||||
:active => true
|
||||
)
|
||||
|
||||
|
|
|
@ -166,7 +166,7 @@ class Metasploit4 < Msf::Auxiliary
|
|||
:port => rport,
|
||||
:user => user,
|
||||
:pass => pass,
|
||||
:source_type => "user supplied",
|
||||
:source_type => "user_supplied",
|
||||
:target_host => rhost,
|
||||
:target_port => rport
|
||||
)
|
||||
|
|
|
@ -208,7 +208,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:port => datastore['RPORT'],
|
||||
:sname => 'smb',
|
||||
:pass => pass,
|
||||
:source_type => "user supplied",
|
||||
:source_type => "user_supplied",
|
||||
:active => true
|
||||
}
|
||||
if accepts_bogus_domains? rhost
|
||||
|
|
|
@ -187,7 +187,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:pass => comm,
|
||||
:duplicate_ok => true,
|
||||
:active => true,
|
||||
:source_type => "user supplied",
|
||||
:source_type => "user_supplied",
|
||||
:type => "password"
|
||||
)
|
||||
end
|
||||
|
@ -202,7 +202,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:pass => comm,
|
||||
:duplicate_ok => true,
|
||||
:active => true,
|
||||
:source_type => "user supplied",
|
||||
:source_type => "user_supplied",
|
||||
:type => "password_ro"
|
||||
)
|
||||
end
|
||||
|
|
|
@ -142,7 +142,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:user => user,
|
||||
:pass => pass,
|
||||
:proof => proof,
|
||||
:source_type => "user supplied",
|
||||
:source_type => "user_supplied",
|
||||
:active => true
|
||||
)
|
||||
end
|
||||
|
|
|
@ -223,7 +223,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:user => user,
|
||||
:pass => pass,
|
||||
:proof => proof,
|
||||
:source_type => "user supplied",
|
||||
:source_type => "user_supplied",
|
||||
:active => true
|
||||
)
|
||||
end
|
||||
|
|
|
@ -126,7 +126,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:pass => pass,
|
||||
:type => access_type,
|
||||
:duplicate_ok => true,
|
||||
:source_type => "user supplied",
|
||||
:source_type => "user_supplied",
|
||||
:active => true
|
||||
})
|
||||
return :next_user
|
||||
|
|
Loading…
Reference in New Issue