Fix #4646 - get_module_resource should check nil before using get_resource

Fix #4646. The get_module_resource needs to check nil first before
using the get_resource method (from HttpServer)
bug/bundler_fix
sinn3r 2015-01-27 00:21:43 -06:00
parent 7b4fd2f618
commit ee922d141c
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ module Msf
# @return [String] URI to the exploit page
#
def get_module_resource
"#{get_resource.chomp("/")}/#{@exploit_receiver_page}/"
"#{get_resource.to_s.chomp("/")}/#{@exploit_receiver_page}/"
end
#