Class: Msf::Plugin::Wmap::WebTarget

Inherits:
Hash
  • Object
show all
Defined in:
plugins/wmap.rb

Instance Method Summary collapse

Instance Method Details

#to_urlObject



2257
2258
2259
2260
# File 'plugins/wmap.rb', line 2257

def to_url
  proto = self[:ssl] ? 'https' : 'http'
  "#{proto}://#{self[:host]}:#{self[:port]}#{self[:path]}"
end