diff --git a/modules/dns.py b/modules/dns.py index 8ad274b..8a6e9ae 100644 --- a/modules/dns.py +++ b/modules/dns.py @@ -50,7 +50,7 @@ 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) @@ -58,7 +58,7 @@ async def fetch_records(res, domain, record): 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: