mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-17 10:16:48 +01:00
removes all var/ in procs (#12738)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Ported from /vg/.
|
||||
/proc/escape_shell_arg(var/arg)
|
||||
/proc/escape_shell_arg(arg)
|
||||
// RCE prevention
|
||||
// - Encloses arg in single quotes
|
||||
// - Escapes single quotes
|
||||
@@ -16,7 +16,7 @@
|
||||
arg = "'[arg]'"
|
||||
return arg
|
||||
|
||||
/proc/ext_python(var/script, var/arguments, var/scriptsprefix = 1)
|
||||
/proc/ext_python(script, arguments, scriptsprefix = 1)
|
||||
return // VOREStation Edit - Can't exploit shell if we never call shell!
|
||||
/* Unreachable with above vorestation edit
|
||||
if(scriptsprefix)
|
||||
|
||||
Reference in New Issue
Block a user