File: README.md

package info (click to toggle)
libnet-cve-perl 0.009-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 168 kB
  • sloc: perl: 504; makefile: 15
file content (58 lines) | stat: -rw-r--r-- 1,207 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
## Net::CVE

Fetch CVE (Common Vulnerabilities and Exposures) information from cve.org

```perl
 use Net::CVE;

 my $cr = Net::CVE->new ();

 $cr->get ("CVE-2022-12345");
 my $full_report = $cr->data;
 my $summary     = $cr->summary;

 use Data::Peek;
 DDumper $cr->summary ("CVE-2022-12345");
```

### Prerequisites

perl version 5.14.2 and up. Very well possible, you will be able to use this
with a previous version, but that is not officially supported.

Network access: the default operation mode is to fetch reports directly from
[the CVE database](https://cve.org), but using downloaded reports in JSON is
undocumented supported.

### Installation

```
$ perl Makefile.PL
$ make
$ make test
$ make install
```

Recent changes can be (re)viewed in the public GIT repository at
https://github.com/CPAN-Security/Net-CVE

Feel free to clone your own copy:

```
$ git clone https://github.com/CPAN-Security/Net-CVE Net-CVE
```

or get it as a tgz:

```
$ wget --output-document=Net-CVE-git.tgz \
        https://github.com/CPAN-Security/Net-CVE/archive/main.tar.gz
```

### Contibuting

New ideas and fixes welcome. Please read [this guide](CONTRIBUTING.md)

### Author

H.Merijn Brand <hmbrand@cpan.org>