Skip to content

Commit 21a6d0b

Browse files
DanielRTeixeiramkienow-r7
authored andcommitted
Update slow_loris.rb
1 parent 6087821 commit 21a6d0b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/auxiliary/dos/http/slow_loris.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def initialize(info = {})
1111
super(update_info(
1212
info,
1313
'Name' => 'Slow Loris DoS',
14-
'Description' => %q{Slowloris tries to keep many connections to the target web server open and hold them open as long as possible.
14+
'Description' => %q{Slowloris tries to keep many connections to the target web server open and hold them open as long as possible.
1515
It accomplishes this by opening connections to the target web server and sending a partial request.
1616
Periodically, it will send subsequent requests, adding to but never completing the request.},
1717
'License' => MSF_LICENSE,
@@ -48,11 +48,11 @@ def run
4848
starting_thread = 1
4949
header = "GET / HTTP/1.1\r\n"
5050
threads = []
51-
5251
while true do
52+
5353
ubound = [thread_count].min
5454
print_status("Executing requests #{starting_thread} - #{(starting_thread + ubound) - 1}...")
55-
55+
5656
1.upto(ubound) do |i|
5757
threads << framework.threads.spawn("Module(#{self.refname})-request#{(starting_thread - 1) + i}", false, i) do |i|
5858
begin

0 commit comments

Comments
 (0)