Git Product home page Git Product logo

Comments (6)

TiborGalko avatar TiborGalko commented on July 28, 2024 1

Looks like bug in vm.py file. Because output from VBoxManage showvminfo can contain lines with no = character. Split will then fail. I tried to add if condition before key, value = line.split("=", 1) in home/cuckoo/lib/python2.7/site-packages/vmcloak/vm.py vminfo function: if("=" not in line): continue and it seems to work.

from vmcloak.

TiborGalko avatar TiborGalko commented on July 28, 2024 1

@j3nn13 Like this. Add continue after if. If there is no "=" in line, then skip it.

...
for line in lines.split("\n"):
    if ("=" not in line):
        continue
    key, value = line.split("=", 1)
...

from vmcloak.

Glacons avatar Glacons commented on July 28, 2024

I successfully implemented Cuckoo few months ago with vmcloak and now i try to reinstall it from scratch and got the same error. Currently using Virtualbox, i was using VMware workstation when it worked.

from vmcloak.

j3nn13 avatar j3nn13 commented on July 28, 2024

Looks like bug in vm.py file. Because output from VBoxManage showvminfo can contain lines with no = character. Split will then fail. I tried to add if condition before key, value = line.split("=", 1) in home/cuckoo/lib/python2.7/site-packages/vmcloak/vm.py vminfo function: if("=" not in line): continue and it seems to work.

Hi can you do a video demo :(( i struggle with this bugs for days..

from vmcloak.

j3nn13 avatar j3nn13 commented on July 28, 2024

I fixed like u said but it still give an error :(

image
image

from vmcloak.

GVATech avatar GVATech commented on July 28, 2024

Had the same issue, Tried the additional IF statement and vmcloak worked correctly. Thanks @TiborGalko

from vmcloak.

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.