hatching / vmcloak

Automated Virtual Machine Generation and Cloaking for Cuckoo Sandbox.
483 stars 120 forks source link

Default IP address for new VM is 192.168.56.100 #119

Open arnydo opened 7 years ago

arnydo commented 7 years ago

It appears that the IP addresses given to a new VM is 192.168.56.100.

When installing dep's via VMCLOAK it is waiting for "host 192.168.56.2".

I manually changed the IP and the install continued as expected.

Antyrael commented 4 years ago

I realize this is an old issue, but I encountered the same problem, so I wanted to share my solution anyway, just in case there are more people asking for a solution.

Install sqlite3, if you haven't already. Run sqlite3 .vmcloak/repository.db run select id,name,ipaddr from image;

Locate the id of the image you want to change the IP address from. Then run update image set ipaddr="192.168.56.100" where id=1;

that's it, when next you try to install deps, it will actually work.