Tor Warning
This Warning is from tor hompage, but most people ingore that, So in this page, I list it singly. Also, you can see this message from the blow link https://www.torproject.org/download/download
- Don't torrent over Tor
- Don't enable or install browser plugins
- Use HTTPS versions of websites
- Don't open documents downloaded through Tor while online
- Use bridges and/or find company
Use armcan has a monitor to view the data flow transfer in onion network. If you want have a new identify, In python, you can use code like this:
import time
import socket
import socks
import requests
from stem import Signal
from stem.control import Controller
controller = Controller.from_port(port=9051)
def connectTor():
socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS5 , "127.0.0.1", 9050, True)
socket.socket = socks.socksocket
def renew_tor():
controller.authenticate()
controller.signal(Signal.NEWNYM)
def showmyip():
r = requests.get('http://icanhazip.com/')
ip_address = r.text.strip()
print(ip_address)
for i in range(6*60*4):
renew_tor()
connectTor()
showmyip()
time.sleep(10) # this is the minium time to change the ip.
Above the code, you need install stem, pysocks.