mirror of
https://github.com/0x5t4l1n/NexTOR_IP_CHANGER.git
synced 2026-05-26 11:51:55 +00:00
Add files via upload
This commit is contained in:
@@ -0,0 +1,82 @@
|
|||||||
|
# -*- 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('[!] Nex 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
|
||||||
|
____ _
|
||||||
|
/___|| |_ __ _ _ __ __ _
|
||||||
|
\___ \| __/ _` | '_ \ / _` |
|
||||||
|
___) | || (_| | | | | (_| |
|
||||||
|
|____/ \__\__,_|_| |_|\__,_|
|
||||||
|
1.0
|
||||||
|
|
||||||
|
''')
|
||||||
|
print("\033[1;40;31m https:github.com/Stalin-143\n")
|
||||||
|
print("Nexulen")
|
||||||
|
|
||||||
|
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("[+] Set Time to change Ip in Sec [type=60] >> ")
|
||||||
|
lin = input("[+] How many times do you want to change your IP? enter 0 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))
|
||||||
|
change()
|
||||||
|
except KeyboardInterrupt:
|
||||||
|
print('\n IP changer is closed.')
|
||||||
|
break
|
||||||
|
else:
|
||||||
|
for _ in range(lin):
|
||||||
|
time.sleep(int(x))
|
||||||
|
change()
|
||||||
|
|
||||||
|
except ValueError:
|
||||||
|
print("Invalid input. Please enter a valid number.")
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# Nex_Tor_IP_changer V 1.0
|
||||||
|
change your Ip Address automatically This tool based on tor project
|
||||||
|
|
||||||
|
|
||||||
|
How to install this tools :
|
||||||
|
|
||||||
|
* : requirements:
|
||||||
|
|
||||||
|
sudo apt install tor
|
||||||
|
pip3 install requests[socks]
|
||||||
|
or just run NexTor it will install everything
|
||||||
|
|
||||||
|
1: git clone https://github.com/FDX100/Auto_Tor_IP_changer.git
|
||||||
|
|
||||||
|
2 : cd Nex_Tor_IP_changer
|
||||||
|
|
||||||
|
3 : python3 install.py
|
||||||
|
|
||||||
|
4 : interminal type ( Nex ) 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 : Completed Bash...
|
||||||
|
|
||||||
|
============
|
||||||
|
http://facebook.com/ninja.hackerz.kurdish/
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
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 NexTOR.py')
|
||||||
|
run('mkdir /usr/share/Nex')
|
||||||
|
run('cp NexTOR.py /usr/share/Nex/NexTOR.py')
|
||||||
|
|
||||||
|
cmnd=(' #! /bin/sh \n exec python3 /usr/share/Nex/NexTOR.py "$@"')
|
||||||
|
with open('/usr/bin/Nex','w')as file:
|
||||||
|
file.write(cmnd)
|
||||||
|
run('chmod +x /usr/bin/Nex & chmod +x /usr/share/Nex/NexTOR.py')
|
||||||
|
print('''\n\ncongratulation Nex Tor Ip Changer is installed successfully \nfrom now just type \x1b[6;30;42mNex\x1b[0m in terminal ''')
|
||||||
|
if str(choice)=='N' or str(choice)=='n':
|
||||||
|
run('rm -r /usr/share/Nex ')
|
||||||
|
run('rm /usr/bin/Nex ')
|
||||||
|
print('[!] now Nex Tor Ip changer has been removed successfully')
|
||||||
Reference in New Issue
Block a user