Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- # Filename: kill_ms_spyware_host_connections.py
- # Version: 1.00
- # Author: Jeoi Reqi
- """
- A Tool to Prevent Microsoft Spyware from Sending & Selling Your Data to Malicious Data Harvesters & Government Entities:
- This script aims to enhance user privacy and security within the Windows environment.
- It achieves this by preventing Microsoft Windows from establishing connections to data mining hosts associated with organizations such as the NSA and the CCP, which are known for selling user data.
- These hosts are considered malicious data harvesters due to their intrusive practices.
- By appending specific IP data to the 'hosts' file located in 'C:/Windows/System32/drivers/etc', the script effectively blocks Windows from communicating with these malicious hosts.
- This action mitigates the risk of unauthorized data collection and surveillance.
- As a result, users are empowered to maintain control over their online activities and personal information, ensuring transparency and ethical use of data.
- Ensure that you have administrative privileges to execute the script and that you've backed up your hosts file before running it to prevent any unintended consequences.
- Important Notes:
- - The script requires elevated permissions to modify system files and must be executed manually from the terminal with administrative privileges.
- - Before executing the script, please ensure that you have backed up your hosts file to avoid any unintended consequences.
- - To execute the script, open Command Prompt as administrator
- (right-click 'CMD' to run as administrator).
- - Navigate to the script's directory using the command:
- 'cd C:/path/to/your/script'.
- - Execute the script with the command:
- 'python kill_ms_spyware_host_connections.py'.
- Usage:
- - From the Start menu, choose "Command Prompt (Admin)" or right-click your favorite editor OR cmd & select "Run as administrator".
- (This will launch Command Prompt with administrative privileges.)
- - Navigate to the script's directory using the command 'cd C:/Windows/System32/drivers/etc'.
- - Execute the script with the command 'python kill_ms_spyware_host_connections.py'.
- """
- def append_to_hosts_file(data):
- try:
- with open('C:/Windows/System32/drivers/etc/hosts', 'a') as hosts_file:
- hosts_file.write(data)
- print("\nData appended successfully to hosts file.\n")
- except Exception as e:
- print("An error occurred:", str(e))
- # Data to append to hosts file (YOU MUST HAVE ADMINISTRATIVE PERMISSIONS)
- data_to_append = """
- # Malicious Data Havester Addresses Microsoft Sends Your Data & Grants Perminent Scraping:
- 127.0.0.1 localhost
- ::1 localhost
- 127.0.0.1 data.microsoft.com
- 127.0.0.1 msftconnecttest.com
- 127.0.0.1 azureedge.net
- 127.0.0.1 activity.windows.com
- 127.0.0.1 bingapis.com
- 127.0.0.1 msedge.net
- 127.0.0.1 assets.msn.com
- 127.0.0.1 scorecardresearch.com
- 127.0.0.1 edge.microsoft.com
- 127.0.0.1 data.msn.com
- """
- # Append data to hosts file
- append_to_hosts_file(data_to_append)
- # Congratulations!
- print("\nMICROSOFT SPYWARE IP ADDRESSES HAVE BEEN BLACKLISTED IN HOSTS SUCCESSFULLY!\n\nYOUR DATA IS NO LONGER BEING HARVESTED!\n")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement