From 14c24d56cc8edc3dd0a50c19abbcff67c5d2a6ff Mon Sep 17 00:00:00 2001 From: Dwight Spencer Date: Sun, 16 Feb 2025 21:11:09 -0600 Subject: [PATCH 1/6] Update autoTOR.py --- autoTOR.py | 99 +++++++++++++++--------------------------------------- 1 file changed, 28 insertions(+), 71 deletions(-) diff --git a/autoTOR.py b/autoTOR.py index 62182ea..7136498 100644 --- a/autoTOR.py +++ b/autoTOR.py @@ -1,82 +1,39 @@ # -*- 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") - + V 3.0 +from 2600 Hackers. We disarmed and anonymised your script that kept reporting back home at Aws. +''' - - -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" +import time 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 + import requests + from invoke import task -except ValueError: - print("Invalid input. Please enter a valid number.") +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) From 9a5ffae9714515b174dc574242576018978e7da8 Mon Sep 17 00:00:00 2001 From: Dwight Spencer Date: Sun, 16 Feb 2025 21:15:52 -0600 Subject: [PATCH 2/6] Update README.md --- README.md | 41 +++++++++++++---------------------------- 1 file changed, 13 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index 43c8008..798fdf8 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,17 @@ -# 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 : - -* : requirements: - - 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 - -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 +## Install +``` + sudo apt-get install tor torsocks + pipx install requests[socks] invoke +``` +## Run +``` +exec nohup invoke & +exec nohup torsocks firefox 2600.securedrop.tor.onion +``` ============ -http://facebook.com/ninja.hackerz.kurdish/ +http://reddit.com/r/2600 From 6badd28afd3f21a09b5a7cfaf4bcb0e60fa6ff37 Mon Sep 17 00:00:00 2001 From: Dwight Spencer Date: Sun, 16 Feb 2025 21:16:23 -0600 Subject: [PATCH 3/6] Rename autoTOR.py to tasks.py --- autoTOR.py => tasks.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename autoTOR.py => tasks.py (100%) diff --git a/autoTOR.py b/tasks.py similarity index 100% rename from autoTOR.py rename to tasks.py From ad3bcce6bab26d6ed4026172af3354ef3edc9cf9 Mon Sep 17 00:00:00 2001 From: Dwight Spencer Date: Sun, 16 Feb 2025 21:17:12 -0600 Subject: [PATCH 4/6] Delete install.py --- install.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 install.py 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') From 232afe7f93e0b7659b50d774e2cf8e31fe4326c1 Mon Sep 17 00:00:00 2001 From: Dwight Spencer Date: Sun, 16 Feb 2025 21:17:45 -0600 Subject: [PATCH 5/6] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 798fdf8..a5208ad 100644 --- a/README.md +++ b/README.md @@ -13,5 +13,8 @@ change your Ip Address automatically This tool based on tor project. exec nohup invoke & exec nohup torsocks firefox 2600.securedrop.tor.onion ``` + ============ + +With love from 2600 Hackers http://reddit.com/r/2600 From 042f901c04d792e51e5e341e1b581c06142adce5 Mon Sep 17 00:00:00 2001 From: Dwight Spencer Date: Sun, 16 Feb 2025 21:18:05 -0600 Subject: [PATCH 6/6] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a5208ad..95fd3c1 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,8 @@ exec nohup invoke & exec nohup torsocks firefox 2600.securedrop.tor.onion ``` -============ +--- With love from 2600 Hackers + http://reddit.com/r/2600