Skip to content

Instantly share code, notes, and snippets.

View LAKostis's full-sized avatar

LAKostis

View GitHub Profile
@LAKostis
LAKostis / spf.py
Last active October 1, 2022 03:49 — forked from moloch--/spf.py
Check SPF records for expired Domains and DNS lookup depth
#!/usr/bin/env python3
# modified version of this snippet
# https://gist.github.com/TheRook/95f2b872bdc81bac2371
import dns.resolver
import dns.name
from urllib.parse import urlparse