关于ja3指纹处理

2023-05-31 14:36:46 浏览数 (1)

目标网站:aHR0cHM6Ly93d3cuaWR4LmNvLmlkL3ByaW1hcnkvTGlzdGVkQ29tcGFueS9HZXRDb21wYW55UHJvZmlsZXM/ZW1pdGVuVHlwZT1zbyZzdGFydD0wJmxlbmd0aD05OTk5 使用工具requests-go :git地址https://github.com/wangluozhe/requests-go 使用方法,直接下载开源包

代码语言:javascript复制
# _*_ coding: utf-8 _*_
# @Time:2023/5/30 5:36 下午
# @Author:YwY(慕白)
# @File:run.py
import requests_go

url = 目标网站
headers = {
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
}
tls = requests_go.tls_config.TLSConfig()
tls.ja3 = "771,4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,16-18-5-27-0-13-11-43-45-35-51-23-10-65281-17513-21,29-23-24,0"
# tls.http2_settings.connection_flow = 15663105
response = requests_go.get(url=url, headers=headers, tls_config=tls)
print(response.text)

0 人点赞