mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-12 11:52:01 +01:00
targ_host -> target_host
git-svn-id: file:///home/svn/framework3/trunk@8908 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
fd97c89959
commit
dd26a227ef
@ -58,8 +58,8 @@ class Metasploit3 < Msf::Auxiliary
|
||||
:proto => 'FTP',
|
||||
:user => datastore['FTPUSER'],
|
||||
:pass => datastore['FTPPASS'],
|
||||
:targ_host => target_host,
|
||||
:targ_port => rport
|
||||
:target_host => target_host,
|
||||
:target_port => rport
|
||||
)
|
||||
end
|
||||
|
||||
|
@ -160,8 +160,8 @@ class Metasploit3 < Msf::Auxiliary
|
||||
:proto => 'http',
|
||||
:user => user,
|
||||
:pass => pass,
|
||||
:targ_host => rhost,
|
||||
:targ_port => rport,
|
||||
:target_host => rhost,
|
||||
:target_port => rport,
|
||||
:proof => proof.to_s
|
||||
)
|
||||
|
||||
|
@ -117,8 +117,8 @@ class Metasploit3 < Msf::Auxiliary
|
||||
:proto => 'tomcat',
|
||||
:user => user,
|
||||
:pass => pass,
|
||||
:targ_host => rhost,
|
||||
:targ_port => rport
|
||||
:target_host => rhost,
|
||||
:target_port => rport
|
||||
)
|
||||
return :next_user
|
||||
else
|
||||
|
@ -59,8 +59,8 @@ class Metasploit3 < Msf::Auxiliary
|
||||
:proto => 'mssql',
|
||||
:user => user,
|
||||
:pass => pass,
|
||||
:targ_host => rhost,
|
||||
:targ_port => rport
|
||||
:target_host => rhost,
|
||||
:target_port => rport
|
||||
})
|
||||
return :next_user
|
||||
else
|
||||
|
@ -101,8 +101,8 @@ class Metasploit3 < Msf::Auxiliary
|
||||
:proto => 'mysql',
|
||||
:user => user,
|
||||
:pass => pass,
|
||||
:targ_host => rhost,
|
||||
:targ_port => rport
|
||||
:target_host => rhost,
|
||||
:target_port => rport
|
||||
)
|
||||
return :next_user
|
||||
rescue ::RbMysql::AccessDeniedError
|
||||
|
@ -122,8 +122,8 @@ class Metasploit3 < Msf::Auxiliary
|
||||
:proto => "postgres",
|
||||
:user => user,
|
||||
:pass => pass,
|
||||
:targ_host => rhost,
|
||||
:targ_port => rport
|
||||
:target_host => rhost,
|
||||
:target_port => rport
|
||||
}
|
||||
result_hash.merge!({:database => db}) if db_ok
|
||||
report_auth_info result_hash
|
||||
|
@ -92,8 +92,8 @@ class Metasploit3 < Msf::Auxiliary
|
||||
:proto => "postgres",
|
||||
:user => user,
|
||||
:pass => password,
|
||||
:targ_host => rhost,
|
||||
:targ_port => rport
|
||||
:target_host => rhost,
|
||||
:target_port => rport
|
||||
)
|
||||
end
|
||||
|
||||
|
@ -151,8 +151,8 @@ class Metasploit3 < Msf::Auxiliary
|
||||
:proto => 'smb',
|
||||
:user => user,
|
||||
:pass => pass,
|
||||
:targ_host => rhost,
|
||||
:targ_port => datastore['RPORT']
|
||||
:target_host => rhost,
|
||||
:target_port => datastore['RPORT']
|
||||
)
|
||||
else
|
||||
# Samba has two interesting behaviors:
|
||||
|
@ -146,8 +146,8 @@ class Metasploit3 < Msf::Auxiliary
|
||||
:proto => 'snmp',
|
||||
:user => 'n/a',
|
||||
:pass => com,
|
||||
:targ_host => pkt[1],
|
||||
:targ_port => pkt[2]
|
||||
:target_host => pkt[1],
|
||||
:target_port => pkt[2]
|
||||
)
|
||||
|
||||
report_service(
|
||||
|
Loading…
Reference in New Issue
Block a user