Change port logic too
parent
61d49f29e8
commit
cf714fe4aa
|
@ -664,7 +664,7 @@ module Msf
|
|||
else
|
||||
host = Rex::Socket.source_address
|
||||
end
|
||||
port = datastore['SRVPORT']
|
||||
port = datastore['URIPORT'] || datastore['SRVPORT']
|
||||
resource = mod.datastore['URIPATH']
|
||||
url = "#{proto}://#{host}:#{port}#{resource}"
|
||||
urls << url
|
||||
|
|
Loading…
Reference in New Issue