forked from noob-hackers/ighack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup
57 lines (57 loc) · 2.17 KB
/
setup
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
clear
center() {
termwidth=$(stty size | cut -d" " -f2)
padding="$(printf '%0.1s' ={1..500})"
printf '%*.*s %s %*.*s\n' 0 "$(((termwidth-2-${#1})/2))" "$padding" "$1" 0 "$(((termwidth-1-${#1})/2))" "$padding"
}
grn="\e[92m"
cod="\e[93m"
echo -e '\e[92m
╦╔═╗ ╦ ╦╔═╗╔═╗╦╔═
║║ ╦──╠═╣╠═╣║ ╠╩╗
╩╚═╝ ╩ ╩╩ ╩╚═╝╩ ╩'
echo -e "\e[92m"
center "SETUP PROCESS"
echo -e "
$grn-----------------------------------$grn
|$grn FOLLLOW:$cod github.com/noob-hackers $grn |$grn
|$grn SUBSCRIBE:$cod Noob Hackers $grn |$grn
|$grn CHAT:$cod wa.me/+919113948054 $grn |$grn
$grn-----------------------------------$grn
"
center "INSTALLATION"
echo -e "\e[34mSTABLE CONNECTION [\e[92m✓\e[34m]\e[0m"
echo -e "\e[34mCHECKING ENVIRONMENT [\e[92m✓\e[34m]\e[0m"
dpkg --configure -a
echo -e "\e[34mPACKAGES BEING INSTALLED WAIT....\e[0m"
apt install -y python2 python tor wget > /dev/null 2>&1
pip install lolcat > /dev/null 2>&1
pip install --upgrade pip >/dev/null 2>&1
pip3 install requests --upgrade >/dev/null 2>&1
pip3 install requests[socks] >/dev/null 2>&1
pip3 install stem >/dev/null 2>&1
pip3 install instagram-py >/dev/null 2>&1
echo -e "\e[34mSETTING UP SERVERS.....WAIT\e[0m"
cd $HOME >/dev/null 2>&1
wget -O ~/instapy-config.json "https://git.io/v5DGy" >/dev/null 2>&1
cd $HOME/ighack >/dev/null 2>&1
cd /data/data/com.termux/files/usr/etc/tor >/dev/null 2>&1
rm torrc >/dev/null 2>&1
cd $HOME/ighack >/dev/null 2>&1
mv torrc /data/data/com.termux/files/usr/etc/tor >/dev/null 2>&1
echo -e "\e[34mSCANNING STORAGE....\e[0m"
FREE=`df -k /storage/emulated | awk '{ print $4 }' | tail -1`
if [[ $FREE -gt 614400 ]]; then
echo -e "\e[34mSTORAGE FOUND [\e[92m✓\e[34m]\e[92m"
center "FINALIZING ALL PROCESS"
echo -e "\e[91m SUBSCRIBE\e[93m NOOB HACKERS\e[92m"
center "[X]COMPLETED SUCCESSFULLY[X]"
am start -a android.intent.action.VIEW -d https://bitly.com/nhytchannel
rm setup
cd $HOME/ighack
bash ighack.sh
else
echo -e "\e[34mNOT ENOUGH STORAGE [\e[91mX\e[34m]\e[0m"
echo -e "\e[91m [X] Free The Storage [X]"
exit
fi