From 6ea53b01ef92ac2194f6f72ccc37552548660aae Mon Sep 17 00:00:00 2001 From: Frederik Mees Date: Sat, 16 Jan 2021 12:31:28 +0100 Subject: [PATCH] stable version --- sandboxed/sandbox.py | 9 ++++++--- setup.py | 6 +++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/sandboxed/sandbox.py b/sandboxed/sandbox.py index a74bc5d..b971d55 100644 --- a/sandboxed/sandbox.py +++ b/sandboxed/sandbox.py @@ -43,7 +43,8 @@ def is_sandboxed(self): return percentage / 100 def _check_file_system(self): - self._printout(10, "FILESYSTEM") + if self.logging: + self._printout(10, "FILESYSTEM") s1, d1, e1 = FileSystem.check_vm_registry_keys() s2, d2, e2 = FileSystem.check_vm_files() @@ -72,7 +73,8 @@ def _check_internet(self): we will printout the status after every call made. Looks like shitty code, is shtty code, but gives user a nicer quicker printout. ''' - self._printout(10, "INTERNET ACCESS") + if self.logging: + self._printout(10, "INTERNET ACCESS") s1, d1, e1 = InternetAccess.check_basic_ping() if self.logging: @@ -93,7 +95,8 @@ def _check_internet(self): return self._normalize([s1, s2, s3, s4]) def _check_specs(self): - self._printout(10, "SPECS OF THE SYSTEM") + if self.logging: + self._printout(10, "SPECS OF THE SYSTEM") s1, d1, e1 = Specs.check_hard_drive() s2, d2, e2 = Specs.check_ram_space() diff --git a/setup.py b/setup.py index 77b4946..01e029b 100644 --- a/setup.py +++ b/setup.py @@ -4,15 +4,15 @@ setup( name='sandboxed', # How you named your folder packages=['sandboxed'], # Chose the same as "name" - version='1.3', # Start with a small number and increase it with every change you make + version='2.0', # Start with a small number and increase it with every change you make license='MIT', # Chose a license from here: https://help.github.com/articles/licensing-a-repository description='Sandbox/Virtual Machine detection', # Give a short description about your library author='Frederik Mees', # Type in your name author_email='frederik.mees@gmail.com', # Type in your E-Mail url='https://github.com/frederikme/sandbox-evasion', # Provide either the link to your github or to your website - download_url='https://github.com/frederikme/sandbox-evasion/archive/1.3.tar.gz', # I explain this later on + download_url='https://github.com/frederikme/sandbox-evasion/archive/2.0.tar.gz', # I explain this later on keywords=['Sandbox', 'Virtual machine', 'Virtualbox', 'detection'], # Keywords that define your project best - install_requires=['psutil', 'requests', 'pypiwin32'], + install_requires=['psutil', 'requests', 'pypiwin32; platform_system == "Windows"'], package_data={},