master
Caleb Fontenot 2022-01-11 22:26:32 +07:00
parent 706647c944
commit 442efccdf2
4 changed files with 44 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

30
ascii

@ -0,0 +1,30 @@
==++++==++=++++++++**+*+***++---:-#%%%%@@@@%%%%%%#########*****####%###*+*=-=+========-..  .:-=++***
+++=======++=++=++++*+++***++-=::-#%%%%@@@@@@@@@@@@@%######%%@@@@@@@@@@@%*=-=+=====-:.  .:-=+****###
==+=======+++++++++++++++**+=--::=%@@@@@@@@@@@@@@@@@%###%@%%%%%%%%@@@@@@@@*-=+==-:.  ..-=+****######
::-------========+++++++++++=--:+@@**==**@@@@@@@@@@@###%#=*#*****--*%@@@@@@*==-:.  .-=+*****########
... ............::::::----==--:.*@%++.=+*%*+==#%%@@@###%+.+*+++*+::+#%%@@@@@#.  .:=++*****##########
+===----::::.......     :*%@@@#*#@%%#%%%%%*=:-*+%@@@##****+++=+++****##%@@@%#::=++*******###########
@@%%%%%%%%####****+++=====-=+*%@@@@@@@@@@@@%###@@@%%***####**##%%%%%@%#%%@%*+=+*********############
%%@%%%@@@@@@%@@%%%%%@%#+-:::::=*#%@@@@@@@@@@@@@%#**####%%#+--###%%@@+-+#%@@@@#***********###########
@@@@@@@@@@@@%%%%@@@%#*=-:-::::...::---=*%@%##%%%#%%*=::::....::::--:  .:=*@@%@@***********##########
%%%@@@@@@%%%@@@@%*-:::.::......:::----:---:-=---==*+: ..::===-::.. ..::..:--=*#***********##########
%%%%%%@%@@@@@%*=:  ..:-++=+==++++++===-:::::......:: .:=+*#%%%%##*+=:..::.:::=+*************########
%%%%%%%@%#*++-:::.:-+*#***##*+*#%%%%##**++=::....:::.-+*###%%#%%%%%%*=:..:::::-+**************######
%%%%%%@*=--------:+*###*++++**+++*%%@@@%%*=-:...:.. :=+++**#####%%%%#*=-::::::::=*************##**##
%%%%%@+::::--::--::::-=====-==+++***#%%@@%*-:....::.:=+++*****####%%%#*=--:.:::::-+*****************
%%@%@+..:.::::::::::::::---=+++*#%#********+-:......:======++*****+===--:::...::-::=****************
***##=....:::--+:....:::::----===+##*++***++==: .  .:::.....:==+*+-:...::.::. .::--:=***************
:::::-. .::-==+=.-=:.. .....::-----=*+--+*#*+===.  :--::::-::.-**:--::-=====:.  .:--:=**************
**+=:::.:::-:-+:+*%#++-:.......:::-:-***+=+++---   --=+++==+=:=#@*-*++++***+-:.  ...:-+*************
++=----::.:..:-::-==+#=++*=:::..::.:::-=****=.    .---=++++--+*#@@#==+******+*.    .:-=*************
.......::..::::::::::=-==+#=--:::::::::::-+-      .-=--====++**#%@@@%@@@%#%@%+:....:::::+***********
....:-=#-.:::::::::::::::=------:::::::::::        .=+========+*#%%%@@@@%%%%=..::..::--.:=====++++++
..:=#%%#=.::::::::::::---::----=---::::::.        .  :-====++==*#%%%@%%%%#+: .--:.:-:--:::::::::::::
..=#%###*:....:.......:::::::::::::::::...     . ..   .:-=++++==*@@%%%#+=.   .--.:----::::::::::::--
..+%%##***=:...::::::...:...........           .. ..   ..:======+#@@#*=:   ..:-::::::::..:::-------:
. :*%#*****+=-:::.:.:::::::::::..              .. ..  . ...:--=+*#*+-:.  ...::::::::.......:-::-----
.. .=*****++++==---:::::::.::::......          .. .:. ...:.::::-+=:::.  .. .:.:::.:.......::-------=
...  .-+****+++++++++==-.                      .....::...:..:::::::::. .. .::.:::.......:::-======--
.....  .:-=+++++++=-:.            ...       .. ......::::::.......    ....::..::.........:.:--------
......      .....           ...........  .. .  ...:...::..-..         ...::...:......:......-:::::::
::.........             ... ............ ... ..:..:::.::..::..     . ...::...::.....::-:....:...::::

@ -4,7 +4,21 @@ from dnslib import server,RR,QTYPE
import re
import dns.query
import dns.message
import netifaces
import os
listeningIPs = []
print("DoT (DNS over TLS) Proxy resolver - <Written by Caleb Fontenot>")
# ASCII Art because why not
os.system("cat ascii")
#Get IPs of interfaces
for iface in netifaces.interfaces():
iface_details = netifaces.ifaddresses(iface)
if netifaces.AF_INET in iface_details:
interface_info1 = iface_details[netifaces.AF_INET]
interface_info = interface_info1[0]
listeningIPs.append(interface_info["addr"])
print("Listening on", listeningIPs)
ttl=53
class bcolors:
OK = '\033[92m' #GREEN