More Cred Sourcing
git-svn-id: file:///home/svn/framework3/trunk@14197 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
fdf13e5e0e
commit
a88f954640
|
@ -158,6 +158,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:user => user,
|
||||
:pass => pass,
|
||||
:type => "password#{access == :read ? "_ro" : "" }",
|
||||
:source_type => "user supplied",
|
||||
:active => true
|
||||
)
|
||||
end
|
||||
|
|
|
@ -81,6 +81,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:user => user,
|
||||
:pass => pass,
|
||||
:proof => "WEBAPP=\"Apache Axis\", VHOST=#{vhost}",
|
||||
:source_type => "user supplied",
|
||||
:active => true
|
||||
)
|
||||
|
||||
|
|
|
@ -88,6 +88,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:user => user,
|
||||
:pass => pass,
|
||||
:proof => "WEBAPP=\"GlassFish\", VHOST=#{vhost}",
|
||||
:source_type => "user supplied",
|
||||
:active => true
|
||||
)
|
||||
end
|
||||
|
@ -154,6 +155,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:user => '',
|
||||
:pass => '',
|
||||
:proof => "WEBAPP=\"GlassFish\", VHOST=#{vhost}",
|
||||
:source_type => "user supplied",
|
||||
:active => true
|
||||
)
|
||||
else
|
||||
|
|
|
@ -183,6 +183,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:user => user,
|
||||
:pass => pass,
|
||||
:proof => "WEBAPP=\"Generic\", PROOF=#{proof}",
|
||||
:source_type => "user supplied",
|
||||
:active => true
|
||||
)
|
||||
|
||||
|
|
|
@ -145,6 +145,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:user => user,
|
||||
:pass => pass,
|
||||
:proof => "WEBAPP=\"Tomcat Application Manager\"",
|
||||
:source_type => "user supplied",
|
||||
:active => true
|
||||
)
|
||||
|
||||
|
|
|
@ -62,6 +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",
|
||||
:active => true
|
||||
)
|
||||
return :next_user
|
||||
|
|
|
@ -64,6 +64,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:sname => 'mssql',
|
||||
:user => user,
|
||||
:pass => pass,
|
||||
:source_type => "user supplied",
|
||||
:active => true
|
||||
)
|
||||
return :next_user
|
||||
|
|
|
@ -116,6 +116,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:sname => 'mysql',
|
||||
:user => user,
|
||||
:pass => pass,
|
||||
:source_type => "user supplied",
|
||||
:active => true
|
||||
)
|
||||
return :next_user
|
||||
|
|
|
@ -236,7 +236,8 @@ class Metasploit3 < Msf::Auxiliary
|
|||
def report_isqlauth_info(ip,user,pass,sid)
|
||||
ora_info = {
|
||||
:host => ip, :port => rport, :proto => "tcp",
|
||||
:pass => pass, :active => true
|
||||
:pass => pass, :source_type => "user supplied",
|
||||
:active => true
|
||||
}
|
||||
if sid.nil? || sid.empty?
|
||||
ora_info.merge! :user => user
|
||||
|
|
|
@ -165,7 +165,8 @@ class Metasploit3 < Msf::Auxiliary
|
|||
print_good "#{msg} Success: #{user}:#{pass} (SID: #{sid})"
|
||||
report_auth_info(
|
||||
:host => addr, :port => port, :proto => "tcp",
|
||||
:user => "#{sid}/#{user}", :pass => pass, :active => true
|
||||
:user => "#{sid}/#{user}", :pass => pass,
|
||||
:source_type => "user supplied", :active => true
|
||||
)
|
||||
elsif oline =~ /Account locked/
|
||||
if not @oracle_reported
|
||||
|
@ -177,7 +178,8 @@ class Metasploit3 < Msf::Auxiliary
|
|||
print_status "#{msg} Locked: #{user} (SID: #{sid}) -- account valid but locked"
|
||||
report_auth_info(
|
||||
:host => addr, :port => port, :proto => "tcp",
|
||||
:user => "#{sid}/#{user}", :active => false
|
||||
:user => "#{sid}/#{user}",
|
||||
:source_type => "user supplied", :active => false
|
||||
)
|
||||
elsif oline =~ /^\s+ERROR: (.*)/
|
||||
print_error "#{msg} NSE script error: #{$1}"
|
||||
|
|
|
@ -117,6 +117,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:sname => 'pop3',
|
||||
:user => user,
|
||||
:pass => pass,
|
||||
:source_type => "user supplied",
|
||||
:active => true
|
||||
)
|
||||
disconnect
|
||||
|
|
|
@ -127,6 +127,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:sname => "postgres",
|
||||
:user => user,
|
||||
:pass => pass,
|
||||
:source_type => "user supplied",
|
||||
:active => true
|
||||
}
|
||||
result_hash[:user] = "#{db}/#{user}" if db_ok
|
||||
|
|
|
@ -175,6 +175,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:user => user,
|
||||
:pass => pass,
|
||||
:proof => proof,
|
||||
:source_type => "user supplied",
|
||||
:active => true
|
||||
)
|
||||
|
||||
|
|
|
@ -313,6 +313,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:sname => 'login',
|
||||
:user => user,
|
||||
:proof => proof,
|
||||
:source_type => "user supplied",
|
||||
:active => true
|
||||
}
|
||||
|
||||
|
|
|
@ -233,6 +233,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:user => user,
|
||||
:luser => luser,
|
||||
:proof => proof,
|
||||
:source_type => "user supplied",
|
||||
:active => true
|
||||
)
|
||||
|
||||
|
|
|
@ -166,6 +166,7 @@ class Metasploit4 < Msf::Auxiliary
|
|||
:port => rport,
|
||||
:user => user,
|
||||
:pass => pass,
|
||||
:source_type => "user supplied",
|
||||
:target_host => rhost,
|
||||
:target_port => rport
|
||||
)
|
||||
|
|
|
@ -208,6 +208,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:port => datastore['RPORT'],
|
||||
:sname => 'smb',
|
||||
:pass => pass,
|
||||
:source_type => "user supplied",
|
||||
:active => true
|
||||
}
|
||||
if accepts_bogus_domains? rhost
|
||||
|
|
|
@ -187,6 +187,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:pass => comm,
|
||||
:duplicate_ok => true,
|
||||
:active => true,
|
||||
:source_type => "user supplied",
|
||||
:type => "password"
|
||||
)
|
||||
end
|
||||
|
@ -201,6 +202,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:pass => comm,
|
||||
:duplicate_ok => true,
|
||||
:active => true,
|
||||
:source_type => "user supplied",
|
||||
:type => "password_ro"
|
||||
)
|
||||
end
|
||||
|
|
|
@ -142,6 +142,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:user => user,
|
||||
:pass => pass,
|
||||
:proof => proof,
|
||||
:source_type => "user supplied",
|
||||
:active => true
|
||||
)
|
||||
end
|
||||
|
|
|
@ -223,6 +223,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:user => user,
|
||||
:pass => pass,
|
||||
:proof => proof,
|
||||
:source_type => "user supplied",
|
||||
:active => true
|
||||
)
|
||||
end
|
||||
|
|
|
@ -126,6 +126,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:pass => pass,
|
||||
:type => access_type,
|
||||
:duplicate_ok => true,
|
||||
:source_type => "user supplied",
|
||||
:active => true
|
||||
})
|
||||
return :next_user
|
||||
|
|
Loading…
Reference in New Issue