# 方法映射 _0x36294a = { "VIRpO": lambda a, b: a < b, "PRedm": lambda a, b: a % b, "TTSVu": lambda a, b: a + b, "rOuyL": lambda a, b: a % b, "YJYZC": lambda a, b: a * b, "LrwDB": lambda a, b: a * b, }
_0x5b56f8 = ''
for _0x1af38d in range(32): _0x5b56f8 += str(_0x36294a["PRedm"](_0x36294a["TTSVu"](_0x36294a["TTSVu"](_0x36294a["TTSVu"](ord(_0x4ea2ce[_0x1af38d]), _0x36294a["rOuyL"](_0x36294a["YJYZC"](ord(_0x4ea2ce[_0x1af38d]), ord(_0x4ea2ce[_0x1af38d])), 0x20)), ord(_0x8c9894[_0x1af38d])), _0x36294a["LrwDB"](_0x1af38d, _0x1af38d)), 0x9))
# sign 加密要用到的方法映射(模拟网站JS代码) _0x36294a = { "VIRpO": lambda a, b: a < b, "PRedm": lambda a, b: a % b, "TTSVu": lambda a, b: a + b, "rOuyL": lambda a, b: a % b, "YJYZC": lambda a, b: a * b, "LrwDB": lambda a, b: a * b, }
defget_md5(s): """ md5 加密 :param s: :return: """ result = md5(s.encode()).hexdigest() return result
asyncdefget_info(url, data): # ssl证书设置 conn = aiohttp.TCPConnector(ssl=False) asyncwith aiohttp.ClientSession(connector=conn) as session: asyncwith session.post(url, data=data, proxy=proxy) as resp: if resp.status: info = await resp.json(content_type='text/html',encoding='utf-8') return info
if __name__ == '__main__': accounts = [account1, account2] event_loop = asyncio.get_event_loop() tasks = [get_info(url, set_data(account, '0')) for account in accounts] event_loop.run_until_complete(asyncio.wait(tasks)) event_loop.close()