diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..40e76e8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.facinus* diff --git a/scripts/dependencies.sh b/scripts/dependencies.sh index 19d1b1c..a71b967 100755 --- a/scripts/dependencies.sh +++ b/scripts/dependencies.sh @@ -52,12 +52,8 @@ install_arch_dependencies() { } install_debian_dependencies() { - # Update package lists sudo apt update -q - - # Install required packages PACKAGES=("apache2" "php" "libapache2-mod-php" "git" "build-essential" "curl" "ethtool") - sudo DEBIAN_FRONTEND=noninteractive apt install -y "${PACKAGES[@]}" # Enable PHP module diff --git a/scripts/generate_scripts.sh b/scripts/generate_scripts.sh index ace2297..870cc8c 100755 --- a/scripts/generate_scripts.sh +++ b/scripts/generate_scripts.sh @@ -27,11 +27,8 @@ generate_obfuscated_script() { # Base64 encode the script to obfuscate it base64 -w0 < "$DEPLOY_DIR/y" > "$DEPLOY_DIR/y.b64" - - # Replace the placeholder with the actual base64 content sed -i "s|BASE64_PLACEHOLDER|$(cat "$DEPLOY_DIR/y.b64")|g" "$DEPLOY_DIR/x" - # Copy the obfuscated script to the server sudo cp "$DEPLOY_DIR/x" "$SERVER_ROOT/" sudo chmod 644 "$SERVER_ROOT/x" diff --git a/scripts/process_args.sh b/scripts/process_args.sh index 906bd26..63bc947 100755 --- a/scripts/process_args.sh +++ b/scripts/process_args.sh @@ -2,7 +2,6 @@ # Process command line arguments process_args() { - # Process command line arguments while [[ $# -gt 0 ]]; do case $1 in --no-root)