Skip to content

Commit 071a4a3

Browse files
committed
fix tests
1 parent 9b1d07d commit 071a4a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/multi/http/xwiki_unauth_rce_cve_2025_24893.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def check
9191
return CheckCode::Unknown('No response from target') unless res&.code == 200
9292

9393
version_div = res.get_html_document.at('div[id="xwikiplatformversion"]')
94-
return CheckCode::Safe('Possibly not XWiki or incorrect path (version tag not found)') unless version_div
94+
return CheckCode::Safe('Possibly not XWiki or incorrect path (version tag not found)') unless version_div
9595

9696
version_match = version_div.text.match(/XWiki.*?(\d+\.\d+\.\d+)/)
9797
unless version_match

0 commit comments

Comments
 (0)