-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstaller.sh
executable file
·68 lines (57 loc) · 2.31 KB
/
installer.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/bin/bash
# ChaosDump Installer v1.0
# Author : Rohit (@marcos_iaf)
# https://twitter.com/marcos_iaf
# https://github.com/720922/chaosDump
##############################################################
# #
# CONFIG VARS #
# #
##############################################################
# TERM COLORS
bred='\033[1;31m'
bblue='\033[1;34m'
bgreen='\033[1;32m'
yellow='\033[0;33m'
red='\033[0;31m'
blue='\033[0;34m'
green='\033[0;32m'
reset='\033[0m'
##############################################################
# #
# FUNCTIONS #
# #
##############################################################
logo()
{
printf "${bred}"
printf '''
__ ____
_____/ /_ ____ _____ _____/ __ \__ ______ ___ ____
/ ___/ __ \/ __ `/ __ \/ ___/ / / / / / / __ `__ \/ __ \
/ /__/ / / / /_/ / /_/ (__ ) /_/ / /_/ / / / / / / /_/ /
\___/_/ /_/\__,_/\____/____/_____/\__,_/_/ /_/ /_/ .___/ Installer
'''
printf "${green}==================== ${blue}Developed By: ${yellow}@marcos_iaf${bred} / / "
printf "\n${bred} /_/ ${reset}"
}
main_installer(){
printf "\n${green}Installing required dependencies...${reset}"
sudo apt-get -qq install peco -y
sudo apt-get -qq install jq -y
sudo apt-get -qq install pv -y
printf "\n${green}Dependencies installed succesfully...${reset}"
printf "${yellow}[${bgreen}\xE2\x9C\x94${yellow}]${reset}"
printf "\n${green}Finishing up...${reset}"
sudo cp chaosDump.sh /usr/local/bin/chaosdump
printf "${yellow}[${bgreen}\xE2\x9C\x94${yellow}]${reset}"
printf "\n\n${yellow}Now you can run chaosDump from anywhere using command${bblue}chaosdump${reset}"
printf "\n\n${yellow}[${bred}!${yellow}] Setup Finished Succesfully!!${yellow}[${bred}!${yellow}]${reset}"
}
##############################################################
# #
# SCRIPT START #
# #
##############################################################
logo
main_installer