Skip to content

Commit 68aa78d

Browse files
author
a.churin
committed
fix get_cpe_vulnerabilities
1 parent deda00a commit 68aa78d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vulners/vulners.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,21 +219,21 @@ def get_cpe_vulnerabilities(
219219
cpe,
220220
respect_major_version=None,
221221
exclude_any_version=None,
222-
exactmatch=False
222+
only_ids=None
223223
):
224224
"""
225225
Find software vulnerabilities using CPE string. See CPE references at https://cpe.mitre.org/specification/
226226
227227
cpe: CPE software string, see https://cpe.mitre.org/specification/
228228
exactmatch: if true searches only for bulletins corresponding to the specified minor version and revision
229229
"""
230-
if exactmatch:
231-
warnings.warn("exactmatch is deprecated")
232230
return self.__get_burp_software(
233231
cpe,
234232
None,
233+
None,
235234
respect_major_version,
236235
exclude_any_version,
236+
only_ids,
237237
)
238238

239239
get_multiple_bulletins = Endpoint(

0 commit comments

Comments
 (0)