Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 48 additions & 48 deletions 5pro.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,46 +14,46 @@

kr1 = KRIS.LINE()
#kr1.login(qr=True)
kr1.login(token="")#1
kr1.login(token="EowmdvrIy5LUxCi00NH2.asdrlmWok4LWoIzOsXKceG.fP0BGl1eFpkRG7a8Ji5oOM7u0udPTpwmdsnqROXuXKA=")
kr1.loginResult()

kr2 = KRIS.LINE()
#kr2.login(qr=True)
kr2.login(token="")#2
kr2.login(token="EoJqtmhotyoKJlx0eIKf.oCRI6Jz7Xa5p+sy2S8D2NW.jOKGS0IQ2JnZlqLfj/vJXUF0adEu9lIXPa3AxGUC84I=")
kr2.loginResult()

kr3 = KRIS.LINE()
#kr3.login(qr=True)
kr3.login(token="")#3
kr3.login(token="EotKRFPdVPvl3qw8stc2.Un3grslvO9wmrLyOUTmCmG.Y1QoQVT3xDIfUrRJzoK8Mdxd6m5sPHJKY4hYU+4TFnM=")
kr3.loginResult()

kr4 = KRIS.LINE()
#kr4.login(qr=True)
kr4.login(token="")#4
kr4.login(token="EogniMZlxF4FnbafIqba.BfVplifvr1r008eOYqnlEG.c46jqB7OvH+Sos/N9LmHNRqow7ZjTef4/0H77gqppq0=")
kr4.loginResult()

kr5 = KRIS.LINE()
#kr5.login(qr=True)
kr5.login(token="")#5
kr5.login(token="EoSH1fOjhHbOLSaeEV58.b5uCXIfZHo2pJyLWqQil/a.g7I/JcIuhUeiOEhThhRIDNafeh7TrMg1Lfl/enYcsCA=")
kr5.loginResult()

#kr6 = KRIS.LINE()
#kr6.login(qr=True)
#kr6.login(token="")#satpam
#kr6.login(token="EolCuettEKUSX9PBxFtb.ysI/ZLm5yl2D9QmawE8WIW.gTK9y9MO5C9w4o4xDiTWFMHKdBGi1KGGrky0WzHMx8U=")
#kr6.loginResult()

kr6 = kr5

print "╔═════════════════════════\n║╔════════════════════════\n║╠❂➣ KRIS BERHASIL LOGIN\n║╚════════════════════════\n╚═════════════════════════"
print "╔═════════════════════════\n║╔════════════════════════\n║╠❂➣ Junsan FY BERHASIL LOGIN\n║╚════════════════════════\n╚═════════════════════════"
reload(sys)
sys.setdefaultencoding('utf-8')

helpmsg ="""
╔═════════════
✰ tɛǟʍ ċʏɮɛʀ-ǟʀʍʏ ɮօt ✰
╠═════════════
║ Owner : Kris
║ line://ti/p/~krissthea
║ Owner : FY
║ line://ti/p/~fackyou94
╠═════════════
║╔════════════
║╠❂➣facebook
Expand Down Expand Up @@ -91,10 +91,10 @@

keymsg ="""
╔═════════════
✰ tɛǟʍ ċʏɮɛʀ-ǟʀʍʏ ɮօt ✰
╠═════════════
║ Owner : Kris
║ line://ti/p/~krissthea
║ Owner : FY
║ line://ti/p/~fackyou94
╠═════════════
║╔════════════
║╠❂➣keypro
Expand All @@ -108,10 +108,10 @@

helppro ="""
╔═════════════
✰ tɛǟʍ ċʏɮɛʀ-ǟʀʍʏ ɮօt ✰
╠═════════════
║ Owner : Kris
║ line://ti/p/~krissthea
║ Owner : FY
║ line://ti/p/~fackyou94
╠═════════════
║╔════════════
║╠❂➣mode on/off
Expand All @@ -124,10 +124,10 @@

helpself ="""
╔═════════════
✰ tɛǟʍ ċʏɮɛʀ-ǟʀʍʏ ɮօt ✰
╠═════════════
║ Owner : Kris
║ line://ti/p/~krissthea
║ Owner : FY
║ line://ti/p/~fackyou94
╠═════════════
║╔════════════
║╠❂➣cctv on/off (Lurking)
Expand Down Expand Up @@ -180,10 +180,10 @@

