diff --git a/setup.py b/setup.py index d1db4fc..bd952a8 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name="facehuggershield", - version="0.1.2", + version="0.1.3", author="Capsize LLC", description="", long_description=open("README.md", "r", encoding="utf-8").read(), diff --git a/src/facehuggershield/facehugger.py b/src/facehuggershield/facehugger.py deleted file mode 100644 index e13f5da..0000000 --- a/src/facehuggershield/facehugger.py +++ /dev/null @@ -1,37 +0,0 @@ -from nullscream import install_nullscream, uninstall_nullscream -import darklock - - -class Facehugger: - def __init__( - self, - blacklist: list = None, - whitelist: list = None, - restrict_os_access: bool = False, - no_internet_socket: bool = False, - ): - self.blacklist = blacklist - self.whitelist = whitelist - self.restrict_os_access = restrict_os_access - self.no_internet_socket = no_internet_socket - - if blacklist or whitelist: - self.install_nullscream() - - def install_nullscream(self, blacklist=None, whitelist=None): - install_nullscream( - blacklist=self.blacklist, - whitelist=self.whitelist - ) - - def uninstall_nullscream(self, blacklist=None, whitelist=None): - uninstall_nullscream( - blacklist=[], - whitelist=[] - ) - - def lock_network(self): - darklock.network.activate() - - def unlock_network(self): - darklock.network.deactivate()