
مولّد ضوضاء عشوائي بسيط لحركة مرور الإنترنت عبر DNS وHTTP/S
برنامج بسيط بلغة Python يُولّد ضوضاء عشوائية لحركة مرور 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
وسيط ملف الإعدادات فقط هو المطلوب.
$ 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 للتفاصيل
هذا المشروع مستوحى من