removes all var/ in procs (#12738)

This commit is contained in:
Kashargul
2026-05-05 10:55:04 +02:00
committed by GitHub
parent cc15f62485
commit d75f90466d
2159 changed files with 8035 additions and 8037 deletions
+2 -2
View File
@@ -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)