diff --git a/main.py b/main.py index 535c15e..7d1b933 100755 --- a/main.py +++ b/main.py @@ -9,7 +9,12 @@ import os listeningIPs = [] print("DoT (DNS over TLS) Proxy resolver - ") # ASCII Art because why not -os.system("cat ascii") +operating_system = os.name +print(operating_system) +if operating_system == "posix": + os.system("cat ascii") +elif operating_system == "nt": + os.system("type ascii") #Get IPs of interfaces for iface in netifaces.interfaces(): iface_details = netifaces.ifaddresses(iface)