helpset ="""
╔═════════════
✰ tɛǟʍ ċʏɮɛʀ-ǟʀʍʏ ɮօt ✰
╠═════════════
║ Owner : Kris
║ line://ti/p/~krissthea
║ Owner : FY
║ line://ti/p/~fackyou
╠═════════════
║╔════════════
║╠❂➣Gurl
Expand Down Expand Up @@ -217,10 +217,10 @@

helpgrup ="""
╔═════════════
✰ tɛǟʍ ċʏɮɛʀ-ǟʀʍʏ ɮօt ✰
╠═════════════
║ Owner : Kris
║ line://ti/p/~krissthea
║ Owner : FY
║ line://ti/p/~fackyou94
╠═════════════
║╔════════════
║╠❂➣Link on
Expand Down Expand Up @@ -267,9 +267,9 @@
║╠❂➣grup id
║╠❂➣Glist
║╠❂➣gcancel
║╠❂➣Kris/. (manggil bot)
║╠❂➣Kabur all
║╠❂➣Kris bye
║╠❂➣Fy. (manggil bot)
║╠❂➣Out all
║╠❂➣Fy bye
║╠❂➣cipok/crot (tagall)
║╠❂➣cctv on/off
║╠❂➣Toong/Intip
Expand All @@ -295,10 +295,10 @@

helptranslate ="""
╔═════════════
✰ tɛǟʍ ċʏɮɛʀ-ǟʀʍʏ ɮօt ✰
╠═════════════
║ Owner : Kris
║ line://ti/p/~krissthea
║ Owner : FY
║ line://ti/p/~fackyou94
╠═════════════
║╔════════════
║╠❂➣Translate-id
Expand Down Expand Up @@ -327,10 +327,10 @@

helprhs ="""
╔═════════════
✰ tɛǟʍ ċʏɮɛʀ-ǟʀʍʏ ɮօt ✰
╠═════════════
║ Owner : Kris
║ line://ti/p/~krissthea
║ Owner : FY
║ line://ti/p/~fackyou
╠═════════════
║╔════════════
║╠❂➣Dadas
Expand Down Expand Up @@ -382,9 +382,9 @@
Dmid = kr5.getProfile().mid
mid6 = kr6.getProfile().mid

Bots=[mid1,Amid,Bmid,Cmid,Dmid,"u31ef22df7f538df1d74dc7f756ef1a32","u9cc2323f5b84f9df880c33aa9f9e3ae1"]
owner=["u31ef22df7f538df1d74dc7f756ef1a32","u9cc2323f5b84f9df880c33aa9f9e3ae1"]
admin=["u31ef22df7f538df1d74dc7f756ef1a32","u9cc2323f5b84f9df880c33aa9f9e3ae1",mid1,Amid,Bmid,Cmid,Dmid]#ranita2
Bots=[mid1,Amid,Bmid,Cmid,Dmid,"u39bcd8adff1b3ccfced8b5666bf6e2ea"]
owner=["u39bcd8adff1b3ccfced8b5666bf6e2ea"]
admin=["u39bcd8adff1b3ccfced8b5666bf6e2ea",mid1,Amid,Bmid,Cmid,Dmid]#ranita2

