tangjiajia9 / malwarecookbook

Automatically exported from code.google.com/p/malwarecookbook
0 stars 0 forks source link

vmauto.py incompatible with virtualbox 4.x #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
...
> [INFO]  Using MAL1 (uuid: 959271cf-28fd-4ad1-8f34-d696e5a8ffec)
> [INFO]  Session state: Locked
> [INFO]  Machine state: Running
> 'unicode' object has no attribute 'lockMachine'
> ...
>
> This happens at:
>
> vm.stop() in myvbox.py
>
> and this basically boils down to failing at this spot:
>
>     def opensession(self):
>
>         *session = self.ctx['global'].openMachineSession(self.mach.id)*
>
>         mach = session.machine
>
>         return (session, mach)

Original issue reported on code.google.com by michael.hale@gmail.com on 22 Jun 2011 at 2:17

GoogleCodeExporter commented 8 years ago
Looks like they changed something in the API regarding sessions and locking
of the machines:

http://download.virtualbox.org/virtualbox/SDKRef.pdf

In the section:

*12 Main API change log*

Original comment by michael.hale@gmail.com on 22 Jun 2011 at 2:17