NSX-Threat-Analysis-Unit / CVEX

CVEX is a framework for the reproducible exploitation of CVE vulnerabilities
0 stars 0 forks source link

Windows VM doesn't always pick up the static IP address #13

Closed olegbck closed 2 months ago

olegbck commented 2 months ago

Even though CVEX sets up a static IP address in the Vagrantfile this way:

config.vm.network "private_network", ip: "192.168.56.2"

Sometimes Windows changes the IP address to some other address, e.g.:

Ethernet adapter Ethernet 2:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::36d8:5510:802f:bbda%2
   IPv4 Address. . . . . . . . . . . : 192.168.56.111
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :

Please find out what the issue is and fix it.

olegbck commented 2 months ago

Fixed: https://github.com/NSX-Threat-Analysis-Unit/CVEX/commit/cddf92b9e7830ce89119f11ee646eb675841c56f