wait = {
'likeOn':False,
Expand All @@ -401,9 +401,9 @@
'leaveRoom':True,
'timeline':False,
'autoAdd':True,
'message':"""Thx for add\n☆º°˚˚✰ tɛǟʍ ċʏɮɛʀ-ǟʀʍʏ ɮօt ✰º°˚˚☆""",
'message':"""Thx for add""",
"lang":"JP",
"comment":"👉ąµţ๏ℓɨЌ€ By C-A_Bot😊\n\n☆º°˚˚✰ tɛǟʍ ċʏɮɛʀ-ǟʀʍʏ ɮօt ✰º°˚˚☆(^ω^)\nąµţ๏ℓɨЌ€ by Kris ⭐👈 »»» http://line.me/ti/p/~krissthea «««",
"comment":"👉ąµtolike:by»»» http://line.me/ti/p/~fackyou94",
"commentOn":False,
"commentBlack":{},
"wblack":False,
Expand Down Expand Up @@ -1568,7 +1568,7 @@ def bot(op):
elif msg.text in ["Sp","Speed","speed"]:
if msg.from_ in admin:
start = time.time()
kr1.sendText(msg.to, "➣Proses.....")
kr1.sendText(msg.to, "➣Proses.....")
elapsed_time = time.time() - start
kr1.sendText(msg.to, "%sseconds" % (elapsed_time))
elif msg.text.lower() == 'crash':
Expand Down Expand Up @@ -1962,11 +1962,11 @@ def bot(op):
else:md+="╠❂➣Cancel Protect:off [❌]\n╚═════════════"
kr1.sendText(msg.to,md)
msg.contentType = 13
msg.contentMetadata = {'mid': "u31ef22df7f538df1d74dc7f756ef1a32"}
msg.contentMetadata = {'mid': "u39bcd8adff1b3ccfced8b5666bf6e2ea"}
kr1.sendMessage(msg)
elif cms(msg.text,["creator","Creator"]):
msg.contentType = 13
msg.contentMetadata = {'mid': "u31ef22df7f538df1d74dc7f756ef1a32"}
msg.contentMetadata = {'mid': "u39bcd8adff1b3ccfced8b5666bf6e2ea"}
kr1.sendMessage(msg)
kr1.sendText(msg.to,'❂➣ Creator yang manis kalem 􀜁􀄯􏿿')
elif msg.text.lower() == 'autoadd on':
Expand Down Expand Up @@ -2536,7 +2536,7 @@ def bot(op):
except:
kr1.sendText(msg.to,"Error")

# elif "Tajong " in msg.text:
# elif "Siri " in msg.text:
# if msg.from_ in admin:
# nk0 = msg.text.replace("Tajong ","")
# nk1 = nk0.lstrip()
Expand Down Expand Up @@ -2794,13 +2794,13 @@ def bot(op):
kr1.sendText(msg.to,"The stafflist is empty")
else:
kr1.sendText(msg.to,"Tunggu...")
mc = "╔═════════════\n║Admin ✰ tɛǟʍ ċʏɮɛʀ-ǟʀʍʏ ɮօt ✰\n╠═════════════\n"
mc = "╔═════════════\n║Admin ✰ FY bot ✰\n╠═════════════\n"
for mi_d in admin:
mc += "║••>" +kr1.getContact(mi_d).displayName + "\n╠═════════════\n"
mc += "║🐯>" +kr1.getContact(mi_d).displayName + "\n╠═════════════\n"
kr1.sendText(msg.to,mc)
print "[Command]Stafflist executed"

elif msg.text in ["Asup","asup"]: #Panggil Semua Bot
elif msg.text in ["Fy in","asup"]: #Panggil Semua Bot
if msg.from_ in owner:
G = kr1.getGroup(msg.to)
ginfo = kr1.getGroup(msg.to)
Expand Down Expand Up @@ -2851,7 +2851,7 @@ def bot(op):
kr5.sendText(msg.to,"Hallo...!!! " + str(ginfo.name) + "\n\nSemoga Selalu Bahagia...!!!")
print "Semua Sudah Lengkap"

elif "Kabur all" in msg.text:#keluar semua bots
elif "Out all" in msg.text:#keluar semua bots
if msg.from_ in owner:
if msg.toType == 2:
ginfo = kr1.getGroup(msg.to)
Expand All @@ -2868,7 +2868,7 @@ def bot(op):
kr1.leaveGroup(msg.to)
except:
pass
elif "Kris bye" in msg.text:#keluar bot kecuali bot induk
elif "Fy bye" in msg.text:#keluar bot kecuali bot induk
if msg.from_ in owner:
if msg.toType == 2:
ginfo = kr1.getGroup(msg.to)
Expand Down
4 changes: 2 additions & 2 deletions KRIS/Api/Poll.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ class Poll:
host = "gd2.line.naver.jp";
port = 443;

UA = "Line/7.18.0"#"Mozilla/5.0"
LA = "CHROMEOS\t1.4.17\tChrome_OS\t1"#"CHROMEOS\x091.4.13\x09Chrome_OS\x091"
UA = "Line/7.14.0"#"Mozilla/5.0"
LA = "IOSIPAD\t7.14.0\tiPhone OS\t10.12.0"
#UA = "Line/7.18.0"#"Mozilla/5.0"
#LA = "CHROMEOS\t.1.4.5\tChrome_HP\t1"#"CHROMEOS\x091.4.13\x09Chrome_OS\x091"
#UA = "Line/6.0.0 iPad4,1 9.0.2"
Expand Down
4 changes: 2 additions & 2 deletions KRIS/Api/Talk.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class Talk:
host = "gd2.line.naver.jp";
port = 443;

UA = "Line/7.18.0"#"Mozilla/5.0"
LA = "CHROMEOS\t1.4.17\tChrome_OS\t1"#"CHROMEOS\x091.4.13\x09Chrome_OS\x091"
UA = "Line/7.14.0"#"Mozilla/5.0"
LA = "IOSIPAD\t7.14.0\tiPhone OS\t10.12.0"
#UA = "Line/7.18.0"#"Mozilla/5.0"
#LA = "CHROMEOS\t.1.4.5\tChrome_HP\t1"#"CHROMEOS\x091.4.13\x09Chrome_OS\x091"
#UA = "Line/6.0.0 iPad4,1 9.0.2"
Expand Down
4 changes: 2 additions & 2 deletions KRIS/Api/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ class Channel:
http_query_path = "/S4"
channel_query_path = "/CH4"

UA = "Line/7.18.0"#"Mozilla/5.0"
UA = "Line/7.14.0"#"Mozilla/5.0"
#LA = "CHROMEOS\t1.4.17\tChrome_OS\t1"#"CHROMEOS\x091.4.13\x09Chrome_OS\x091"
#UA = "Line/7.18.0"#"Mozilla/5.0"
LA = "CHROMEOS\t.1.4.5\tChrome_HP\t1"#"CHROMEOS\x091.4.13\x09Chrome_OS\x091"
LA = "IOSIPAD\t7.14.0\tiPhone OS\t10.12.0"
#UA = "Line/6.0.0 iPad4,1 9.0.2"
#LA = "DESKTOPMAC 10.10.2-YOSEMITE-x64 MAC 4.5.0"
#UA = "Line/7.18.0 AppleWebKit/534.30"#"Line/6.0.0 iPad4,1 9.0.2"
Expand Down
8 changes: 4 additions & 4 deletions KRIS/LineApi.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ def login(self, mail=None, passwd=None, cert=None, token=None, qr=False, callbac
self.authToken = self.Talk.authToken
self.cert = self.Talk.cert
self._headers = {
'X-Line-Application': 'CHROMEOS\t.1.4.5\tChrome_HP\t1',#'DESKTOPMAC 10.10.2-YOSEMITE-x64 MAC 4.5.0',
'X-Line-Application': 'IOSIPAD\t7.14.0\tiPhone OS\t10.12.0',
'X-Line-Access': self.authToken,
'User-Agent': 'Line/7.18.0'#'Line/7.18.0 AppleWebKit/534.30'#'Line/6.0.0 iPad4,1 9.0.2'#'Line/7.18.0 iPad4,1 9.0.2'
'User-Agent': 'Line/7.14.0'#'Line/7.18.0 AppleWebKit/534.30'#'Line/6.0.0 iPad4,1 9.0.2'#'Line/7.18.0 iPad4,1 9.0.2'
}
self.Poll = Poll(self.authToken)
#self.channel = channel.Channel(self.authToken)
Expand Down Expand Up @@ -443,5 +443,5 @@ def loginResult(self, callback=None):
print("╔════════════════════════════════════════════════════\n╠❂➣❂➣ Mid Kamu -> " + prof.mid)
print("╠❂➣❂➣ Nama Akun -> " + prof.displayName)
print("╠❂➣❂➣ AuthToken Kamu -> " + self.authToken)
print("╠❂➣❂➣ Cert Kamu -> " + self.cert if self.cert is not None else "╠════════════════════════════════════════════════════\n╠❂➣❂➣ Cyber-Army_Bots\n╠❂➣❂➣ line://ti/p/~krissthea\n╚════════════════════════════════════════════════════")
print("═══════════[Team-CAB]═══════════\n═══════════[C-A_Bots]═══════════\n═════════════[Kris]═════════════")
print("╠❂➣❂➣ Cert Kamu -> " + self.cert if self.cert is not None else "╠════════════════════════════════════════════════════\n╠❂➣❂➣ FAckyou_Bots\n╠❂➣❂➣ line://ti/p/~fackyou94\n╚════════════════════════════════════════════════════")
print("═══════════[Team-Fackyou]═══════════\n═══════════[FY_Bots]═══════════\n═════════════[JUNSAN]═════════════")