Skip to content

Whoever has had to write CSP (Content Security Policy) knows that it is no picnic. This CLI written in Rust allows you to generate CSP headers from a given url, or multiple urls.

License

Notifications You must be signed in to change notification settings

aeyoll/cspgen-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSP Generation

Whoever has had to write CSP (Content Security Policy) knows that it is no picnic. This CLI written in Rust allows you to generate CSP headers from a given url, or multiple urls.

Usage

cspgen <URL1> <URL2>...

Args:

<URL1> <URL2>...    The urls to generate the CSP from

Development

git clone git@github.com:aeyoll/cspgen-rs.git
cd cspgen-rs
cargo run -- <URL1> <URL2>

About

Whoever has had to write CSP (Content Security Policy) knows that it is no picnic. This CLI written in Rust allows you to generate CSP headers from a given url, or multiple urls.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages