-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathuninstall.sh
28 lines (23 loc) · 1.11 KB
/
uninstall.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
# Script to uninstall carbontoolkit
# Created by Andrea Rebora (@AndreaRebora01)
echo ""
echo " _ __ __ __ __ "
echo " _____ __ ______| |__ ____ ____/ |__ ____ ____ | | __ _|__|/ |_ "
echo " _/ ___/ /__\ \_ __ \ __ \ / \ / \ __\/ \ / \| | | |/ / \ __\ "
echo " \ \___ / __ \ | | \/ \_\ ( <> ) | \ | ( <> | <> ) |_| <| || | "
echo " \_____/_/ \_\|__| |_____/\____/|___|__/__| \____/ \____/|____/__|__\__||__| "
echo " "
echo " Information Gathering and Vulnerability Assessment"
echo " Version 1.0"
echo " Created by Andrea Rebora (TheAndreaRebora)"
echo ""
INSTALL_DIR=/usr/share/carbontoolkit
tput setaf 1; echo "[You are about to uninstall carbontoolkit. Do you want to continue? (Press [Enter] to continue, [Ctrl+c] to cancel)]"
read answer
rm -rf /usr/share/carbontoolkit/
rm -f /usr/bin/carbontoolkit
echo""
echo "[You have successfully uninstalled carbontoolkit.]"
tput sgr0;
echo ""