testssl.sh
testssl.sh copied to clipboard
[Feature] HTML report add option to report like on terminal (dark)
Would like the HTML report to look like the report that is printed to the screen. That is would like black background etc. The whiteback ground is killing me!
If you're still alive which I hope so: If this is a feature request, there would be also a template for that.
We can't make the HTML "look like the report that is printed on the screen," because testssl.sh can not determine what your screen looks like. We could, however, have an option to make the HTML background black (or any other color).
If someone is interested in working on this, I would suggest starting by looking at #1518. Once you choose a background color (e.g., black), use the referenced tools to find colors that meet accessibility guidelines when displayed on the chosen background color. As I did in #1518, you can then present the set of colors here with an image showing what they look like, so that people can comment on them. Once the colors have been selected, writing the PR will be relatively easy.
good hint @dcooper16 .
Other than specifying colors an alternative might be a cmd line option which specifies a CSS which is probably best to include inline.