HackMyVm部分Windows系统的靶机,如DC02、DC03导入 VirtualBox时会报错,报错信息如下:
Failed to load the NVRAM store from the file (VERR_PATH_NOT_FOUND).
Can't attach Nvram Storage driver (VERR_PATH_NOT_FOUND).
返回 代码:
E_FAIL (0x80004005)
组件:
ConsoleWrap
界面:
IConsole {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8}
解决方法:
第一步,将DC02.ova改名为DC02.rar,然后解压,解压后的文件夹里有3个文件:
第二步,修改DC02.ovf,将出错的NVRAM
那一行删除:
第三步,修改DC02.mf中的SHAR256值,修改为新的DC02.ovf的SHA256值。
在Windows下,可以使用powershell的命令,也可以使用在线网站进行计算。
PS E:\VPCs\DC02> Get-FileHash -Path .\DC02.ovf -Algorithm SHA256
Algorithm Hash Path
--------- ---- ----
SHA256 A11BC314F11D06C2CC50C844BA07E48F7FEE9BCD9E4A30DE8D9BBD5DD89D63CE E:\VPCs\DC02\DC02...
第四步,用VirtualBox直接导入修改后的DC02.ovf,不用再将几个文件打包成ova文件,既可正常运行
└─$ sudo arp-scan --interface eth1 192.168.56.0/24
[sudo] password for kali:
Interface: eth1, type: EN10MB, MAC: 08:00:27:16:a2:49, IPv4: 192.168.56.101
WARNING: Cannot open MAC/Vendor file ieee-oui.txt: Permission denied
WARNING: Cannot open MAC/Vendor file mac-vendor.txt: Permission denied
Starting arp-scan 1.10.0 with 256 hosts (https://github.com/royhills/arp-scan)
192.168.56.1 0a:00:27:00:00:05 (Unknown: locally administered)
192.168.56.100 08:00:27:7e:47:6f (Unknown)
192.168.56.126 08:00:27:94:a9:e0 (Unknown)
DC03亦可同此修改。