-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.sh
51 lines (42 loc) · 1.08 KB
/
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
#!/bin/bash
# TellMe
# by wondR
lolcat <<"EOF"
╔╦╗┌─┐┬ ┬
║ ├┤ │ │
╩ └─┘┴─┘┴─┘
╔╦╗┌─┐
║║║├┤
╩ ╩└─┘
┬ ┬┬ ┬┌─┐
│││├─┤│ │
└┴┘┴ ┴└─┘
╦┌┬┐
║│││
╩┴ ┴
┌─┐┌─┐┌┐┌┌┐┌┌─┐
│ ┬│ │││││││├─┤
└─┘└─┘┘└┘┘└┘┴ ┴
┬ ┬┌─┐┌─┐┬┌─
├─┤├─┤│ ├┴┐
┴ ┴┴ ┴└─┘┴ ┴
EOF
ROOT_DIR=/root
# check if we are ROOT
if [ $EUID -ne 0 ]; then
echo "This script must be run as root."
exit 1
fi
# enable command aliasing
shopt -s expand_aliases
# skip prompts in apt-upgrade...
export DEBIAN_FRONTEND=noninteractive
alias apt-get='yes "" | apt-get -o Dpkg::Options::="--force-confdef" -y'
apt-get update
apt-get install sublist3r -y
git clone https://github.com/n4Zz2/getIPs.git
cd getIPs
pip install getips
cd ..
chmod +x tellme.sh
echo "Done !"