1
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:
James Lee 2010-03-25 01:05:23 +00:00
parent fd97c89959
commit dd26a227ef
9 changed files with 18 additions and 18 deletions

View File

@ -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

View File

@ -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
)

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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:

View File

@ -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(