Skip to content

Commit

Permalink
stable version
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederik Mees authored and Frederik Mees committed Jan 16, 2021
1 parent 890af83 commit 6ea53b0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions sandboxed/sandbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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:
Expand All @@ -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()
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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={},

Expand Down

0 comments on commit 6ea53b0

Please sign in to comment.