Skip to content

Completely disable specific services within a running python application.

License

Notifications You must be signed in to change notification settings

Capsize-Games/darklock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Darklock

Completely disable the internet and other services, only allowing whitelists through.


img.png

Upload Python Package


Installation

pip install darklock

Usage

Import into your application at the top of the main entry file (e.g. main.py).

Install the darklock for the service you want to restrict.

import darklock

darklock.network.install()
darklock.os.install()

Uninstall the darklock for the service you no longer want to restrict.

import darklock

darklock.network.uninstall()
darklock.os.uninstall()

Testing

python -m unittest discover -s tests

About

Completely disable specific services within a running python application.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages