Skip to content

Commit 917b456

Browse files
committed
Merge LURI fix from timwr
2 parents 72a20ce + 5a2eb29 commit 917b456

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def transport_config(opts={})
2626
end
2727

2828
def generate_config(opts={})
29-
opts[:uri] ||= generate_uri(opts)
29+
opts[:uri] ||= luri + generate_uri(opts)
3030
super(opts)
3131
end
3232

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,6 @@ def generate_uri(opts={})
5454
generate_uri_uuid_mode(:init_java, uri_req_len)
5555
end
5656

57-
#
58-
# Generate the URI for the initial stager
59-
#
60-
def generate_small_uri
61-
generate_uri_uuid_mode(:init_java, 5)
62-
end
63-
6457
#
6558
# Generate configuration that is to be included in the stager.
6659
#

0 commit comments

Comments
 (0)