nsmfoo / antivmdetection

Script to create templates to use with VirtualBox to make vm detection harder
MIT License
703 stars 123 forks source link

NameError: name 'v' is not defined #48

Closed Mart1neZ closed 4 years ago

Mart1neZ commented 4 years ago

I get this error when running the script:

Traceback (most recent call last): File "antivmdetect.py", line 50, in dmi_info['DmiBIOSReleaseDate'] = "string:" + v['Relase Date'] NameError: name 'v' is not defined

nsmfoo commented 4 years ago

Hi @Mart1neZ

I think this is a good start /Mikael

nsmfoo commented 4 years ago

@Mart1neZ Did you get a chance to try the above?

roohat commented 4 years ago

Yeap, that's what you get when you don't specify version of library you depend in requirements.txt. Things will break when your library decided to push breaking changes.

import dmidecode

should changed to this:

from dmidecode import DMIDecode
dmidecode = DMIDecode()

I'll be soon open a pull request with this issue fixed once I finished testing it.