This is an test enviorment for measuring delay's for a school course.
python 2.7.12 (might work with lower).
- stem - python module for TOR (The onion routing).
- SocksiPy - python module for connection through a SOCKS proxy server
- Socks - part of SocksiPy
- Socket - This module provides access to the BSD socket interface.
- requests - Non-GMO HTTP libary for python
- time - module for accessing diffrent time on the computer (the computer clock for example)
- sys - to interact with the interpriter
- shutil - for high level file operations
- os - module for portably use operative system dependent functionality
- flask - for webdeveloping in python.
This is not a required application but I strongly suggest the use of pip for installing
sepertly installed imports.
Do not forget to set ControlPort and hasdedpassword in the torrc file (in my system its located in /etc/tor/torrc).
change directory into toCode, well in there do the following: open a terminal window and run:
sudo bash runScript.bash
then open an other terminal window and run:
tshark -i any -a duration:604910 -w packetCaptured.pcapng
This will take about one week to finish, so let it run.
Just because it uses tor doesn't garanti it's totaly anonymous, it also depends on implementation. because this is implmentated just for delay testing no anonymity is not garantied.
You may use the code as you see fit but this is done your own risk. Nothing is supported and no garanti is given.
Only one author: mejan [email protected].