ASCII!
This commit is contained in:
parent
442efccdf2
commit
d130df7f9b
7
main.py
7
main.py
@ -9,7 +9,12 @@ import os
|
|||||||
listeningIPs = []
|
listeningIPs = []
|
||||||
print("DoT (DNS over TLS) Proxy resolver - <Written by Caleb Fontenot>")
|
print("DoT (DNS over TLS) Proxy resolver - <Written by Caleb Fontenot>")
|
||||||
# ASCII Art because why not
|
# 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
|
#Get IPs of interfaces
|
||||||
for iface in netifaces.interfaces():
|
for iface in netifaces.interfaces():
|
||||||
iface_details = netifaces.ifaddresses(iface)
|
iface_details = netifaces.ifaddresses(iface)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user