-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAutoIP.py
More file actions
51 lines (50 loc) · 1.26 KB
/
AutoIP.py
File metadata and controls
51 lines (50 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import time
import colorama
import threading
import pygame
import sys
from tqdm import tqdm
from colorama import Fore, Back, Style
colorama.init()
os.system("clear")
os.system("toilet --metal R4D0X")
print(Style.BRIGHT + Fore.LIGHTCYAN_EX)
print("""
Bu araçla otomatik olarak IP Adres değiştirebilirsiniz, değeri saniye olarak girin.
""")
print(Fore.LIGHTRED_EX)
sure = input("IP Değişim Süre(saniye) : ")
os.system("clear")
os.system("anonsurf start")
os.system("clear")
print(Fore.LIGHTRED_EX)
print("Yeni IP Adres :")
print("-----------------------------")
os.system("curl icanhazip.com")
print(Fore.LIGHTRED_EX)
print("-----------------------------")
print(Style.RESET_ALL)
sure = int(sure)
k = input("Kapatmak için Q'ya basınız. ")
if( k == "q" ):
print("Kapatılıyor.")
os.system("anonsurf stop")
quit()
while True:
time.sleep(sure)
os.system("anonsurf restart")
os.system("clear")
print("Yeni IP Adres :")
print("-----------------------------")
os.system("curl icanhazip.com")
print("-----------------------------")
k = input("Kapatmak için Q'ya basınız. ")
if( k == "q" ):
os.system("clear")
print(Fore.LIGHTGREEN_EX)
print("Kapatılıyor...")
os.system("anonsurf stop")
quit()