
평소 웹 브라우징을 하는 동안 백그라운드에서 무작위 HTTP/DNS 트래픽 노이즈를 생성하여 웹 트래픽 데이터의 판매 가치를 낮추고 추가적인 난독성을 제공하는 간단한 파이썬 스크립트입니다.
MacOS High Sierra, Ubuntu 16.04, Raspbian Stretch에서 테스트되었으며 Python 2.7 및 3.6 모두와 호환됩니다.
이 지침은 로컬 머신에서 프로젝트 사본을 실행할 수 있도록 안내합니다.
requests가 아직 설치되지 않은 경우 pip를 사용하여 설치하세요:
pip install requests
저장소를 클론하세요
git clone https://github.com/1tayH/noisy.git
noisy 디렉토리로 이동하세요
cd noisy
스크립트를 실행하세요
python noisy.py --config config.json
프로그램은 여러 명령줄 인수를 받을 수 있습니다:
$ 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
config 파일 인수만 필수입니다.
$ 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 .
또는 Raspberry Pi(Raspbian stretch 실행)용으로 빌드하려면:
docker build -f Dockerfile.pi -t noisy .
docker run -it noisy --config config.json
몇 가지 엣지 케이스 예제가 examples 폴더에 있습니다. 자세한 내용은 examples/README.md에서 확인할 수 있습니다.
이 프로젝트에 참여한 기여자 목록도 확인하세요.
이 프로젝트는 GNU GPLv3 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 LICENSE.md 파일을 참조하세요.
이 프로젝트는 다음에서 영감을 받았습니다: