Skip to content

Commit a81255b

Browse files
author
Andrew Hobden
committed
Add flag to disable domain listing
1 parent 81e4aeb commit a81255b

File tree

2 files changed

+21
-11
lines changed

2 files changed

+21
-11
lines changed

_data/subdomains.yml

+20-10
Original file line numberDiff line numberDiff line change
@@ -255,38 +255,41 @@ very:
255255
This site has been a very bad doge.
256256
257257
### Upgrade ###
258+
hsts:
259+
favicon: green
260+
background: rgb(68, 136, 68)
261+
category: Upgrade
262+
description: |
263+
This site advertises HTTP Strict Transport Security and correctly provides HTTPS.
258264
hsts-http:
265+
listed: false
259266
favicon: red
260267
background: red
261268
category: Upgrade
262269
description: |
263270
This site advertises HTTP Strict Transport Security however only provides HTTP.
264-
hsts-https:
271+
https-everywhere:
265272
favicon: green
266273
background: rgb(68, 136, 68)
267274
category: Upgrade
268275
description: |
269-
This site advertises HTTP Strict Transport Security and correctly provides HTTPS.
276+
This domain will be upgraded to HTTPS if you use <a href="https://www.eff.org/https-everywhere">HTTPS Everywhere</a>.
270277
https-everywhere-http:
278+
listed: false
271279
favicon: red
272280
background: rgb(170, 68, 68)
273281
category: Upgrade
274282
description: |
275283
This domain will be upgraded to HTTPS if you use <a href="https://www.eff.org/https-everywhere">HTTPS Everywhere</a>.
276-
https-everywhere-https:
277-
favicon: green
278-
background: rgb(68, 136, 68)
279-
category: Upgrade
280-
description: |
281-
This domain will be upgraded to HTTPS if you use <a href="https://www.eff.org/https-everywhere">HTTPS Everywhere</a>.
282284
preloaded-hsts-http:
285+
listed: false
283286
favicon: red
284287
background: rgb(170, 68, 68)
285288
category: Upgrade
286289
description: |
287290
This site has preloaded HTTP Strict Transport Security however only provides HTTP.<br>
288291
Preloaded in: Chrome 44, Firefox 41
289-
preloaded-hsts-https:
292+
preloaded-hsts:
290293
favicon: green
291294
background: rgb(68, 136, 68)
292295
category: Upgrade
@@ -300,7 +303,14 @@ subdomain.preloaded-hsts:
300303
description: |
301304
This site is preloaded to use HTTP Strict Transport Security, but its hostname doesn't match the certificate.
302305
Preloaded in: Chrome 44, Firefox 41
303-
upgrade-https:
306+
upgrade:
307+
favicon: green
308+
background: rgb(68, 136, 68)
309+
category: Upgrade
310+
description: |
311+
This site attempts to load an HTTP image. If upgrade-insecure-requests is working, the source should be rewritten to HTTPS. The image will vary depending on the outcome.
312+
upgrade-http:
313+
listed: false
304314
favicon: green
305315
background: rgb(68, 136, 68)
306316
category: Upgrade

domains/misc/badssl.com/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ <h2>{{ category.name }}:</h2>
208208
<div class="link-container">
209209
{% assign name = subdomain_hash[0] %}
210210
{% assign subdomain = subdomain_hash[1] %}
211-
{% if subdomain.category == category.name %}
211+
{% if subdomain.category == category.name and subdomain.listed != false %}
212212
<a href="https://{{ name }}.{{ site.domain }}/" style="background: {{ subdomain.background }}">{{ name }}</a>
213213
<div class="description">{{ subdomain.description }}</div>
214214
{% endif %}

0 commit comments

Comments
 (0)