-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtorify.py
More file actions
31 lines (28 loc) · 774 Bytes
/
torify.py
File metadata and controls
31 lines (28 loc) · 774 Bytes
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
import sys
from colorama import Fore,init
from mod.torify_linux import TorifyLinux
from mod.torify_win import TorifyWin
# initialize color
init()
if __name__ == "__main__":
platform = sys.platform.lower()
banner = f"""{Fore.BLUE}
___________ .__ _____
\__ ___/__________|__|/ ____\__.__.
| | / _ \_ __ \ \ __< | |
| |( <_> ) | \/ || | \___ |
|____| \____/|__| |__||__| / ____| ({platform})
\/
v1.1 - Security007
Auto Rotate TOR IP Address
{Fore.RESET}
"""
print(banner)
if platform == 'linux':
app = TorifyLinux()
elif 'win' in platform:
app = TorifyWin()
try:
app.run(times=int(sys.argv[1]))
except IndexError:
app.run()