Skip to content

Commit b030327

Browse files
committed
Land rapid7#4647, get_module_resource NilClass fix
2 parents ae22cf1 + ee922d1 commit b030327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/exploit/remote/browser_exploit_server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def sync(&block)
106106
# @return [String] URI to the exploit page
107107
#
108108
def get_module_resource
109-
"#{get_resource.chomp("/")}/#{@exploit_receiver_page}/"
109+
"#{get_resource.to_s.chomp("/")}/#{@exploit_receiver_page}/"
110110
end
111111

112112
#

0 commit comments

Comments
 (0)