您好,登錄后才能下訂單哦!
一、首先要載入OpenVAS插件
msf > load openvas
二、連接上OpenVAS
msf > openvas_connect
[*] Usage:
[*] openvas_connect username password host port <ssl-confirm>
msf > openvas_connect admin admin 10.0.0.1 9390 ok
三、設置掃描目標,這里假設10.0.0.1
msf > openvas_target_create router 10.0.0.1 msf
四、選擇掃描策略
msf > openvas_config_list
[+] OpenVAS list of configs
ID Name
-- ----
0 Full and fast
1 Full and fast ultimate
2 Full and very deep
3 Full and very deep ultimate
4 empty
五、建立掃描任務并選擇相應掃描策略
msf > openvas_task_create
[*] Usage: openvas_task_create <name> <comment> <config_id> <target_id>
msf > openvas_task_create router "router commnent scan" 0 2
六、執行掃描任務
msf > openvas_task_start
[*] Usage: openvas_task_start <id>
msf > openvas_task_start 2
七、查看任務進度
msf > openvas_task_list
msf > openvas_task_list
[+] OpenVAS list of tasks
ID Name Comment Status Progress
-- ---- ------- ------ --------
0 unnamed Done -1
1 router router commnent scan Requested 1
八、下載掃描報告
msf > openvas_report_list //找到需要下載的掃描報告ID
msf > openvas_format_list//列出可供下載的掃描報告格式
msf > openvas_report_download
[*] Usage: openvas_report_download <report_id> <format_id> <path> <report_name>
msf > openvas_report_download 2 1 /root router_scan_report.html
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。