Land #6512, Acunetix importer missing scheme fix
commit
1828b7fda6
|
@ -43,6 +43,7 @@ module Msf::DBManager::Service
|
|||
# opts may contain
|
||||
# +:name+:: the application layer protocol (e.g. ssh, mssql, smb)
|
||||
# +:sname+:: an alias for the above
|
||||
# +:workspace+:: the workspace for the service
|
||||
#
|
||||
def report_service(opts)
|
||||
return if not active
|
||||
|
|
|
@ -59,6 +59,8 @@ module Rex
|
|||
@text = nil
|
||||
when "StartURL" # Populates @state[:starturl_uri], we use this a lot
|
||||
@state[:has_text] = false
|
||||
# StartURL does not always include the scheme
|
||||
@text.prepend("http://") unless URI.parse(@text).scheme
|
||||
collect_host
|
||||
collect_service
|
||||
@text = nil
|
||||
|
|
Loading…
Reference in New Issue