Update slow_loris.rb
parent
74becb69e8
commit
52f56527d8
|
@ -11,7 +11,7 @@ class MetasploitModule < Msf::Auxiliary
|
||||||
super(update_info(
|
super(update_info(
|
||||||
info,
|
info,
|
||||||
'Name' => 'Slow Loris DoS',
|
'Name' => 'Slow Loris DoS',
|
||||||
'Description' => %q{Slowloris tries to keep many connections to the target web server open and hold them open as long as possible.
|
'Description' => %q{Slowloris tries to keep many connections to the target web server open and hold them open as long as possible.
|
||||||
It accomplishes this by opening connections to the target web server and sending a partial request.
|
It accomplishes this by opening connections to the target web server and sending a partial request.
|
||||||
Periodically, it will send subsequent requests, adding to but never completing the request.},
|
Periodically, it will send subsequent requests, adding to but never completing the request.},
|
||||||
'License' => MSF_LICENSE,
|
'License' => MSF_LICENSE,
|
||||||
|
@ -33,7 +33,7 @@ class MetasploitModule < Msf::Auxiliary
|
||||||
Opt::RPORT(80),
|
Opt::RPORT(80),
|
||||||
OptInt.new('THREADS', [true, 'The number of concurrent threads', 1000]),
|
OptInt.new('THREADS', [true, 'The number of concurrent threads', 1000]),
|
||||||
OptInt.new('HEADERS', [true, 'The number of custom headers sent by each thread', 10]),
|
OptInt.new('HEADERS', [true, 'The number of custom headers sent by each thread', 10]),
|
||||||
OptInt.new('TIMEOUT', [true, 'The maximum time in seconds to wait for each request to finish', 15])
|
OptInt.new('TIMEOUT', [true, 'The maximum time in seconds to wait for each request to finish', 15])
|
||||||
])
|
])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ class MetasploitModule < Msf::Auxiliary
|
||||||
def headers
|
def headers
|
||||||
datastore['HEADERS']
|
datastore['HEADERS']
|
||||||
end
|
end
|
||||||
|
|
||||||
def timeout
|
def timeout
|
||||||
datastore['TIMEOUT']
|
datastore['TIMEOUT']
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue