From e40a777fb94e08152776f6404c97cee50d5afd47 Mon Sep 17 00:00:00 2001 From: BlazarKnight <152732605+BlazarKnight@users.noreply.github.com> Date: Wed, 13 Nov 2024 11:31:15 -0500 Subject: [PATCH] Create maker.sh This is a shell script that will set up the trash sever and only require one password input --- maker.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 maker.sh diff --git a/maker.sh b/maker.sh new file mode 100644 index 0000000..7e4d97d --- /dev/null +++ b/maker.sh @@ -0,0 +1,13 @@ +sudo -s +apt update +apt install apache2 -y +apt install php libapache2-mod-php -y +cd /var/www/html +rm index.html +apt install curl +curl -o replicator.php https://raw.githubusercontent.com/LafeLabs/trashbook/main/php/replicator.txt +cd .. +chmod -R 0777 * +cd html +php replicator.php +chmod -R 0777 *