Hi guys, im trying to decode gears kodi addon but without success:
Im trying to print the encoded text from the information held in the default.py script.
Can anyone help me print the encoded text in my example script?
my test.py script returnes an error in python when run, like this:
$ python test.py
Traceback (most recent call last):
File "test.py", line 20, in <module>
sys.setdefaultencoding(l1lll1_opy_ (u"???????"))
File "test.py", line 13, in l1lll1_opy_
l1l11l_opy_ = unicode () .join ([unichr (ord (char) - l1l11ll1_opy_ - (l1111_opy_ + l11ll11l_opy_) % l111llll_opy_) for l1111_opy_, char in enumerate (l1l11l1_opy_)])
ValueError: unichr() arg not in range(0x110000) (wide Python build)
can anyone help?
Im trying to print the encoded text from the information held in the default.py script.
Can anyone help me print the encoded text in my example script?
Python:
# coding: UTF-8
import sys
l1111ll1_opy_ = sys.version_info [0] == 2
l1l11ll1_opy_ = 2048
l111llll_opy_ = 7
def l1lll1_opy_ (l1ll111_opy_):
global l1l1l111_opy_
l11ll11l_opy_ = ord (l1ll111_opy_ [-1])
l1l1ll_opy_ = l1ll111_opy_ [:-1]
l1lll11l_opy_ = l11ll11l_opy_ % len (l1l1ll_opy_)
l1l11l1_opy_ = l1l1ll_opy_ [:l1lll11l_opy_] + l1l1ll_opy_ [l1lll11l_opy_:]
if l1111ll1_opy_:
l1l11l_opy_ = unicode () .join ([unichr (ord (char) - l1l11ll1_opy_ - (l1111_opy_ + l11ll11l_opy_) % l111llll_opy_) for l1111_opy_, char in enumerate (l1l11l1_opy_)])
else:
l1l11l_opy_ = str () .join ([chr (ord (char) - l1l11ll1_opy_ - (l1111_opy_ + l11ll11l_opy_) % l111llll_opy_) for l1111_opy_, char in enumerate (l1l11l1_opy_)])
return eval (l1l11l_opy_)
# import urllib,urllib2,sys,re,xbmcgui,xbmcaddon,datetime,os,json,base64,requests,pyxbmct,tools,thread,threading,time
# import xml.etree.ElementTree as ElementTree
reload(sys)
sys.setdefaultencoding(l1lll1_opy_ (u"ࠫࡺࡺࡦ࠹ࠩࠀ"))
print (u"ࠧ࠻࠱࠶ࠤࠁ")
my test.py script returnes an error in python when run, like this:
$ python test.py
Traceback (most recent call last):
File "test.py", line 20, in <module>
sys.setdefaultencoding(l1lll1_opy_ (u"???????"))
File "test.py", line 13, in l1lll1_opy_
l1l11l_opy_ = unicode () .join ([unichr (ord (char) - l1l11ll1_opy_ - (l1111_opy_ + l11ll11l_opy_) % l111llll_opy_) for l1111_opy_, char in enumerate (l1l11l1_opy_)])
ValueError: unichr() arg not in range(0x110000) (wide Python build)
can anyone help?
Last edited: