Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
thewhiteh4t committed May 18, 2024
1 parent 0802bd2 commit 486b094
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/dns.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ async def fetch_records(res, domain, record):

for entry in full_ans:
entry_parts = entry.split(' : ')
print(f'{C}{entry_parts[0]} {'\t'}: {W}{entry_parts[1]}')
print(f'{C}{entry_parts[0]} \t: {W}{entry_parts[1]}')
if output != 'None':
result.setdefault('dns', []).append(entry)

dmarc_target = f'_dmarc.{domain}'
try:
dmarc_ans = asyncio.run(fetch_records(res, dmarc_target, 'TXT'))
for entry in dmarc_ans:
print(f'{C}DMARK {'\t'}: {W}{entry.to_text()}')
print(f'{C}DMARK \t: {W}{entry.to_text()}')
if output != 'None':
result.setdefault('dmarc', []).append(f'DMARK : {entry.to_text()}')
except dns.resolver.NXDOMAIN as exc:
Expand Down

0 comments on commit 486b094

Please sign in to comment.