Skip to content

Commit 75269fd

Browse files
committed
Make sure we're not doing a 'negative' timeout
1 parent ded085f commit 75269fd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/exploits/multi/http/eventlog_file_upload.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,11 @@ def exploit_java
315315

316316

317317
def exploit
318+
if datastore['SLEEP'] < 0
319+
print_error("The SLEEP datastore option shouldn't be negative")
320+
return
321+
end
322+
318323
@my_target = pick_target
319324
if @my_target.nil?
320325
print_error("#{peer} - Unable to select a target, we must bail.")

0 commit comments

Comments
 (0)