forked from unixpickle/kahoot-hack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kh-tmux-setup.sh
26 lines (26 loc) · 1.24 KB
/
kh-tmux-setup.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
apt update
apt install tmux
apt install git
apt install golang
echo "export GOPATH=/data/data/com.termux/files/usr" > and_kh_tmp1
chmod +x and_kh_tmp1
sleep 1
source and_kh_tmp1
echo "Downloading kahoot-hack... Please wait"
go get github.com/unixpickle/kahoot-hack
echo "Downloading websocket... Please wait"
go get github.com/gorilla/websocket
mkdir ~/kahoot
mv ../usr/src/github.com/unixpickle/kahoot-hack/kahoot-crash/main.go ~/kahoot/crash.go
mv ../usr/src/github.com/unixpickle/kahoot-hack/kahoot-flood/main.go ~/kahoot/flood.go
mv ../usr/src/github.com/unixpickle/kahoot-hack/kahoot-html/main.go ~/kahoot/html.go
mv ../usr/src/github.com/unixpickle/kahoot-hack/kahoot-play/main.go ~/kahoot/play.go
mv ../usr/src/github.com/unixpickle/kahoot-hack/kahoot-profane/main.go ~/kahoot/profane.go
mv ../usr/src/github.com/unixpickle/kahoot-hack/kahoot-rand/main.go ~/kahoot/rand.go
mv ../usr/src/github.com/unixpickle/kahoot-hack/kahoot-xss/main.go ~/kahoot/xss.go
mkdir ../usr/etc/profile.d
echo "export GOPATH=/data/data/com.termux/files/usr" >> ../usr/etc/profile.d/kahoot-hack-config.sh
chmod +x ../usr/etc/profile.d/kahoot-hack-config.sh
rm and_kh_tmp1
rm kh-tmux-setup.sh
echo "Installation Successful. Please restart the app by typing 'exit' and open the app again."