-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNok
62 lines (61 loc) · 6.85 KB
/
Nok
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
58
59
60
61
62
#!/bin/bash
# Edition : Stable Edition V1.0
# Auther : Muh Aripin Ilham
# (C) Copyright 2024-2024 By Budaxcomel
# =========================================
#!/bin/bash
clear #!/bin/bash
source '/root/id'
ipsaya=$(curl -sS ipv4.icanhazip.com)
user=Trial-VM`</dev/urandom tr -dc 0-9 | head -c3`
masaaktif=1
secs_to_human() {
git clone https://github.com/Budaxcomel/izinvps.git /root/masuk/ &>/dev/null
exp=$(date -d "+$masaaktif days" +"%Y-%m-%d")
sed -i '/#vps$/a\### '"$user $exp $ipsaya"'' /root/masuk/ip
cd /root/masuk
git config --global user.email "[email protected]" &>/dev/null
git config --global user.name "Budaxcomel" &>/dev/null
rm -rf .git &>/dev/null
git init &>/dev/null
git add . &>/dev/null
git commit -m Budaxcomel &>/dev/null
git branch -M ipuk &>/dev/null
git remote add origin https://github.com/Budaxcomel/izinvps
git push -f https://[email protected]/Budaxcomel/izinvps.git &>/dev/null
cd
rm -rf /root/masuk
}
until [[ $ipsaya =~ ^[0-9.]+$ && ${CLIENT_EXISTS} == '0' ]]; do
read -p "USERNAME : " $user
read -p "IP VPS : " $ipsaya
read -p "EXPIRED (days) : " $masaaktif
CLIENT_EXISTS=$(curl -sS https://raw.githubusercontent.com/Budaxcomel/izinvps/ipuk/ip | grep -w $ipvps | wc -l)
if [[ ${CLIENT_EXISTS} == '1' ]]; then
echo -e "━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo -e "🦂PELANGGAN TELAH TERSEDIA🦂"
echo -e "━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo -e ""
echo -e " UNTUK MELANJUTKAN "
echo -e " SILA MASUKKAN IP VPS"
echo -e "━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo -e " Contact Admin :"
echo -e " Telegram $TELEGRAM"
echo -e "WhatsApp $WHATSAPP"
echo -e "━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
exit
fi
done
secs_to_human
echo -e "━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo -e "💠VPS SUCCESSFULLY ENTERED💠"
echo -e "━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo -e "☘️NAME AUTHOR : $user"
echo -e "☘️SCRIPT TIME : $masaaktif Days"
echo -e "☘️IP SERVER : $ipvps"
echo -e "☘️Link Install : wget --no-check-certificate https://raw.githubusercontent.com/Budaxcomel/sc/main/run && chmod +x run && ./run "
echo -e "━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo -e " Contact Admin :"
echo -e " Telegram $TELEGRAM"
echo -e "WhatsApp $WHATSAPP"
echo -e "━━━━━━━━━━━━━━━━━━━━━━━━━━━━"