From 5a7da24f9510fdcc1128e4c02e49dd6694965434 Mon Sep 17 00:00:00 2001 From: drapl0n <87269662+drapl0n@users.noreply.github.com> Date: Sun, 25 Dec 2022 22:58:52 +0530 Subject: [PATCH] uploading installation script --- .../phishing/Triggered_Bunny/install.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 payloads/library/phishing/Triggered_Bunny/install.sh diff --git a/payloads/library/phishing/Triggered_Bunny/install.sh b/payloads/library/phishing/Triggered_Bunny/install.sh new file mode 100644 index 00000000..fb8e3c10 --- /dev/null +++ b/payloads/library/phishing/Triggered_Bunny/install.sh @@ -0,0 +1,18 @@ +#!/bin/bash +apt update +apt install nginx php5 php5-fpm php5-cgi -y +rm /etc/nginx/nginx.conf /etc/nginx/sites-enabled/default /etc/nginx/sites-available/default +cp nginx/default /etc/nginx/sites-available/ && cp nginx/enabled-default /etc/nginx/sites-enabled/default && cp nginx/nginx.conf /etc/nginx/ && cp -rv sites/ /var/www/html/ +udisk mount +read -p "Select switch to copy payload in [1|2]: " choice +if [ "$choice" = 1 ]; then + cp payload.txt /root/udisk/payloads/switch1 +elif [ "$choice" = 2 ]; then + cp payload.txt /root/udisk/payloads/switch2 +else + echo -e "Invalid input $choice ." + exit 1 +fi +udisk umount +chown -R www-data:www-data /var/www/html/sites +echo -e "\nInstallation completed successfully."