We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8cf458 commit 899e275Copy full SHA for 899e275
modules/exploits/windows/http/sharepoint_toolpane_rce.rb
@@ -96,7 +96,7 @@ def check
96
# The returned HTML will have a blob of JavaScript that contains a hash object called _spPageContextInfo. A key
97
# called siteClientTag will have a value of the current SharePoint Server patch level. We cannot rely on the HTTP
98
# header value MicrosoftSharePointTeamServices as this may not reflect the actual patch level.
99
- site_client_tag = res.body.match(/"siteClientTag"\s*:\s*"\d*[$]+([^"]+)",/)
+ site_client_tag = res.body.match(/"*siteClientTag"*\s*:\s*"\d*[$]+([^"]+)",/)
100
101
return CheckCode::Unknown('Unable to extract the siteClientTag') unless site_client_tag
102
0 commit comments