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

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

Instance Method Summary collapse

Instance Method Details

#to_urlObject


2281
2282
2283
2284
# File 'plugins/wmap.rb', line 2281

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