Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 629 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 629 Bytes

Website Blocker Python

This is a simple website blocker project implemented in Python.

Getting started

    $-> git clone https://github.com/Kalebu/Website-blocker-python
    $-> cd Website-blocker-python
    $ Website-blocker-python ->

Host file location

hosts_file_linux = "/etc/hosts"
hosts_file_windows = r"C:\Windows\System32\drivers\etc\hosts"
default_hosts_file = hosts_file_linux 

the script will automaticaly detect your OS and will add the host records to the relevent location

Acknowledgement

Thanks kalebu for helping out.