绕过cdn方法之–.ICO图标获取真实IP
说明:
ICO图标获取真实IP,绕过cdn方法
操作:
python3 编写
- 替换代码中URL
- 运行当前代码
- 在shadan搜索输出的值,就能获取到真实ip地址
import mmh3
import requests
def hashget():
response = requests.get('https://www.baidu.com/favicon.ico')
favicon = response.content
hash = mmh3.hash(favicon)
print('http.favicon.hash:'+str(hash))
hashget()
输出-例:
http.favicon.hash:1316899419