Merge pull request #11 from OJ/hd-payload-uuids

Add trailing slash to stageless URI
bug/bundler_fix
HD Moore 2015-04-06 10:57:41 -05:00
commit 6811aebb1c
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ module Handler::ReverseHttp::Stageless
end
def generate_stageless(&block)
url = "https://#{datastore['LHOST']}:#{datastore['LPORT']}" + generate_uri_uuid_mode(:connect)
url = "https://#{datastore['LHOST']}:#{datastore['LPORT']}#{generate_uri_uuid_mode(:connect)}/"
unless block_given?
raise ArgumentError, "Stageless generation requires a block argument"