From 0c271de1d79b283ce18160e1abc5e0be8f9d40bc Mon Sep 17 00:00:00 2001 From: mickael Date: Fri, 4 Jan 2019 21:58:30 +0000 Subject: [PATCH] tor: use socks4 instead of socks5 --- ppf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppf.py b/ppf.py index 90d4c46..54dc973 100755 --- a/ppf.py +++ b/ppf.py @@ -156,7 +156,7 @@ if __name__ == '__main__': database = parser.get('global', 'database') search = parser.getboolean('proxyfind', 'search') tor_hosts = parser.get('global', 'tor_host').split(',') - proxies={'http':'socks5://%s' % random.choice(tor_hosts),'https':'socks5://%s' % random.choice(tor_hosts)} + proxies={'http':'socks4://%s' % random.choice(tor_hosts),'https':'socks4://%s' % random.choice(tor_hosts)} sqlite = mysqlite.mysqlite(database, str)