GithubHelp home page GithubHelp logo

Comments (9)

nsmfoo avatar nsmfoo commented on August 17, 2024

Hi, sorry for my late reply!

The error is generated because the script is unable to retrieve the BIOS release date.

If you are able, please paste the full output of: dmidecode.bios().values().

Just add a 'print v' below line 121

from antivmdetection.

nebriv avatar nebriv commented on August 17, 2024

Hey Mikael,

I'm having the same problem I think.

I added the following line:

+print dmidecode.bios().values()

try:
   for v in dmidecode.bios().values():

Which results in:

--- Generate VirtualBox templates to help thwart VM detection and more .. - Mikael, @nsmfoo ---
[*] Creating VirtualBox modifications ..
Traceback (most recent call last):
File "antivmdetect.py", line 39, in
print dmidecode.bios().values()
AttributeError: 'module' object has no attribute 'bios'

It looks like dmidecode is not picking up the BIOS information from the system?

test.py = dmidecode.profile()

/antivmdetection$ python test.py 
Dell Inc. OptiPlex 9020 (SN: DN****, UUID: 4C4C4544-****-****-****-*********)
Intel Core i5 3800 MHz (Core: 4, Thead: 4)
2 memory stick(s), 8192 MB in total

from antivmdetection.

nsmfoo avatar nsmfoo commented on August 17, 2024

@psylinux coming back to your issue. I might have an idea. But first are you able to run: dmidecode -t0 and give me the output?

from antivmdetection.

nsmfoo avatar nsmfoo commented on August 17, 2024

@nebriv Hi Ben!

#2 the issue do look similar?

It could be a python issue. If you run dmidecode -t0 from the command line. Do you seem any information?

Did you install python-dmidecode via apt or via pip (version?)?

Also if you can give me your OS/distribution version

from antivmdetection.

nebriv avatar nebriv commented on August 17, 2024

Yup! Looks very similar. I think I installed dmidecode through apt. I'm running Ubuntu 14.04 Desktop. I would suspect it's due to version differences? What version of dmidecode do you have working?

Heres the output from dmidecode -t0:

~$ sudo !!
sudo dmidecode -t0
# dmidecode 2.12
SMBIOS 2.7 present.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
	Vendor: Dell Inc.
	Version: A07
	Release Date: 04/25/2014
	Address: 0xF0000
	Runtime Size: 64 kB
	ROM Size: 12288 kB
	Characteristics:
		PCI is supported
		PNP is supported
		BIOS is upgradeable
		BIOS shadowing is allowed
		Boot from CD is supported
		Selectable boot is supported
		EDD is supported
		5.25"/1.2 MB floppy services are supported (int 13h)
		3.5"/720 kB floppy services are supported (int 13h)
		3.5"/2.88 MB floppy services are supported (int 13h)
		Print screen service is supported (int 5h)
		8042 keyboard services are supported (int 9h)
		Serial services are supported (int 14h)
		Printer services are supported (int 17h)
		ACPI is supported
		USB legacy is supported
		BIOS boot specification is supported
		Function key-initiated network boot is supported
		Targeted content distribution is supported
		UEFI is supported
	BIOS Revision: 4.6

from antivmdetection.

nsmfoo avatar nsmfoo commented on August 17, 2024

It does (normally) work with Ubuntu 14.04 and/or 16.04.

Which version of python-dmidecode do you have installed?

from antivmdetection.

nsmfoo avatar nsmfoo commented on August 17, 2024

@nebriv I installed an Ubuntu 14.04 Desktop on an old Dell machine and it works Using python-dmidecode 3.10.13-3, can you verify that you were using the same version?

from antivmdetection.

nebriv avatar nebriv commented on August 17, 2024

Got it figured out! Apparently I had accidentally installed it with pip (which uses version .08 or something absurd) AND apt... Completely removed it and installed it with apt and it works perfectly.

Thanks for your help!

from antivmdetection.

nsmfoo avatar nsmfoo commented on August 17, 2024

@nebriv great that you got it working! I will go a head and close this case. Please let me know if you have any other questions.

@psylinux as I think you had the same/similar issue, please try to do as @nebriv did. If that does not resolve the issue, please re-open this case

from antivmdetection.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.