hatching / vmcloak

Automated Virtual Machine Generation and Cloaking for Cuckoo Sandbox.
484 stars 121 forks source link

vmcloak snapshot error...IDE #182

Open NedXD23 opened 3 years ago

NedXD23 commented 3 years ago

vmcloak snapshot --count 4 win7x64cuckoo 192.168.56.101 VBoxManage: error: Storage controller named 'IDE' already exists VBoxManage: error: Details: code VBOX_E_OBJECT_IN_USE (0x80bb000c), component SessionMachine, interface IMachine, callee nsISupports VBoxManage: error: Context: "AddStorageController(Bstr(pszCtl).raw(), StorageBus_IDE, ctl.asOutParam())" at line 1072 of file VBoxManageStorageController.cpp ERROR:vmcloak.vm:[-] Error running command: Command '['/usr/bin/VBoxManage', 'storagectl', u'192.168.56.1011', '--add', 'ide', '--name', 'IDE']' returned non-zero exit status 1 Traceback (most recent call last): File "/usr/local/bin/vmcloak", line 11, in load_entry_point('VMCloak', 'console_scripts', 'vmcloak')() File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 716, in call return self.main(args, kwargs) File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 696, in main rv = self.invoke(ctx) File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1060, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 889, in invoke return ctx.invoke(self.callback, ctx.params) File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 534, in invoke return callback(args, **kwargs) File "/home/cuckoo/.local/lib/python2.7/site-packages/vmcloak/main.py", line 584, in snapshot vrde, vrde_port, interactive File "/home/cuckoo/.local/lib/python2.7/site-packages/vmcloak/main.py", line 480, in do_snapshot m, h = initvm(image, name=vmname, multi=True, ramsize=ramsize, cpus=cpus) File "/home/cuckoo/.local/lib/python2.7/site-packages/vmcloak/main.py", line 63, in initvm m.attach_hd(image.path, multi=multi) File "/home/cuckoo/.local/lib/python2.7/site-packages/vmcloak/vm.py", line 112, in attach_hd self._call("storagectl", self.name, name="IDE", add="ide") File "/home/cuckoo/.local/lib/python2.7/site-packages/vmcloak/vm.py", line 41, in _call raise CommandError vmcloak.exceptions.CommandError