Skip to content

Commit

Permalink
Default socks5h
Browse files Browse the repository at this point in the history
Reminder to use socks5h to prevent DNS leaks 👍
  • Loading branch information
UltimaHoarder committed Mar 17, 2021
1 parent 95d1267 commit 092a750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/make_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def fix(config={}):
if socks5_proxies:
fixed_socks5_proxies = []
for socks5_proxy in socks5_proxies:
fixed_socks5_proxy = f"socks5://{socks5_proxy}"
fixed_socks5_proxy = f"socks5h://{socks5_proxy}"
fixed_socks5_proxies.append(fixed_socks5_proxy)
settings["proxies"] = fixed_socks5_proxies
global_user_agent = settings.pop(
Expand Down

0 comments on commit 092a750

Please sign in to comment.