-
Notifications
You must be signed in to change notification settings - Fork 0
/
CRIMINAL
68 lines (58 loc) Β· 2.21 KB
/
CRIMINAL
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
63
64
65
66
67
68
#!/bin/bash
_python_() {
python3${pVer%.*} -c "$1"
}
_ULTRONBOT_MAIN() {
$(_python_ 'from git import Repo
import sys
_UPSTREAM_ = "https://github.com/LEGENDXTHANOS/ULTRONBOT"
_BRANCH_ = "master"
repo = Repo.init()
origin = repo.create_remote("temponame", _UPSTREAM_)
origin.fetch()
repo.create_head(_BRANCH_, origin.refs[_BRANCH_])
repo.heads[_BRANCH_].checkout(True) ')
}
_ultron_repo () {
local hrepo
hrepo=`echo "aHR0cHM6Ly9naXRodWIuY29tL0xFR0VORFhUSEFOT1MvVUxUUk9OVVNFUkJPVA==" | base64 -d`
echo "$rlink"
}
_ultron_zip () {
echo "aHR0cHM6Ly9naXRodWIuY29tL0xFR0VORFhUSEFOT1MvVUxUUk9OVVNFUkJPVC9hcmNoaXZlL21hc3Rlci56aXA=" | base64 -d
}
_ULTRONBOT_PLUG() {
local hrepo=$(_ultron_repo)
$(_python_ 'from git import Repo
import sys
_UPSTREAM_ = "'$hrepo'"
_BRANCH_ = "master"
repo = Repo.init()
origin = repo.create_remote("temponame", _UPSTREAM_)
origin.fetch()
repo.create_head(_BRANCH_, origin.refs[_BRANCH_])
repo.heads[_BRANCH_].checkout(True) ')
}
_starter () {
local ultronpath
ultronpath="ULTRONUSERBOT.zip"
echo "ββββββ°π©ΰΌπΎπππππππ ππππππππππ©ΰΌβ±βββ±β"
echo "ββββββββββββββββββ£"
echo "ββ£βͺΌπ©ΰΌ πππππππππ πππππ π»πππππ±πππΰΌπͺ"
echo "ββ£βͺΌπ©ΰΌπΊππππ πΊπ ππππππ=π·ππππππ πΏπππππΰΌπͺ"
echo "ββ°ββββββββββββββββ£"
echo "βββββββββββββββββββββ±βΫͺΫͺ"
wget -q $(_ultron_zip) -O "$ultronpath"
ULTRONPATH=$(zipinfo -1 "$ultronpath" | grep -v "/.");
unzip -qq "$ultronpath"
rm -rf "$ultronpath"
# _ULTRONBOT_MAIN
cd $ULTRONPATH
# _ULTRONBOT_PLUG
python3 ../setup/updater.py ../requirements.txt requirements.txt
echo "βββββββββββββββββ£"
echo "ββ£βͺΌπ·ππππππ. ππππππ π»πππππ±πππ π½πππππ"
echo "β°ββββββββββββββββ£"
python3 -m UltronBot
}
_starter