Skip to content

Commit 6811aeb

Browse files
author
HD Moore
committed
Merge pull request #11 from OJ/hd-payload-uuids
Add trailing slash to stageless URI
2 parents 98c9510 + 9b502b9 commit 6811aeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/handler/reverse_http/stageless.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def initialize_stageless
2727
end
2828

2929
def generate_stageless(&block)
30-
url = "https://#{datastore['LHOST']}:#{datastore['LPORT']}" + generate_uri_uuid_mode(:connect)
30+
url = "https://#{datastore['LHOST']}:#{datastore['LPORT']}#{generate_uri_uuid_mode(:connect)}/"
3131

3232
unless block_given?
3333
raise ArgumentError, "Stageless generation requires a block argument"

0 commit comments

Comments
 (0)