Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 12.1.1.1/24 up up
GigabitEthernet0/0/1 13.1.1.1/24 up up
GigabitEthernet0/0/2 unassigned down down
LoopBack0 1.1.1.1/32 up up(s)
NULL0 unassigned up
四,宣告OSPF
Public routing table : OSPF
Destinations :8 Routes :8
OSPF routing table status :<Active>
Destinations :8 Routes :8
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.1/32 OSPF 103 D 45.1.1.1 GigabitEthernet
0/0/0
2.2.2.2/32 OSPF 102 D 45.1.1.1 GigabitEthernet
0/0/0
3.3.3.3/32 OSPF 102 D 45.1.1.1 GigabitEthernet
0/0/0
4.4.4.4/32 OSPF 101 D 45.1.1.1 GigabitEthernet
0/0/0
12.1.1.0/24 OSPF 103 D 45.1.1.1 GigabitEthernet
0/0/0
13.1.1.0/24 OSPF 103 D 45.1.1.1 GigabitEthernet
0/0/0
24.1.1.0/24 OSPF 102 D 45.1.1.1 GigabitEthernet
0/0/0
34.1.1.0/24 OSPF 102 D 45.1.1.1 GigabitEthernet
0/0/0
OSPF routing table status :<Inactive>
Destinations :0 Routes :0
五,抓取流量
[r3]ip ip-prefix yy per
[r3]ip ip-prefix yy permit 24.1.1.0 24[r3]rou
[r3]route-
[r3]route-policy aa per
[r3]route-policy aa permit nod
[r3]route-policy aa permit node20
Info: New Sequence of this List.
[r3-route-policy]if
[r3-route-policy]if-match ip[r3-route-policy]if-match ip-
[r3-route-policy]if-match ip-prefix yy
[r3-route-policy]apply c
[r3-route-policy]apply cos
[r3-route-policy]apply cost 1
六,测试
[r1]tracert 5.5.5.5
traceroute to 5.5.5.5(5.5.5.5), max hops: 30 ,packet length: 40,press CTRL_C t
o break113.1.1.2 20 ms 20 ms 10 ms
234.1.1.2 20 ms 24.1.1.2 20 ms 40 ms
345.1.1.2 20 ms 20 ms 30 ms
[r1]ping 5.5.5.5
PING 5.5.5.5: 56 data bytes, press CTRL_C to break
Reply from 5.5.5.5: bytes=56Sequence=1ttl=253time=30 ms
Reply from 5.5.5.5: bytes=56Sequence=2ttl=253time=30 ms
Reply from 5.5.5.5: bytes=56Sequence=3ttl=253time=20 ms
Reply from 5.5.5.5: bytes=56Sequence=4ttl=253time=30 ms
Reply from 5.5.5.5: bytes=56Sequence=5ttl=253time=40 ms
--- 5.5.5.5 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max =20/30/40 ms
● 根据信息收集结果搜索漏洞利用模块 ● 结合外部漏洞扫描系统对大IP地址段进行批量扫描 ● 误判率、漏判率
VNC密码破解
use auxiliary/scanner/vnc/vnc_login● VNC无密码访问
use auxiliary/scanner/vnc/vnc_none_authRDP远程桌面漏洞
use auxiliary/scanner/rdp/ms12_…