sectxt lets you work with security.txt files on the command line.
bash
cargo install sectxt
Feed sectxt
a list of domains and it tells you which of them implement RFC 9116 correctly.
bash
sectxt < domains.txt
The idea was ~~shamelessly stolen from~~ inspired by haksecuritytxt.
The main motivation was to play around with Rust's new async
/await
syntax and learn something new.
Besides, sectxt
enforces stricter checks against the RFC 9116.