diff --git a/README.md b/README.md index 43c8008..95fd3c1 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,21 @@ -# Auto_Tor_IP_changer V 2.1 -change your Ip Address automatically This tool based on tor project +# Auto_Tor_IP_changer V 3.1 +change your Ip Address automatically This tool based on tor project. -how to install this tools : +## Install +``` + sudo apt-get install tor torsocks + pipx install requests[socks] invoke +``` -* : requirements: +## Run +``` +exec nohup invoke & +exec nohup torsocks firefox 2600.securedrop.tor.onion +``` - sudo apt-get install tor - pip3 install requests[socks] - or just run autoTor it will install everything +--- -1: git clone https://github.com/FDX100/Auto_Tor_IP_changer.git +With love from 2600 Hackers -2 : cd Auto_Tor_IP_changer - -3 : python3 install.py - -4 : interminal type ( aut ) any where you want - -5 : type time to change IP - -6: type how many time to change your ip - -*[0 to infinte IP change] - -6 : go to your browser / pc change sock proxy to 127.0.0.1:9050 - -7 : BOOOOOOMM - -============ -http://facebook.com/ninja.hackerz.kurdish/ +http://reddit.com/r/2600 diff --git a/autoTOR.py b/autoTOR.py deleted file mode 100644 index 62182ea..0000000 --- a/autoTOR.py +++ /dev/null @@ -1,82 +0,0 @@ -# -*- coding: utf-8 -*- - -import time -import os -import subprocess - - - - - - - -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='http://checkip.amazonaws.com' - 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 times do you want to change your IP? enter to infinite IP change] >> ") or "0" - -try: - lin = int(lin) - - if lin == 0: - print("Starting infinite IP change. Press Ctrl+C to stop.") - while True: - try: - time.sleep(int(x)) # Assuming 'x' is defined earlier in your code - change() # Assuming 'change()' is defined elsewhere - except KeyboardInterrupt: - print('\nAuto IP changer is closed.') - break - else: - for _ in range(lin): - time.sleep(int(x)) # Assuming 'x' is defined earlier in your code - change() # Assuming 'change()' is defined elsewhere - -except ValueError: - print("Invalid input. Please enter a valid number.") diff --git a/install.py b/install.py deleted file mode 100644 index e697d8f..0000000 --- a/install.py +++ /dev/null @@ -1,18 +0,0 @@ -import os -choice = input('[+] to install press (Y) to uninstall press (N) >> ') -run = os.system -if str(choice) =='Y' or str(choice)=='y': - - run('chmod 777 autoTOR.py') - run('mkdir /usr/share/aut') - run('cp autoTOR.py /usr/share/aut/autoTOR.py') - - cmnd=(' #! /bin/sh \n exec python3 /usr/share/aut/autoTOR.py "$@"') - with open('/usr/bin/aut','w')as file: - file.write(cmnd) - run('chmod +x /usr/bin/aut & chmod +x /usr/share/aut/autoTOR.py') - print('''\n\ncongratulation auto Tor Ip Changer is installed successfully \nfrom now just type \x1b[6;30;42maut\x1b[0m in terminal ''') -if str(choice)=='N' or str(choice)=='n': - run('rm -r /usr/share/aut ') - run('rm /usr/bin/aut ') - print('[!] now Auto Tor Ip changer has been removed successfully') diff --git a/tasks.py b/tasks.py new file mode 100644 index 0000000..7136498 --- /dev/null +++ b/tasks.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8 -*- +''' + _ _______ + /\ | | |__ __| + / \ _ _| |_ ___ | | ___ _ __ + / /\ \| | | | __/ _ \ | |/ _ \| '__| + / ____ \ |_| | || (_) | | | (_) | | + /_/ \_\__,_|\__\___/ |_|\___/|_| + V 3.0 +from 2600 Hackers. We disarmed and anonymised your script that kept reporting back home at Aws. +''' + +import time + +try: + import requests + from invoke import task + +except Exception: + print('[+] python3 requests[socks] and py-invoke is not installed') + +def changeIp(ctx, seconds): + try: + time.sleep(int(seconds)) + ctx.run(f'killall -HUP tor') + except KeyboardInterrupt: + break + +@task +def rotate(context, seconds=60, rotations=1): + "Change your IP address every nth seconds for total nth rotations" + for _ in range(rotations): + changeIp(ctx,seconds) + +@task(default=True) +def daemon(context, seconds=60): + "Change your IP address every nth seconds" + while True: + changeIp(context, seconds)