Skip to content

Commit

Permalink
fix: improve hostapd checker
Browse files Browse the repository at this point in the history
Update hostapd pattern to avoid raising a wrong version of 1.100 with
some proprietary binary which defines the following strings:

192.168.1.100
hostapd_ctrl_interface

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
  • Loading branch information
ffontaine committed Aug 20, 2024
1 parent 13a0a50 commit 9d830b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cve_bin_tool/checkers/hostapd.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ class HostapdChecker(Checker):
FILENAME_PATTERNS = [r"hostapd"]
VERSION_PATTERNS = [
r"\nhostapd[_a-z]* v([0-9]+\.[0-9]+)",
r"([0-9]+\.[0-9]+)[a-z-]*\r?\nhostapd",
r"([0-9]+\.[0-9]+)[a-z-]*\r?\nhostapd[_a-z]* v",
]
VENDOR_PRODUCT = [("w1.fi", "hostapd")]

0 comments on commit 9d830b5

Please sign in to comment.