Discover new target domains using Content Security Policy
go install github.com/rix4uni/cspfinder@latest
wget https://github.com/rix4uni/cspfinder/releases/download/v0.0.1/cspfinder-linux-amd64-0.0.1.tgz
tar -xvzf cspfinder-linux-amd64-0.0.1.tgz
rm -rf cspfinder-linux-amd64-0.0.1.tgz
mv cspfinder ~/go/bin/cspfinder
Or download binary release for your platform.
git clone --depth 1 github.com/rix4uni/cspfinder.git
cd cspfinder; go install
Usage of cspfinder:
-concurrent int
Number of concurrent requests (default 50)
-silent
silent mode.
-timeout int
Timeout for curl requests in seconds (default 15)
-version
Print the version of the tool and exit.
Single Target:
▶ echo "https://www.github.com" | cspfinder -silent
Multiple Targets:
▶ cat targets.txt
google.com
grow.google
https://www.github.com
▶ cat targets.txt | cspfinder -silent