Skip to content

Commit a74526a

Browse files
author
HD Moore
committed
Land rapid7#5690, fix URL generation for reverse_http
2 parents 768dca5 + 51f59b3 commit a74526a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/msf/core/payload/windows/reverse_http.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def generate(opts={})
5151

5252
# Add extra options if we have enough space
5353
unless self.available_space.nil? || required_space > self.available_space
54+
conf[:url] = generate_uri
5455
conf[:exitfunk] = datastore['EXITFUNC']
5556
conf[:ua] = datastore['MeterpreterUserAgent']
5657
conf[:proxy_host] = datastore['PayloadProxyHost']

0 commit comments

Comments
 (0)