Skip to content

Commit

Permalink
fix name of API in README
Browse files Browse the repository at this point in the history
  • Loading branch information
shadawck committed Jun 18, 2020
1 parent b78bd6a commit 8769878
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Just import and use it.
>>> from mitrecve import crawler
>>> from pprint import pprint

>>> pprint(crawler.MITRE_get_main_page("jython"))
>>> pprint(crawler.get_main_page("jython"))
[('CVE-2016-4000',
'https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-4000',
'Jython before 2.7.1rc1 allows attackers to execute arbitrary code via a '
Expand All @@ -108,7 +108,7 @@ Just import and use it.
'restrictions via unspecified vectors.')]

# cve detail
>>> pprint(crawler.MITRE_get_cve_detail("jython"))
>>> pprint(crawler.get_cve_detail("jython"))
[('CVE-2016-4000', # cve name
'Jython before 2.7.1rc1 allows attackers to execute arbitrary code via a '
'crafted serialized PyFunction object.', # cve description
Expand Down

0 comments on commit 8769878

Please sign in to comment.