From 93c9908c9751de05f6a19d4e8f8d06bec02496ce Mon Sep 17 00:00:00 2001 From: TheTechromancer Date: Fri, 22 Dec 2023 23:46:53 -0500 Subject: [PATCH] fix nsec bug --- bbot/modules/nsec.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bbot/modules/nsec.py b/bbot/modules/nsec.py index cafed732e0..bfd770d440 100644 --- a/bbot/modules/nsec.py +++ b/bbot/modules/nsec.py @@ -26,6 +26,7 @@ async def handle_event(self, event): self.emit_event(result, "DNS_NAME", source=event) async def get_nsec_record(self, domain): + domain = domain.replace("\\000.", "") try: for result in await self.helpers.resolve(domain, type="NSEC"): return str(result)