Automates OpenVAS scans with features like profile selection, report generation, and error handling. OpenVAS is an open-source vulnerability scanner.
Set these in the script:
USER
,PASS
: OpenVAS authentication.HOST
,PORT
: OpenVAS server details.SCAN_PROFILES
,REPORT_FORMATS
: Predefined scan profiles and report formats.DEFAULT_SCAN_PROFILE
,DEFAULT_REPORT_FORMAT
: Defaults if user doesn't select.ALIVE_TEST
: Method for target availability.
chmod +x openvas-automate.sh
./openvas-automate.sh <target_host>
- Follow prompts for scan profile and report format.
- Monitor and get report file on completion.
- Ensure OpenVAS server configuration and
omp
tool availability. - Scan duration depends on scan size/complexity.
- Script cleans up on abortion or error.
MIT