DEV Community

EPPR
EPPR

Posted on

2

EPPR - BASH para revisar DNS/TXT & Caducidad SSL

eppr-txt-dns-check

Comando LINUX usando google.com

host -t txt google.com

Programa en BASH

#!/bin/bash
# BASH Para revisar DNS con TXT
main(){
    echo "Ingresa un dominio (o sub):"
    read vardomain
    host -t txt $vardomain
    # FIN
}
main

GITHUB

sudo git clone url

CURL GITHUB+RAW

sudo curl -sSL url | sh

eppr-ssl-check

Comando LINUX usando google.com

echo | openssl s_client -servername google.com -connect google.com:443 2>/dev/null | openssl x509 -noout -dates

Programa en BASH

#!/bin/bash
# BASH para revisar caducidad en certs. SSL
main(){
    echo "Ingresa un dominio (o sub):"
    read vardomain
    echo | openssl s_client -servername $vardomain -connect $vardomain:443 2>/dev/null | openssl x509 -noout -dates
}
main

GITHUB

sudo git clone url

CURL GITHUB+RAW

sudo curl -sSL url | sh

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more