From 340b1da992809c138b352e761d9ad2728963f28f Mon Sep 17 00:00:00 2001 From: dsosnowski Date: Fri, 27 Mar 2026 10:49:02 +0100 Subject: [PATCH] Initial commit --- certificate_check.sh | 35 +++++++ domain_list.txt | 241 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 276 insertions(+) create mode 100755 certificate_check.sh create mode 100644 domain_list.txt diff --git a/certificate_check.sh b/certificate_check.sh new file mode 100755 index 0000000..48816da --- /dev/null +++ b/certificate_check.sh @@ -0,0 +1,35 @@ +#!/bin/bash + +readarray -t domain_list < domain_list.txt + +for raw_domain in "${domain_list[@]}"; do + domain=${raw_domain%$'\r'} + + if [[ -z "$domain" ]]; then + continue + fi + + certificate=$( + openssl s_client \ + -connect "${domain}:443" \ + -servername "$domain" \ + -showcerts \ + /dev/null | + sed -n '/-----BEGIN CERTIFICATE-----/,/-----END CERTIFICATE-----/p' | + sed -n '1,/-----END CERTIFICATE-----/p' + ) + + if [[ -z "$certificate" ]]; then + echo "Checking domain: $domain - Could not retrieve certificate" + continue + fi + + expiration_date=$(printf '%s\n' "$certificate" | openssl x509 -noout -enddate 2>/dev/null | cut -d= -f2) + + if [[ -n "$expiration_date" ]]; then + echo "Checking domain: $domain - $expiration_date" + echo "" + else + echo "Checking domain: $domain - Could not parse certificate" + fi +done diff --git a/domain_list.txt b/domain_list.txt new file mode 100644 index 0000000..70e9175 --- /dev/null +++ b/domain_list.txt @@ -0,0 +1,241 @@ +coloray.co.uk +coloray.cz +coloray.decostores.pl +coloray.es +coloray.fr +coloray.hu +coloray.nl +coloray.pl +coloray.ro +coloray.sk +coloraydecor.com +coloraydekor.de +dev.coloray.decostores.pl +dev.prismalumino.decostores.pl +es.coloray.decostores.pl +fr.coloray.decostores.pl +img.coloray.pl +img2.coloray.pl +nl.coloray.decostores.pl +pl.prismalumino.decostores.pl +printalytic.pl +prismalumino.co.uk +prismalumino.cz +prismalumino.de +prismalumino.decostores.pl +prismalumino.es +prismalumino.fr +prismalumino.hu +prismalumino.it +prismalumino.nl +prismalumino.pl +prismalumino.pt +prismalumino.ro +prismalumino.se +prismalumino.si +prismalumino.sk +pt.prismalumino.decostores.pl +se.prismalumino.decostores.pl +si.prismalumino.decostores.pl +couk.dywanomat.decostores.pl +decormat.at +decormat.co.uk +decormat.de +decormat.hu +decormat.lt +decormat.ro +decormat.si +decormatstore.com +decormattor.se +decortapete.es +decortapis.fr +decortappeti.it +dev.dywanomat.decostores.pl +dywanomat.decostores.pl +dywanomat.pl +hr.dywanomat.decostores.pl +images.wallmuralia.com +images.wallmuralia.decostores.pl +img.decormat.co.uk +kobercomat.cz +kobercomat.sk +ltv.dywanomat.decostores.pl +old.wallmuralia.pl +pl.dywanomat.decostores.pl +pt.dywanomat.decostores.pl +tapetemat.pt +tapijtomaat.nl +tepihomat.hr +2.galeriacoloray.pl +allegrocoloray.pl +birdsecho.com +birdsecho.decostores.pl +birdsecho.pl +cz.sacroarte.decostores.pl +decoroutlet.pl +defto.com +dev.outlet.decostores.pl +dev.sacroarte.decostores.pl +dev.wallfluent.decostores.pl +fabricsy.com +fabricsy.decostores.pl +fabricsy.pl +fotorolety.decostores.pl +fotorolety.pl +fr.wallfluent.decostores.pl +galeriacoloray.pl +it.defto.com +m1.pdtstorage.com +marketplace.piga.pl +outlet.decostores.pl +pl.sparrowfloor.decostores.pl +sacroarte.cz +sacroarte.decostores.pl +sacroarte.pl +sparrowfloor.decostores.pl +v2.allegrocoloray.pl +wallfluent.cz +wallfluent.decostores.pl +wallfluent.fr +wallfluent.hu +wallfluent.pl +wallfluent.ro +wallfluent.sk +allegrocoloray.pl +analytics.piga.pl +artprintcave.com +bl.piga.cz +bl.piga.pl +blog.piga.pl +bluedecor.de +bluedecor.pl +ceskytisk.com +decoroutlet.pl +decostores.pl +defto.pl +deftoapartments.com +drukarnik.pl +focode.decostores.pl +fotolia.tulup.pl +gabrys.net.pl +glpi.piga.pl +lenartewallpapers.com +loccodecals.com +logo.postertones.com +mall.decostores.pl +piga.cz +piga.pl +pinkpalmdecor.com +pl.zegaromat.decostores.pl +postertones.com +printalytic.com +tastyprints.de +ticket.piga.pl +valere.pl +wayfair.decostores.pl +wp.decostores.pl +zegaromat.decostores.pl +be.tulup.decostores.pl +decor.tulup.decostores.pl +dev.tulup.decostores.pl +dk.tulup.decostores.pl +gr.tulup.decostores.pl +hr.tulup.decostores.pl +img.tulup.pl +pt.tulup.decostores.pl +tulup.at +tulup.co.uk +tulup.cz +tulup.de +tulup.decostores.pl +tulup.dk +tulup.es +tulup.eu +tulup.fr +tulup.hr +tulup.hu +tulup.lt +tulup.pl +tulup.pt +tulup.ro +tulup.si +tulup.sk +tulupdecor.com +tulupdecor.cz +tulupdecor.nl +tulupdecor.se +tulupdecoro.it +adhesimat.fr +artprintcave.cz +artprintcave.fr +artprintcave.hu +artprintcave.ro +artprintcave.sk +chat.vintageposteria.decostores.pl +cz.okleinomat.decostores.pl +dev.fototapety.decostores.pl +edytorprezentow.pl +foliamata.hu +foliomat.ro +foliomat.sk +formille.decostores.pl +fototapety.decostores.pl +fototapety.pl +fr.okleinomat.decostores.pl +hu.okleinomat.decostores.pl +impreson.pl +nalepkomat.cz +okleinomat.decostores.pl +okleinomat.pl +pl.formille.decostores.pl +pl.okleinomat.decostores.pl +prezentonauci.decostores.pl +prezentonauci.pl +ro.okleinomat.decostores.pl +sk.okleinomat.decostores.pl +sparrow.vintageposteria.decostores.pl +vintageposteria.com +vintageposteria.cz +vintageposteria.de +vintageposteria.decostores.pl +vintageposteria.hu +vintageposteria.pl +vintageposteria.sk +de.wallmuralia.decostores.pl +dev.lustromat.decostores.pl +devsk.wallmuralia.decostores.pl +es.wallmuralia.decostores.pl +espejomat.es +espelharte.pt +fr.wallmuralia.decostores.pl +it.wallmuralia.decostores.pl +lustromat.decostores.pl +lustromat.pl +miromat.fr +mirrormatic.co.uk +mirrormatic.com +nl.wallmuralia.decostores.pl +nl2.wallmuralia.decostores.pl +oglindomat.ro +specchiomat.it +spegelmat.se +spiegelautomaat.nl +spiegelomat.de +tukromata.hu +wallmuralia.co.uk +wallmuralia.com +wallmuralia.cz +wallmuralia.de +wallmuralia.decostores.pl +wallmuralia.es +wallmuralia.fr +wallmuralia.hu +wallmuralia.it +wallmuralia.nl +wallmuralia.pl +wallmuralia.ro +wallmuralia.sk +zrcadlomat.cz +zrcalomat.si +zrkadlomat.sk +naklejki.pl \ No newline at end of file