colors fixed

This commit is contained in:
Dionysus 2023-11-23 04:59:42 -05:00
parent 6e769ac39e
commit cab5fb4eb5
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -96,7 +96,7 @@ async def main():
print(f'{colors.ip}{ip.ljust(15)}{colors.reset} {colors.separator}->{colors.reset} {colors.ptr}{result}{colors.reset}') print(f'{colors.ip}{ip.ljust(15)}{colors.reset} {colors.separator}->{colors.reset} {colors.ptr}{result}{colors.reset}')
elif result.endswith('.gov') or result.endswith('.mil'): elif result.endswith('.gov') or result.endswith('.mil'):
result = result.replace('.gov', f'{colors.spooky}.gov{colors.reset}') result = result.replace('.gov', f'{colors.spooky}.gov{colors.reset}')
result = result.replace('.mil', f'{colors.spooky}.gov{colors.reset}') result = result.replace('.mil', f'{colors.spooky}.mil{colors.reset}')
print(f'{colors.ip}{ip.ljust(15)}{colors.reset} {colors.separator}->{colors.reset} {colors.ptr}{result}{colors.reset}') print(f'{colors.ip}{ip.ljust(15)}{colors.reset} {colors.separator}->{colors.reset} {colors.ptr}{result}{colors.reset}')
elif '.gov.' in result or '.mil.' in result: elif '.gov.' in result or '.mil.' in result:
result = result.replace('.gov.', f'{colors.spooky}.gov.{colors.ptr}') result = result.replace('.gov.', f'{colors.spooky}.gov.{colors.ptr}')