Skip to content

Commit df20e79

Browse files
committed
Deleted the handle because it's not required and check() function.
1 parent 36f275d commit df20e79

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

modules/exploits/multi/upnp/miniupnpd_soap_bof.rb

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,6 @@ def initialize(info = {})
4747
], self.class)
4848
end
4949

50-
def check
51-
packet = "M-SEARCH * HTTP/1.1\r\n \
52-
HOST: 239.255.255.250:1900\r\n \
53-
ST: ssdp:all\r\n \
54-
MX:2\r\n \
55-
MAN:\"ssdp:discover\"\r\n"
56-
end
57-
5850
def exploit
5951
#
6052
# Build the SOAP Exploit
@@ -119,9 +111,6 @@ def exploit
119111
'data' => data,
120112
})
121113

122-
# handle the exploit
123-
handler
124-
125114
# disconnect from the server
126115
disconnect
127116
end

0 commit comments

Comments
 (0)