Kali或其它主机要跟Metasploitable2在同一个网断,要么都用桥接,要么都用NAT, 用VM打开Metasploitable2虚拟机, 登陆用户名/密码:msfadmin/ msfadmin,但权限较低,可激活root。