Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Using openvas in metasploit

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

First, load the OpenVAS plug-in

Msf > load openvas

2. Connect OpenVAS

Msf > openvas_connect

[*] Usage:

[*] openvas_connect username password host port

Msf > openvas_connect admin admin 10.0.0.1 9390 ok

Third, set the scanning target, which assumes 10.0.0.1

Msf > openvas_target_create router 10.0.0.1 msf

4. Select scanning strategy

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

Fifth, establish scanning tasks and select corresponding scanning strategies.

Msf > openvas_task_create

[*] Usage: openvas_task_create

Msf > openvas_task_create router "router commnent scan" 0 2

6. Perform scanning tasks

Msf > openvas_task_start

[*] Usage: openvas_task_start

Msf > openvas_task_start 2

Check the progress of the task

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

Download the scan report

Msf > openvas_report_list / / find the scan report ID that needs to be downloaded

Msf > openvas_format_list// lists the scan report formats available for download

Msf > openvas_report_download

[*] Usage: openvas_report_download

Msf > openvas_report_download 2 1 / root router_scan_report.html

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report