From 2b7531ec8c7163b83a9c563eb6bec7d49091c9dc Mon Sep 17 00:00:00 2001 From: lixtelnis Date: Fri, 31 May 2024 07:39:05 -0400 Subject: [PATCH] precision --- src/pages/stimulusreflex-rce/body.html | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/pages/stimulusreflex-rce/body.html b/src/pages/stimulusreflex-rce/body.html index 741cc62..9fde5dd 100644 --- a/src/pages/stimulusreflex-rce/body.html +++ b/src/pages/stimulusreflex-rce/body.html @@ -84,20 +84,21 @@

vulnerability

obj.method(name).parameters.flatten.count { |type| type == :req or type == :opt } > 0 end -

Among the results is the render_collection method. This is a thin wrapper around a call to the render method and it supports passing in a template as a string.

+

Among the results is the StimulusReflex::Reflex#render_collection method. This is a thin wrapper around a call to the ActionController::Base#render method and it supports passing in a template as a string.

 \"target\":\"StimulusReflex::Reflex#render_collection\",\"args\":[{\"inline\": \"<% system('id') %>\"}]
 
-

disclosure

-

+This works because even though the inner render method uses a variable amount of arguments, the outer render_collection does not.

+

disclosure

+

April 11ᵗʰ 2024