-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathinstall.sh
56 lines (52 loc) · 867 Bytes
/
install.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
#!/bin/sh
if [[ "$(id -u)" -ne 0 ]];
then
echo "
Please, Run Black-Attacker as Root!
"
exit
fi
function install() {
printf '\033]2;Black-attacker/Installing\a'
clear
echo "Installing..."
chmod +x black.py
sleep 2
apt install python
apt install python3
apt install python3-pip
pip install --upgrade pip
sleep 0.25
echo "
Finish...
Usage:
bash install.sh start
or
python black.py
"
sleep 0.25
exit
}
function start() {
sleep 0.25
chmod +x black.py
python black.py
}
if [[ $1 == 'start' || $1 == '--start' ]];
then
start
elif [[ $1 == '--help' || $1 == 'help' ]];
then
echo "
Black-attacker Argument:
--help
--start
--install
"
elif [[ $1 == '--install' || $1 == 'install ']];
then
install
else
echo "Usage: --help"
exit
fi