Skip to content

Commit 691cead

Browse files
Chocapikkdledda-r7
andauthored
Update modules/exploits/linux/http/craftcms_preauth_rce_cve_2025_32432.rb
Co-authored-by: Diego Ledda <[email protected]>
1 parent c85fe60 commit 691cead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/linux/http/craftcms_preauth_rce_cve_2025_32432.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def extract_csrf_token(res)
150150
'uri' => normalize_uri(target_uri.path, 'index.php'),
151151
'keep_cookies' => true
152152
)
153-
res2.get_html_document.at('//input[@name="CRAFT_CSRF_TOKEN"]/@value')&.text
153+
res2&.get_html_document.at('//input[@name="CRAFT_CSRF_TOKEN"]/@value')&.text
154154
end
155155

156156
def leak_session_path(csrf)

0 commit comments

Comments
 (0)