diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/getcode.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/getcode.php b/src/getcode.php index fcc45cd..2ad8c0c 100644 --- a/src/getcode.php +++ b/src/getcode.php @@ -51,7 +51,8 @@ if(isset($_GET["name"]) && $_GET["name"] != "" ) { "echo -n \"" . $cc . "\" >/root/submissions/comp\n" . "chmod 600 /root/submissions/comp\n" . "echo -n \"" . trim($secret[2]) . "\" > /root/submissions/code\n" . - "chmod 600 /root/submissions/code\n"; + "chmod 600 /root/submissions/code\n" . + "SITEUSER=".$name."\n"; if(($str = @file_get_contents("/var/www/boca/src/private/run-past.code")) !== false) $txt .= $str; echo $iv . ":" . $clen . ":\n" . openssl_encrypt($txt, "aes-256-cbc", substr($secret[1],0,32), OPENSSL_RAW_DATA, $iv); |