GithubHelp home page GithubHelp logo

auto_tor_ip_changer's People

Contributors

fdx100 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

auto_tor_ip_changer's Issues

it can't work

hare is output
File "/usr/share/aut/autoTOR.py", line 86, in
change()
File "/usr/share/aut/autoTOR.py", line 48, in change
print ('[+] Your IP has been Changed to : '+str(ma_ip()))
File "/usr/share/aut/autoTOR.py", line 43, in ma_ip
get_ip= requests.get(url,proxies=dict(http='socks5://127.0.0.1:9050',https='socks5://127.0.0.1:9050'))
File "/usr/lib/python3/dist-packages/requests/api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python3/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 412, in send
conn = self.get_connection(request.url, proxies)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 309, in get_connection
proxy_manager = self.proxy_manager_for(proxy)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 182, in proxy_manager_for
manager = self.proxy_manager[proxy] = SOCKSProxyManager(
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 47, in SOCKSProxyManager
raise InvalidSchema("Missing dependencies for SOCKS support.")
requests.exceptions.InvalidSchema: Missing dependencies for SOCKS support. <<---- the problem is hare

socks.GeneralProxyError: Socket error: SOCKS5 proxy server sent invalid data.

I'm running Ubuntu 23.10 and I'm trying to make your script to work...

     /\        | |        |__   __|
    /  \  _   _| |_ ___      | | ___  _ __
   / /\ \| | | | __/ _ \     | |/ _ \| '__|
  / ____ \ |_| | || (_) |    | | (_) | |
 /_/    \_\__,_|\__\___/     |_|\___/|_|
                V 2.1
from mrFD

 http://facebook.com/ninja.hackerz.kurdish/

 change your  SOCKES to 127.0.0.1:9050 

[+] time to change Ip in Sec [type=60] >> 30
[+] how many time do you want to change your ip [type=1000]for infinte ip change type [0] >>0
Traceback (most recent call last):
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/socks.py", line 809, in connect
    negotiate(self, dest_addr, dest_port)
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/socks.py", line 443, in _negotiate_SOCKS5
    self.proxy_peername, self.proxy_sockname = self._SOCKS5_request(
                                               ^^^^^^^^^^^^^^^^^^^^^
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/socks.py", line 475, in _SOCKS5_request
    raise GeneralProxyError(
socks.GeneralProxyError: SOCKS5 proxy server sent invalid data

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/urllib3/contrib/socks.py", line 112, in _new_conn
    conn = socks.create_connection(
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/socks.py", line 209, in create_connection
    raise err
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/socks.py", line 199, in create_connection
    sock.connect((remote_host, remote_port))
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/socks.py", line 47, in wrapper
    return function(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/socks.py", line 814, in connect
    raise GeneralProxyError("Socket error", error)
socks.GeneralProxyError: Socket error: SOCKS5 proxy server sent invalid data

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 790, in urlopen
    response = self._make_request(
               ^^^^^^^^^^^^^^^^^^^
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 491, in _make_request
    raise new_e
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 467, in _make_request
    self._validate_conn(conn)
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1096, in _validate_conn
    conn.connect()
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/urllib3/connection.py", line 611, in connect
    self.sock = sock = self._new_conn()
                       ^^^^^^^^^^^^^^^^
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/urllib3/contrib/socks.py", line 143, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.contrib.socks.SOCKSHTTPSConnection object at 0x7f3e323ea350>: Failed to establish a new connection: SOCKS5 proxy server sent invalid data

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/requests/adapters.py", line 486, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 844, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/urllib3/util/retry.py", line 515, in increment
    raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
urllib3.exceptions.MaxRetryError: SOCKSHTTPSConnectionPool(host='www.myexternalip.com', port=443): Max retries exceeded with url: /raw (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSHTTPSConnection object at 0x7f3e323ea350>: Failed to establish a new connection: SOCKS5 proxy server sent invalid data'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/aut/autoTOR.py", line 77, in <module>
    change()
  File "/usr/share/aut/autoTOR.py", line 48, in change
    print ('[+] Your IP has been Changed to : '+str(ma_ip()))
                                                    ^^^^^^^
  File "/usr/share/aut/autoTOR.py", line 43, in ma_ip
    get_ip= requests.get(url,proxies=dict(http='socks5://127.0.0.1:9050',https='socks5://127.0.0.1:9050'))
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/requests/api.py", line 73, in get
    return request("get", url, params=params, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ziomario/Scaricati/Auto_Tor_IP_changer/.venv/lib/python3.11/site-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: SOCKSHTTPSConnectionPool(host='www.myexternalip.com', port=443): Max retries exceeded with url: /raw (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSHTTPSConnection object at 0x7f3e323ea350>: Failed to establish a new connection: SOCKS5 proxy server sent invalid data'))


Sathan

-- coding: utf-8 --

import time
import os
import subprocess

try:
check_pip3 = subprocess.check_output('dpkg -s python3-pip', shell=True)
if str('install ok installed') in str(check_pip3):
pass
except subprocess.CalledProcessError:
print('[+] pip3 not installed')
subprocess.check_output('sudo apt update',shell=True)
subprocess.check_output('sudo apt install python3-pip -y', shell=True)
print('[!] pip3 installed succesfully')

try:

import requests

except Exception:
print('[+] python3 requests is not installed')
os.system('pip3 install requests')
os.system('pip3 install requests[socks]')
print('[!] python3 requests is installed ')
try:

check_tor = subprocess.check_output('which tor', shell=True)

except subprocess.CalledProcessError:

print('[+] tor is not installed !')
subprocess.check_output('sudo apt update',shell=True)
subprocess.check_output('sudo apt install tor -y',shell=True)
print('[!] tor is installed succesfully ')

os.system("clear")
def ma_ip():
url='https://www.myexternalip.com/raw'
get_ip= requests.get(url,proxies=dict(http='socks5://127.0.0.1:9050',https='socks5://127.0.0.1:9050'))
return get_ip.text

def change():
os.system("service tor reload")
print ('[+] Your IP has been Changed to : '+str(ma_ip()))

print('''\033[1;32;40m \n
_ _______
/\ | | |__ |
/ \ _ | | ___ | | ___ _ __
/ /\ | | | | / _ \ | |/ _ | '|
/ ____ \ || | || () | | | () | |
/
/ __,|___
/ ||___/||
V 2.1
from mrFD
''')
print("\033[1;40;31m http://facebook.com/ninja.hackerz.kurdish/\n")

os.system("service tor start")

time.sleep(3)
print("\033[1;32;40m change your SOCKES to 127.0.0.1:9050 \n")
os.system("service tor start")
x = input("[+] time to change Ip in Sec [type=60] >> ")
lin = input("[+] how many time do you want to change your ip [type=1000]for infinte ip change type [0] >>")
if int(lin) ==int(0):

while True:
	try:
		time.sleep(int(x))
		change()
	except KeyboardInterrupt:

	 	print('\nauto tor is closed ')
	 	quit()

else:
for i in range(int(lin)):
time.sleep(int(x))
change()

error to change IP

hi bro. i have problem to change the ip adress:
time to change Ip in Sec [type=60] >> 1 how many time do you want to change your ip [type=1000]for infinte ip change type [0] >>0 <<<<<<<<<<<<<<<<Your IP has been Changed>>>>>>>>>>>>>>>>> 185.220.101.5 <<<<<<<<<<<<<<<<Your IP has been Changed>>>>>>>>>>>>>>>>> 185.220.101.5 <<<<<<<<<<<<<<<<Your IP has been Changed>>>>>>>>>>>>>>>>> 185.220.101.5 <<<<<<<<<<<<<<<<Your IP has been Changed>>>>>>>>>>>>>>>>> 185.220.101.5 <<<<<<<<<<<<<<<<Your IP has been Changed>>>>>>>>>>>>>>>>> 185.220.101.5 <<<<<<<<<<<<<<<<Your IP has been Changed>>>>>>>>>>>>>>>>> 185.220.101.5 <<<<<<<<<<<<<<<<Your IP has been Changed>>>>>>>>>>>>>>>>> 185.220.101.5 <<<<<<<<<<<<<<<<Your IP has been Changed>>>>>>>>>>>>>>>>> 185.220.101.5 <<<<<<<<<<<<<<<<Your IP has been Changed>>>>>>>>>>>>>>>>> 185.220.101.5 <<<<<<<<<<<<<<<<Your IP has been Changed>>>>>>>>>>>>>>>>> 185.220.101.5 <<<<<<<<<<<<<<<<Your IP has been Changed>>>>>>>>>>>>>>>>> 185.220.101.5 <<<<<<<<<<<<<<<<Your IP has been Changed>>>>>>>>>>>>>>>>> 185.220.101.5 <<<<<<<<<<<<<<<<Your IP has been Changed>>>>>>>>>>>>>>>>> 185.220.101.5 <<<<<<<<<<<<<<<<Your IP has been Changed>>>>>>>>>>>>>>>>> 185.220.101.5 <<<<<<<<<<<<<<<<Your IP has been Changed>>>>>>>>>>>>>>>>> 185.220.101.5 but my ip adress cannot changing... why?

error occure in change new ip address

+] Your IP has been Changed to :

<title>403 Forbidden</title>

Error: Forbidden

Your client does not have permission to get URL /raw from this server.

[+] Your IP has been Changed to :

<title>403 Forbidden</title>

Error: Forbidden

Your client does not have permission to get URL /raw from this server.

how to solve this error

unable to use aut

I have installed python and did all the steps still it shows command not found and pip3 not installed
Screenshot_20240214_230206

403 Forbidden Error

[+] Your IP has been Changed to :

<title>403 Forbidden</title>

Error: Forbidden

Your client does not have permission to get URL /raw from this server.

Error: Forbidden

change your SOCKES to 127.0.0.1:9050

[+] time to change Ip in Sec [type=60] >> 5
[+] how many time do you want to change your ip [type=1000]for infinte ip change type [0] >>10
[+] Your IP has been Changed to :

<title>403 Forbidden</title>

Error: Forbidden

Your client does not have permission to get URL /raw from this server.

^CTraceback (most recent call last):
File "/usr/share/aut/autoTOR.py", line 85, in
time.sleep(int(x))
KeyboardInterrupt

Windows 10?

Is it possible to use this on Windows 10, if not is any other Tor ip changers I could use for Windows 10?

Thanks.

no internet connection

thanks for the tool it working with me but after i adjust the proxy to 127.0.0.1:9050 in kali and in browser i get no internet connection

can you help please

requests is not defined

 http://facebook.com/ninja.hackerz.kurdish/

[ ok ] Starting tor daemon...done.
 change your  SOCKES to 127.0.0.1:9050

[ ok ] Starting tor daemon...done (already running).
[+] time to change Ip in Sec [type=60] >> 30
[+] how many time do you want to change your ip [type=1000]for infinte ip change type [0] >>0
[ ok ] Reloading tor daemon configuration...done.
Traceback (most recent call last):
  File "/usr/share/aut/autoTOR.py", line 77, in <module>
    change()
  File "/usr/share/aut/autoTOR.py", line 48, in change
    print ('[+] Your IP has been Changed to : '+str(ma_ip()))
  File "/usr/share/aut/autoTOR.py", line 43, in ma_ip
    get_ip= requests.get(url,proxies=dict(http='socks5://127.0.0.1:9050',https='socks5://127.0.0.1:9050'))
NameError: name 'requests' is not defined

My AUTO IP Changer flagging error after changing of the first IP

When I started the
--"python3 autoTOR3.py" in the terminal, this is what I received
"""""
*if you dont have tor . then you must install tor (sudo apt-get install tor , sudo apt-get install privoxy)

Failed to start tor.service: Unit tor.service is masked.
change your SOCKES to 127.0.0.1:9050

Failed to start tor.service: Unit tor.service is masked.
time to change Ip in Sec [type=60] >> """"""
then I specified the number of seconds it will take to change and the number of times I want it to change.
After it successfully changed the first IP, this is what I briefly received in return

"""""
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/socks.py", line 832, in connect
super(socksocket, self).connect(proxy_addr)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:
"""""
Any Help Guys, Because I have the TOR browser and the privoxy intalled already in the 2020 kali

not working

In the name of God
hello, your tool gives me an error. I don't know if my internet is weak or if it's really like this for everyone

tor browser already has an option to change IP

why do these low effort repos of yours get so many stars? also why are you assuming people use debian/apt, let them install the dependencies manually, they're not going to use this if they don't have tor

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.