diff --git a/onioff.py b/onioff.py index e4fe3de..117df58 100755 --- a/onioff.py +++ b/onioff.py @@ -56,7 +56,7 @@ def nowPrint(msg, error=False, ext=False, heavy=False): def connectTor(): global pure_ip - ipcheck_url = 'https://locate.now.sh/ip' + ipcheck_url = 'https://ipinfo.io/ip' pure_ip = requests.get(ipcheck_url).text.replace('\n','') socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS5, '127.0.0.1', 9050) @@ -81,7 +81,7 @@ def create_connection(address, timeout=None, source_address=None): def checkOnion(onion): global gathered, response, outFile - ipcheck_url = 'https://locate.now.sh/ip' + ipcheck_url = 'https://ipinfo.io/ip' check_ip = requests.get(ipcheck_url).text.replace('\n','') if check_ip != pure_ip: try: @@ -288,4 +288,4 @@ def inspect(): concurrent = 200 q = queue.Queue(concurrent * 2) - main() \ No newline at end of file + main()