xstp / csprecon

Discover new target domains using Content Security Policy

Home Page:https://edoardoottavianelli.it

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

csprecon

Discover new target domains using Content Security Policy

Coded with πŸ’™ by edoardottt

go action go report card
Share on Twitter!

Install β€’ Get Started β€’ Examples β€’ Changelog β€’ Contributing β€’ License

Install πŸ“‘

go install github.com/edoardottt/csprecon/cmd/csprecon@latest

Get Started πŸŽ‰

Usage:
  csprecon [flags]

Flags:
INPUT:
   -u, -url string   Input domain
   -l, -list string  File containing input domains

CONFIGURATIONS:
   -d, -domain string[]  Filter results belonging to these domains (comma separated)
   -c, -concurrency int  Concurrency level (default 100)
   -t, -timeout int      Connection timeout in seconds (default 10)

OUTPUT:
   -o, -output string  File to write output results
   -v, -verbose        Verbose output
   -s, -silent         Silent output. Print only results

Examples πŸ’‘

Grab all possible results from single domain

csprecon -u https://www.github.com

Grab all possible results from a list of domains (protocols needed!)

csprecon -l targets.txt
cat targets.txt | csprecon

Grab all possible results belonging to a specific target(s) from a list of domains (protocols needed!)

cat targets.txt | csprecon -d google.com

Changelog πŸ“Œ

Detailed changes for each release are documented in the release notes.

Contributing πŸ› 

Just open an issue / pull request.

Before opening a pull request, download golangci-lint and run

golangci-lint run

If there aren't errors, go ahead :)

License πŸ“

This repository is under MIT License.
edoardoottavianelli.it to contact me.

About

Discover new target domains using Content Security Policy

https://edoardoottavianelli.it

License:MIT License


Languages

Language:Go 100.0%