code
stringlengths
3
6.57k
datetime.timedelta (days=1)
strftime ('%Y-%m-%d')
datetime.datetime.now ()
strftime ('%Y-%m-%d %H:%M:%S.%f8')
format (today, time1)
format (today, time2)
os.path.dirname (os.path.abspath (__file__)
join (random.sample ('123456789abcdef123456789abcdef123456789abcdef123456789abcdef', 32)
join (random.sample ('123456789abcdef123456789abcdef123456789abcdef123456789abcdefABCDEFGHIJKLMNOPQRSTUVWXYZ', 43)
printT(s)
print ("[{0}]: {1}".format (datetime.datetime.now ()
strftime ("%Y-%m-%d %H:%M:%S")
sys.stdout.flush ()
getEnvs(label)
float (label)
label.split ('&')
label.split ('@')
int (label)
open (v4f, 'r', encoding='utf-8')
v4f.read ()
re.compile (r'^export\s(.*?)
r.findall (v4Env)
locals ()
getEnvs (i[1])
open(path, "r+", encoding="utf-8")
f.read()
re.compile (r"pt_key=.*?pt_pin=.*?;", re.M | re.S | re.I)
r.findall (ck)
print(cookies)
print(cookies)
cookies.split ('&')
printT ("已获取并使用ck环境 Cookie")
len (os.environ["plant_cookie"])
int(os.environ["plant_cookie"])
split('&')
printT ("已获取并使用Env环境cookie")
len (os.environ["plant_cookie"])
cookies1.split ('&')
split('&')
cookies.append(cookies1[int(i)
printT ("已获取并使用Env环境plant_cookies")
printT ("变量plant_cookie未填写")
exit (0)
printT (f"已获取并使用Env环境choose_plant_id={choose_plant_id}")
printT ("变量choose_plant_id未填写,默认为false只种植了一个,如果种植了多个,请填写改变量planted_id")
len (os.environ["planted_id"])
planted_ids.split ('&')
printT (f"已获取并使用Env环境planted_id={planted_id}")
printT ("变量planted_id未填写,默认为false只种植了一个,如果种植了多个,请填写改变量planted_id")
printT (f"已获取并使用Env环境beauty_plant_exchange={beauty_plant_exchange}")
printT ("变量beauty_plant_exchange未填写,默认为false,不用美妆币兑换肥料")
userAgent()
join (random.sample ('123456789abcdef123456789abcdef123456789abcdef123456789abcdef', 40)
join (random.sample ('1234567898647', 10)
random.sample (["14.5.1", "14.4", "14.3", "14.2", "14.1", "14.0.1", "13.7", "13.1.2", "13.1.1"], 1)
iosVer.replace ('.', '_')
join (random.sample (["8", "9", "10", "11", "12", "13"], 1)
join (random.sample ('0987654321ABCDEF', 8)
random.sample ('0987654321ABCDEF', 4)
random.sample ('0987654321ABCDEF', 4)
random.sample ('0987654321ABCDEF', 4)
join (random.sample ('0987654321ABCDEF', 12)
msg (object)
__init__(self, m='')
self.message ()
message(self)
printT (self.str_msg)
format (msg_info, self.str_msg)
format (self.str_msg)
sys.stdout.flush ()
getsendNotify(self, a=0)
requests.get (url)
open ('sendNotify.py', "w+", encoding="utf-8")
f.write (response.text)
self.getsendNotify (a)
self.getsendNotify (a)
main(self)
os.path.abspath (os.path.dirname (__file__)
sys.path.append (cur_path)
os.path.exists (cur_path + "/sendNotify.py")
self.getsendNotify ()
printT ("加载通知服务失败~")
self.getsendNotify ()
printT ("加载通知服务失败~")
msg ()
main ()
setName(cookie)
re.compile (r"pt_pin=(.*?)
r.findall (cookie)
print (userName)
unquote (userName[0])
r.findall(cookie)
print(userName)
print (e, "cookie格式有误!")
exit (2)
get_ck(token, sid_ck, account)
int (round (time.time ()
int (timestamp / 1000)
print(data)
requests.post (url=url, verify=False, headers=headers, data=data)