Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rix4uni/cspfinder
Discover new target domains using Content Security Policy
https://github.com/rix4uni/cspfinder
bugbounty content-security-policy csp golang hacking recon reconnaissance security
Last synced: about 21 hours ago
JSON representation
Discover new target domains using Content Security Policy
- Host: GitHub
- URL: https://github.com/rix4uni/cspfinder
- Owner: rix4uni
- Created: 2024-12-11T11:38:46.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-11T11:42:19.000Z (about 2 months ago)
- Last Synced: 2024-12-23T06:57:35.597Z (about 2 months ago)
- Topics: bugbounty, content-security-policy, csp, golang, hacking, recon, reconnaissance, security
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## cspfinder
Discover new target domains using Content Security Policy
## Installation
```
go install github.com/rix4uni/cspfinder@latest
```## Download prebuilt binaries
```
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](https://github.com/rix4uni/cspfinder/releases) for your platform.## Compile from source
```
git clone --depth 1 github.com/rix4uni/cspfinder.git
cd cspfinder; go install
```## Usage
```
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.
```## Examples
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
```