From bfec1806020bc44a6082e256409711cbb174c669 Mon Sep 17 00:00:00 2001 From: Jonathan Baker Date: Thu, 21 Jan 2021 15:15:26 +0000 Subject: [PATCH] Added last updated and expiry to whois data --- dnstwist.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dnstwist.py b/dnstwist.py index 68817400..b744261f 100755 --- a/dnstwist.py +++ b/dnstwist.py @@ -951,6 +951,10 @@ def signal_handler(signal, frame): continue if whoisq.creation_date: domain['whois-created'] = str(whoisq.creation_date).split(' ')[0] + if whoisq.last_updated: + domain['whois-last-updated'] = str(whoisq.last_updated).split(' ')[0] + if whoisq.expiration_date: + domain['whois-expiry'] = str(whoisq.expiration_date).split(' ')[0] if whoisq.registrar: domain['whois-registrar'] = str(whoisq.registrar) p_cli(' Done\n')