一个基于 Go 语言开发的 CORS 配置错误扫描工具,以速度和精准度为设计目标!
"}、( 等)
$ go get -u -v github.com/shivangx01b/CorsMe
单个 URL
echo "https://example.com" | ./CorsMe
多个 URL
cat http_https.txt | ./CorsMe -t 70
允许通配符 .. 如果 Access-Control-Allow-Origin 为 *,则会输出
cat http_https.txt | ./CorsMe -t 70 -wildcard
如需添加请求头
cat http_https.txt | ./CorsMe -t 70 -wildcard -header "Cookie: Session=12cbcx...."
将输出保存到文件
cat http_https.txt | ./CorsMe -t 70 -output audit.logs
如需添加其他方法
cat http_https.txt | ./CorsMe -t 70 -wildcard -header "Cookie: Session=12cbcx...." -method "POST"
技巧
subfinder -d hackerone.com -nW -silent | ./httprobe -c 70 -p 80,443,8080,8081,8089 | tee http_https.txt
cat http_https.txt | ./CorsMe -t 70
