testssl.sh icon indicating copy to clipboard operation
testssl.sh copied to clipboard

[Feature] HTML report add option to report like on terminal (dark)

Open DSEyers opened this issue 1 year ago • 3 comments

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!

DSEyers avatar Jan 30 '24 13:01 DSEyers

If you're still alive which I hope so: If this is a feature request, there would be also a template for that.

drwetter avatar Jan 31 '24 08:01 drwetter

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.

dcooper16 avatar Feb 08 '24 15:02 dcooper16

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.

drwetter avatar Feb 13 '24 09:02 drwetter