Fix #6362, avoid overriding def peer repeatedly

def peer is a method that gets repeated a lot in modules, so we
should have it in the tcp mixin. This commit also clears a few
modules that use the HttpClient mixin with def peer.
This commit is contained in:
wchen-r7
2015-12-23 11:44:55 -06:00
parent e8c0e334a2
commit cea3bc27b9
26 changed files with 6 additions and 98 deletions
@@ -147,10 +147,6 @@ class Metasploit3 < Msf::Exploit::Remote
end
def peer
"#{rhost}:#{rport}"
end
def default_timeout
datastore['RESPONSE_TIMEOUT']
end