
Générateur de bruit de trafic internet DNS et HTTP/S aléatoire simple
Un simple script Python qui génère un bruit de trafic HTTP/DNS aléatoire en arrière-plan pendant que vous naviguez normalement, afin de rendre vos données de trafic web moins exploitables pour la vente et d'ajouter une couche d'obscurité supplémentaire.
Testé sur MacOS High Sierra, Ubuntu 16.04 et Raspbian Stretch, et compatible avec Python 2.7 et 3.6.
Ces instructions vous permettront d'obtenir une copie du projet et de l'exécuter sur votre machine locale.
Installez requests si ce n'est pas déjà fait, en utilisant pip :
pip install requests
Clonez le dépôt
git clone https://github.com/1tayH/noisy.git
Naviguez dans le répertoire noisy
cd noisy
Exécutez le script
python noisy.py --config config.json
Le programme accepte plusieurs arguments en ligne de commande :
$ python noisy.py --help
usage: noisy.py [-h] [--log -l] --config -c [--timeout -t]
optional arguments:
-h, --help show this help message and exit
--log -l logging level
--config -c config file
--timeout -t for how long the crawler should be running, in seconds
seul l'argument du fichier de configuration est obligatoire.
$ docker run -it noisy --config config.json --log debug
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 4chan.org:80
DEBUG:urllib3.connectionpool:http://4chan.org:80 "GET / HTTP/1.1" 301 None
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): www.4chan.org:80
DEBUG:urllib3.connectionpool:http://www.4chan.org:80 "GET / HTTP/1.1" 200 None
DEBUG:root:found 92 links
INFO:root:Visiting http://boards.4chan.org/s4s/
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): boards.4chan.org:80
DEBUG:urllib3.connectionpool:http://boards.4chan.org:80 "GET /s4s/ HTTP/1.1" 200 None
INFO:root:Visiting http://boards.4chan.org/s4s/thread/6850193#p6850345
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): boards.4chan.org:80
DEBUG:urllib3.connectionpool:http://boards.4chan.org:80 "GET /s4s/thread/6850193 HTTP/1.1" 200 None
INFO:root:Visiting http://boards.4chan.org/o/
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): boards.4chan.org:80
DEBUG:urllib3.connectionpool:http://boards.4chan.org:80 "GET /o/ HTTP/1.1" 200 None
DEBUG:root:Hit a dead end, moving to the next root URL
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): www.reddit.com:443
DEBUG:urllib3.connectionpool:https://www.reddit.com:443 "GET / HTTP/1.1" 200 None
DEBUG:root:found 237 links
INFO:root:Visiting https://www.reddit.com/user/Saditon
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): www.reddit.com:443
DEBUG:urllib3.connectionpool:https://www.reddit.com:443 "GET /user/Saditon HTTP/1.1" 200 None
...
docker build -t noisy .
Ou si vous souhaitez la construire pour un Raspberry Pi (sous Raspbian stretch) :
docker build -f Dockerfile.pi -t noisy .
docker run -it noisy --config config.json
Des exemples de cas particuliers sont disponibles dans le dossier examples. Vous pouvez en lire plus ici : examples/README.md.
Voir aussi la liste des contributeurs qui ont participé à ce projet.
Ce projet est sous licence GNU GPLv3 - voir le fichier LICENSE.md pour plus de détails.
Ce projet a été inspiré par