-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall_usbForm.sh
41 lines (36 loc) · 1.05 KB
/
install_usbForm.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
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
###########################################
# Script: USB Format Utility
# Author: RJ Levesque, Jr. - Majik Cat Security
# Date: August 19, 2024
# Description: Simple USB format utility
###########################################
splash(){
figlet "USB Format" | lolcat
}
###############################
##########################
# CHECK FOR ROOT #
##########################
if [ "$EUID" -ne 0 ]
then echo "You must run as root or sudo to run the file"
exit
fi
#===================================================================#
# CHECK FOR DEPENDENCIES AND INSTALL #
#===================================================================#
clear
splash
echo " "
echo -e "\e[35mINSTALLATION PROCESS...\e[0m"
echo " "
echo -e "\e[35mby Majik Cat Security\e[0m"
sleep 2
rm /usr/bin/usbform
chmod +x usbForm.sh
cp usbForm.sh /usr/bin/usbform
chmod +x /usr/bin/usbform
echo -e "\e[32mUSB Format is ready for use...\e[0m"
echo -e "\e[32mType usbform in terminal anywhere to start the application\e[0m"
sleep 3
clear