
AWS WAF 求解器,完全逆向实现,使用 100% Python 和 Golang。
本项目提供一个基于Golang和Python的AWS WAF挑战求解器。它支持 "token" / "Invisible" 和 "Captcha" 类型,使用gemini。
如果您觉得有用,请给仓库点星!您的支持有助于改进项目。❤️
package main
import (
"awswaf/internal/aws"
"log"
)
func main() {
// host & gokuProps are obtained from the initial response
// and can be extracted using aws.Extract(body)
// proxy can be "" to use no proxy at all
waf, err := aws.NewAwsWaf(
host,
"www.binance.com",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36",
gokuProps, proxy,
)
if err != nil {
log.Println(err)
return
}
token, err := waf.Run()
if err != nil {
log.Println(err)
return
}
// the token is the aws-waf-token cookie
}
完整示例请参见 main.go
from awswaf.aws import AwsWaf
token = AwsWaf(goku, endpoint, "www.binance.com")()
# the token is the aws-waf-token cookie
完整示例请参见 main.py
本项目采用 MIT 许可证 授权 - 详见 LICENSE 文件。
本软件包是非官方的,与亚马逊或AWS无关。请负责任地使用,并遵守AWS的服务条款。