delete unnecessary comments
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.facinus*
|
@@ -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
|
||||
|
@@ -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"
|
||||
|
||||
|
@@ -2,7 +2,6 @@
|
||||
# Process command line arguments
|
||||
|
||||
process_args() {
|
||||
# Process command line arguments
|
||||
while [[ $# -gt 0 ]]; do
|
||||
case $1 in
|
||||
--no-root)
|
||||
|
Reference in New Issue
Block a user