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
parent
7b4fd2f618
commit
ee922d141c
|
@ -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
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue