Skip to content

Commit

Permalink
Reduce false positives on wapp module fixing version_regex
Browse files Browse the repository at this point in the history
Signed-off-by: bretfourbe <[email protected]>
  • Loading branch information
bretfourbe committed Jul 14, 2024
1 parent 7e84c4c commit 6450ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wapitiCore/attack/mod_wapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
MSG_CPE = " -> CPE: {0}"

BULK_SIZE = 50
VERSION_REGEX = re.compile(r"\d[\d.]*")
VERSION_REGEX = re.compile(r"^\d[\w.-]*$")

SCRIPT = (
"wapiti_results = {};\n"
Expand Down

0 comments on commit 6450ca7

Please sign in to comment.