aboutsummaryrefslogtreecommitdiff
path: root/src/getcode.php
diff options
context:
space:
mode:
authorcassio <cassiopc@gmail.com>2018-08-27 12:16:50 +0000
committercassio <cassiopc@gmail.com>2018-08-27 12:16:50 +0000
commit6ca67b9f36309001cdc149d7746b7a9b3a171bc6 (patch)
tree85af09afeb7d11d8daf3dfd3f4dae8371ce0b76d /src/getcode.php
parent8f3d351b689a0988a906c10ae003528b5980f9bd (diff)
downloadboca-6ca67b9f36309001cdc149d7746b7a9b3a171bc6.tar.gz
boca-6ca67b9f36309001cdc149d7746b7a9b3a171bc6.zip
check correct download
Diffstat (limited to 'src/getcode.php')
-rw-r--r--src/getcode.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/getcode.php b/src/getcode.php
index 687379f..90e8b58 100644
--- a/src/getcode.php
+++ b/src/getcode.php
@@ -42,7 +42,8 @@ if(isset($_GET["name"]) && $_GET["name"] != "" ) {
$p = myhash($secret[1] . session_id());
if($name == $secret[0] && $p == $password) {
$cc = md5(rand() . rand() . @file_get_contents('/proc/uptime') . rand() . rand());
- $txt = "#!/bin/bash\n" .
+ $txt = "#!/bin/bash\n" .
+ "## " . $iv . "\n" .
"mkdir -p /root/submissions\n" .
"chown root.root /root/submissions\n" .
"chmod 700 /root/submissions\n" .