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("漏洞不存在")
上一篇: 检测APK是否存在Janus漏洞步骤
下一篇: linux下创建用户赋予root权限