Guest User

Untitled

a guest
Jul 16th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. <?php
  2. if (preg_match('/(<entry id="$cve">.+?<\/entry>)/ism', $nvdcve_lists[$cve_year], $cve_match)) {
  3. // do stuff
  4. }
  5. ?>
  6.  
  7. $cve_year == 2009
  8. $cve == "CVE-2009-3826"
  9. $nvdcve_lists[$cve_year] == (udpluk):
  10. (...)
  11. <entry id="CVE-2009-3826">
  12. <vuln:cve-id>CVE-2009-3826</vuln:cve-id>
  13. <vuln:published-datetime>2009-10-28T10:30:00.297-04:00</vuln:published-datetime>
  14. <vuln:last-modified-datetime>2009-10-28T10:30:00.297-04:00</vuln:last-modified-datetime>
  15. <vuln:references xml:lang="en" reference_type="UNKNOWN">
  16. <vuln:source>XF</vuln:source>
  17. (...)
Add Comment
Please, Sign In to add comment