From 144d676ecbcf0ad285cbe529924f68d6993c059e Mon Sep 17 00:00:00 2001 From: Benajmyn Love Date: Mon, 25 Sep 2017 11:41:04 +1000 Subject: [PATCH] Added DNSSEC cutoff --- HTTPy.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/HTTPy.py b/HTTPy.py index cff377c..ad40800 100755 --- a/HTTPy.py +++ b/HTTPy.py @@ -162,9 +162,12 @@ def parseWhois(whioisInfo): S = re.compile("Status") L = re.compile("^[Ll]") E = re.compile("^[Ee]") + DNSSEC = re.compile("DNSSEC") for str in whioisInfo: str = str.strip() + if DNSSEC.match(str): + return 0 if NS.match(str) or D.match(str) or R.match(str) or U.match(str) or S.match(str) or L.match(str) or E.match(str): if "domain" in str or "Domain" in str and "Name" not in str or "Status" in str: if "name" not in str and "ID" not in str: