Skip to content

Commit 447c4ee

Browse files
committed
Allows the targetèuri to be shared between the #check and #dos
1 parent d9d8634 commit 447c4ee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/auxiliary/dos/http/ms15_034_ulonglongadd.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ def run_host(ip)
6464
end
6565
end
6666

67+
# Needed to allow the vulnerable uri to be shared between the #check and #dos
68+
def target_uri
69+
@target_uri ||= super
70+
end
71+
6772
def get_file_size(ip)
6873
@file_size ||= lambda {
6974
file_size = -1

0 commit comments

Comments
 (0)