CheckPointSW / InviZzzible

InviZzzible is a tool for assessment of your virtual environments in an easy and reliable way. It contains the most recent and up to date detection and evasion techniques as well as fixes for them.
GNU General Public License v3.0
536 stars 79 forks source link

Compiling #12

Closed SlenderSolo closed 2 years ago

SlenderSolo commented 3 years ago

Hi, I am having trouble compiling SandboxEvasion, every time I get the error

MSB3073 The command "python gen_default_data.py def_data.conf
:VCEnd" exited with code 1. SandboxEvasion C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 123

I opened gen_default_data.py and VS Code showed me that there are 5 problems with brackets in print function, I added them, tried to compile again but I got the same error. I ran python gen_default_data.py def_data.conf with a terminal and got output

Traceback (most recent call last):
  File "C:\InviZzzible\SandboxEvasion\gen_default_data.py", line 97, in <module>
    main()
  File "C:\InviZzzible\SandboxEvasion\gen_default_data.py", line 92, in main
    If not create_includes(conf):
  File "C:\InviZzzible\SandboxEvasion\gen_default_data.py", line 61, in create_includes
    cuckoo_file = "static const char *cuckoo_conf = \"%s\";" % escape_file_data(cuckoo_d)
  File "C:\InviZzzible\SandboxEvasion\gen_default_data.py", line 18, in escape_file_data
    data = data.replace("\\\", "\\\\")
TypeError: a bytes-like object is required, not 'str'

I am using Python 3.9.5(added Path), VS Comunity 2019 16.10.0 with Universal Windows Platform development and Desktop Development with C++

Can you help me compile SandboxEvasion?

chkp-alexanderc commented 3 years ago

Hi,

Our Python code in this repo is still Python 2 code, so this is most probably the issue here. The migration to Python 3 is planned, however it is pretty trivial to fix yourself. Pull requests are welcome!

chkp-alexanderc commented 2 years ago

Fixed in #15.