Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
            my $AV = $cve_entry->find('//entry/vuln:cvss/cvss:base_metrics
    +/cvss:access-complexity');
            # etc...
    }
    
  2. or download this
    <?xml version='1.0' encoding='UTF-8'?>
    <nvd xmlns:cpe-lang="http://cpe.mitre.org/language/2.0" xmlns:vuln="ht
    +tp://scap.nist.gov/schema/vulnerability/0.4" xmlns:cvss="http://scap.
    +nist.gov/schema/cvss-v2/0.2" xmlns:xsi="http://www.w3.org/2001/XMLSch
    +ema-instance" xmlns="http://scap.nist.gov/schema/feed/vulnerability/2
    +.0" nvd_xml_version="2.0" pub_date="2009-01-28T03:10:00" xsi:schemaLo
    +cation="http://scap.nist.gov/schema/feed/vulnerability/2.0 http://nvd
    +.nist.gov/schema/nvd-cve-feed_2.0.xsd">
    ...
            </cvss:base_metrics>
        </vuln:cvss>
    </entry>