tor: use socks4 instead of socks5
This commit is contained in:
2
ppf.py
2
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user