Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/giterlizzi/perl-net-openvas
Net::OpenVAS - Perl interface for OpenVAS - Open Vulnerability Assessment Scanner
https://github.com/giterlizzi/perl-net-openvas
hacktoberfest modern-perl openvas perl scanner vulnerability-assessment
Last synced: about 2 months ago
JSON representation
Net::OpenVAS - Perl interface for OpenVAS - Open Vulnerability Assessment Scanner
- Host: GitHub
- URL: https://github.com/giterlizzi/perl-net-openvas
- Owner: giterlizzi
- License: other
- Created: 2020-03-14T21:20:19.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-19T12:24:11.000Z (about 4 years ago)
- Last Synced: 2024-05-01T21:26:15.019Z (9 months ago)
- Topics: hacktoberfest, modern-perl, openvas, perl, scanner, vulnerability-assessment
- Language: Perl
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
[![Release](https://img.shields.io/github/release/giterlizzi/perl-Net-OpenVAS.svg)](https://github.com/giterlizzi/perl-Net-OpenVAS/releases) [![Build Status](https://travis-ci.org/giterlizzi/perl-Net-OpenVAS.svg)](https://travis-ci.org/giterlizzi/perl-Net-OpenVAS) [![License](https://img.shields.io/github/license/giterlizzi/perl-Net-OpenVAS.svg)](https://github.com/giterlizzi/perl-Net-OpenVAS) [![Starts](https://img.shields.io/github/stars/giterlizzi/perl-Net-OpenVAS.svg)](https://github.com/giterlizzi/perl-Net-OpenVAS) [![Forks](https://img.shields.io/github/forks/giterlizzi/perl-Net-OpenVAS.svg)](https://github.com/giterlizzi/perl-Net-OpenVAS) [![Issues](https://img.shields.io/github/issues/giterlizzi/perl-Net-OpenVAS.svg)](https://github.com/giterlizzi/perl-Net-OpenVAS/issues) [![Coverage Status](https://coveralls.io/repos/github/giterlizzi/perl-Net-OpenVAS/badge.svg)](https://coveralls.io/github/giterlizzi/perl-Net-OpenVAS)
# Net::OpenVAS - Perl interface to OpenVAS - Open Vulnerability Assessment Scanner
This module provides Perl scripts easy way to interface the OMP (OpenVAS Management Protocol) of OpenVAS.
For more information about the OPM follow the online documentation:
https://docs.greenbone.net/API/OMP/omp.html
## Synopsis
```.pl
use Net::OpenVAS;my $openvas = Net::OpenVAS->new(
host => 'localhost:9390',
username => 'admin',
password => 's3cr3t'
) or die "ERROR: $@";my $task = $openvas->create_task(
name => [ 'Scan created via Net::OpenVAS' ],
target => { id => 'a800d5c7-3493-4f73-8401-c42e5f2bfc9c' },
config => { id => 'daba56c8-73ec-11df-a475-002264764cea' }
);if ( $task->is_created ) {
my $task_id = $task->result->{id};
say "Created task $task_id";
my $task_start = $openvas->start_task( task_id => $task_id );
say "Task $task_id started (" . $task_start->status_text . ')' if ( $task_start->is_accepted );
}
if ( $openvas->error ) {
say "ERROR: " . $openvas->error;
}
```## Install
To install `Net::OpenVAS` distribution, run the following commands:
perl Makefile.PL
make
make test
make install## Copyright
- Copyright 2020 © Giuseppe Di Terlizzi