Change port logic too

bug/bundler_fix
wchen-r7 2015-07-14 14:19:00 -05:00
parent 61d49f29e8
commit cf714fe4aa
1 changed files with 1 additions and 1 deletions

View File

@ -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