欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

iis put漏洞poc

程序员文章站 2022-06-03 20:37:45
...
# coding=utf-8
import requests
# proxy='127.0.0.1:8080'  #本地代理
# proxies={
#     'http':'http://'+proxy,  #http发送到127.0.0.1:8080
#     'https':'https://'+proxy   #https发送到127.0.0.1:8080
# }
url = "http://192.168.64.131:8001/"
r = requests.options(url)
result = r.headers["Public"]
if result.find("PUT") and result.find("MOVE"):
    print("Public: " + result)
    print("存在iis put上传漏洞")
else:
    print("漏洞不存在")