-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
usage.txt
24 lines (22 loc) · 1.22 KB
/
usage.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
1.setup.py :
# run setup.py with administrator permissions
--- python setup.py
* setup.py script will create a backup of hosts file and modify it making it
suitable for operation
2.main.py :
+----------------+------------------+-------------------------------------+
| option | arguments | action |
+----------------+------------------+-------------------------------------+
| -b/--block | domain name | blocking |
| -ub/--unblock | domain name | unblocking |
| -l/--list | none | list already blocked domains |
| -s/--search | domain name | find out if the domain is blocked |
| -h/--help | none | list all possible commands |
| -f/--file | file with | batch blocking of domains by files|
| | domains list | |
+----------------+------------------+-------------------------------------+
# launch the python console in administrator mode
--- python main.py -b www.instagram.com
* this will block instagram website
--- python main.py -ub www.instagram.com
* this will unblock instagram website