Skip to content

Commit

Permalink
Merge pull request #935 from blacklanternsecurity/nsec-bugfix
Browse files Browse the repository at this point in the history
Fix Minor NSEC Bug
  • Loading branch information
TheTechromancer authored Dec 24, 2023
2 parents 9d08a3a + 93c9908 commit e6b6043
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bbot/modules/nsec.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e6b6043

Please sign in to comment.