Skip to content

Commit fd74390

Browse files
author
jvazquez-r7
committed
Clean monkey_headers
1 parent f6a3da9 commit fd74390

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

modules/auxiliary/dos/http/monkey_headers.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def initialize(info = {})
1616
super(update_info(info,
1717
'Name' => 'Monkey HTTPD Header Parsing Denial-of-Service',
1818
'Description' => %q{
19-
This module causes improper header parsing that leads to a segmentation fault
19+
This module causes improper header parsing that leads to a segmentation fault
2020
due to a specially crafted HTTP request. Affects version <= 1.2.0.
2121
},
2222
'Author' =>
@@ -27,6 +27,8 @@ def initialize(info = {})
2727
'References' =>
2828
[
2929
['CVE', '2013-3843'],
30+
['OSVDB', '93853'],
31+
['BID', '60333'],
3032
['URL', 'http://bugs.monkey-project.com/ticket/182']
3133
],
3234
'DisclosureDate' => 'May 30 2013'))
@@ -64,7 +66,7 @@ def run
6466
dos
6567

6668
print_status("#{rhost}:#{rport} - Checking server status...")
67-
Rex.sleep(1)
69+
select(nil, nil, nil, 1)
6870

6971
if is_alive?
7072
print_error("#{rhost}:#{rport} - Server is still alive")

0 commit comments

Comments
 (0)