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
-6
View File
@@ -51,12 +51,6 @@ module Msf
datastore['RPORT']
end
# Returns the RMI server peer
#
# @return [String]
def peer
"#{rhost}:#{rport}"
end
# Sends a RMI header stream
#