
Generatore semplice di rumore di traffico internet DNS e HTTP/S casuale
Un semplice script Python che genera rumore casuale nel traffico HTTP/DNS in background mentre navighi normalmente, per rendere i tuoi dati di traffico web meno preziosi per la vendita e per maggiore oscurità.
Testato su macOS High Sierra, Ubuntu 16.04 e Raspbian Stretch, compatibile con Python 2.7 e 3.6.
Queste istruzioni ti permetteranno di ottenere una copia del progetto e di eseguirla sulla tua macchina locale.
Installa requests se non lo hai già, usando pip:
pip install requests
Clona il repository:
git clone https://github.com/1tayH/noisy.git
Entra nella directory noisy:
cd noisy
Esegui lo script:
python noisy.py --config config.json
Il programma accetta alcuni argomenti da riga di comando:
$ 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
è richiesto solo il file di configurazione.
$ 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 .
Oppure se vuoi costruirla per un Raspberry Pi (con Raspbian stretch):
docker build -f Dockerfile.pi -t noisy .
docker run -it noisy --config config.json
Alcuni esempi di casi limite sono disponibili nella cartella examples. Puoi leggere di più in examples/README.md.
Vedi anche l'elenco dei contributori che hanno partecipato a questo progetto.
Questo progetto è concesso in licenza secondo i termini della GNU GPLv3 - consulta il file LICENSE.md per i dettagli.
Questo progetto è stato ispirato da