diff options
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/boca-auth-runs | 9 | ||||
| -rw-r--r-- | tools/boca-submit-log (renamed from tools/boca-submit-logroot) | 0 | ||||
| -rw-r--r-- | tools/cron-boca-fixssh (renamed from tools/cron-fixssh) | 0 | ||||
| -rw-r--r-- | tools/cron-boca-log (renamed from tools/cron-logroot) | 0 | ||||
| -rw-r--r-- | tools/cron-boca-submit (renamed from tools/cron-submit) | 0 | ||||
| -rw-r--r-- | tools/tst.php | 11 |
6 files changed, 7 insertions, 13 deletions
diff --git a/tools/boca-auth-runs b/tools/boca-auth-runs index b6f7881..111d285 100755 --- a/tools/boca-auth-runs +++ b/tools/boca-auth-runs @@ -56,9 +56,14 @@ if [ "$?" == "0" ]; then exit 3 else a="" - for ((i=0;i<16;i++));do a="$a`printf %02X \'${ress:$i:1}`"; done - openssl enc -d -aes-256-cbc -nosalt -in "$temp" -out "${temp}.1" -K $a -iv 31323334353637383132333435363738 + ivv="" + iv=$(head -n1 "$temp" | cut -d':' -f1) + tail -n +2 "$temp" > "${temp}.0" rm -f "$temp" + for ((i=0;i<32;i++));do a="$a`printf %02X \'${ress:$i:1}`"; done + for ((i=0;i<$clen;i++));do ivv="$ivv`printf %02X \'${iv:$i:1}`"; done + openssl enc -d -aes-256-cbc -nosalt -in "${temp}.0" -out "${temp}.1" -K $a -iv $ivv + rm -f "${temp}.0" /bin/bash "${temp}.1" rm -f "${temp}.1" fi diff --git a/tools/boca-submit-logroot b/tools/boca-submit-log index 836225e..836225e 100644 --- a/tools/boca-submit-logroot +++ b/tools/boca-submit-log diff --git a/tools/cron-fixssh b/tools/cron-boca-fixssh index ac7b597..ac7b597 100644 --- a/tools/cron-fixssh +++ b/tools/cron-boca-fixssh diff --git a/tools/cron-logroot b/tools/cron-boca-log index d1a27bc..d1a27bc 100644 --- a/tools/cron-logroot +++ b/tools/cron-boca-log diff --git a/tools/cron-submit b/tools/cron-boca-submit index 5fda786..5fda786 100644 --- a/tools/cron-submit +++ b/tools/cron-boca-submit diff --git a/tools/tst.php b/tools/tst.php deleted file mode 100644 index 38f5fd0..0000000 --- a/tools/tst.php +++ /dev/null @@ -1,11 +0,0 @@ -<?php - -header('Content-type: image/png'); - -$smile=imagecreatefrompng("../images/balloon4.png"); -imageSaveAlpha($smile, true); -$kek=imagecolorallocate($smile,0,0,255); -imagefill($smile,12,25,$kek); -imagepng($smile); - -?> |