sign
https://h5api.m.goofish.com/h5/mtop.taobao.idle.mach.advertise.batch.output/1.0/?jsv=2.6.1&appKey=12574478&t=1645101246629&sign=ad4ebcdb386e847155f72f77e2560c3c&api=mtop.taobao.idle.mach.advertise.batch.output&v=1.0&noErrorToast=true&ceFallbackConf=%5Bobject%20Object%5D&dataType=json&valueType=string&preventFallback=true&type=json&c=8f2ee11be8b5415f897700231f114250_1645103448553%3B25ff3eedbd63056b5fc1d260a1838bcf&data=%7B%22batchParameters%22%3A%5B%7B%22resourceId%22%3A%22494%22%7D%2C%7B%22resourceId%22%3A%22497%22%7D%2C%7B%22resourceId%22%3A%22500%22%7D%2C%7B%22resourceId%22%3A%22586%22%7D%2C%7B%22resourceId%22%3A%22502%22%7D%2C%7B%22resourceId%22%3A%22511%22%7D%2C%7B%22resourceId%22%3A%22637%22%7D%2C%7B%22resourceId%22%3A%22514%22%7D%2C%7B%22resourceId%22%3A%22625%22%7D%2C%7B%22resourceId%22%3A%22559%22%7D%2C%7B%22resourceId%22%3A%22512%22%7D%2C%7B%22resourceId%22%3A%22513%22%7D%2C%7B%22resourceId%22%3A%22561%22%7D%2C%7B%22resourceId%22%3A%22560%22%7D%2C%7B%22resourceId%22%3A%22515%22%7D%2C%7B%22resourceId%22%3A%22607%22%7D%5D%7D https://h5api.m.goofish.com/h5/mtop.taobao.idle.mach.items/1.0/?jsv=2.6.1&appKey=12574478&t=1645101247742&sign=96de249020d247d917e552abf8098c04&api=mtop.taobao.idle.mach.items&v=1.0&noErrorToast=true&ceFallbackConf=%5Bobject%20Object%5D&dataType=json&valueType=string&preventFallback=true&type=json&c=8f2ee11be8b5415f897700231f114250_1645103448553%3B25ff3eedbd63056b5fc1d260a1838bcf&data=%7B%22pageSize%22%3A20%2C%22itemIds%22%3A%22%22%2C%22dataSourceId%22%3A%226515%22%2C%22pageNumber%22%3A1%2C%22tppSceneKey%22%3A%22IdleWygChannelHomePage%22%2C%22pageUrl%22%3A%22%22%2C%22needFrontPage%22%3Afalse%2C%22needBrandName%22%3A%22true%22%7D https://h5api.m.goofish.com/h5/mtop.taobao.idle.mach.items/1.0/?jsv=2.6.1&appKey=12574478&t=1645101248272&sign=5d9f9f74b32331a3968db4400e4fa3b1&api=mtop.taobao.idle.mach.items&v=1.0&noErrorToast=true&ceFallbackConf=%5Bobject%20Object%5D&dataType=json&valueType=string&preventFallback=true&type=json&c=8f2ee11be8b5415f897700231f114250_1645103448553%3B25ff3eedbd63056b5fc1d260a1838bcf&data=%7B%22pageSize%22%3A5%2C%22dataSourceId%22%3A%223136%22%2C%22pageNumber%22%3A1%2C%22tppSceneKey%22%3A%22IdleWygChannelHomePage%22%2C%22pageUrl%22%3A%22%22%2C%22needFrontPage%22%3Afalse%2C%22tppParam%22%3A%7B%22entrance%22%3Atrue%7D%7D https://h5api.m.goofish.com/h5/mtop.taobao.idle.mach.items/1.0/?jsv=2.6.1&appKey=12574478&t=1645101248273&sign=e995dc2f81a40791acdc5b4dc3162607&api=mtop.taobao.idle.mach.items&v=1.0&noErrorToast=true&ceFallbackConf=%5Bobject%20Object%5D&dataType=json&valueType=string&preventFallback=true&type=json&c=8f2ee11be8b5415f897700231f114250_1645103448553%3B25ff3eedbd63056b5fc1d260a1838bcf&data=%7B%22pageSize%22%3A5%2C%22dataSourceId%22%3A%226317%22%2C%22pageNumber%22%3A1%2C%22tppSceneKey%22%3A%22IdleWygChannelHomePage%22%2C%22pageUrl%22%3A%22%22%2C%22needFrontPage%22%3Afalse%2C%22tppParam%22%3A%7B%22entrance%22%3Atrue%7D%7D https://h5api.m.goofish.com/h5/mtop.taobao.idle.mach.items/1.0/?jsv=2.6.1&appKey=12574478&t=1645101595622&sign=a38a55a2394e8031bb8951d3de06cfb7&api=mtop.taobao.idle.mach.items&v=1.0&noErrorToast=true&ceFallbackConf=%5Bobject%20Object%5D&dataType=json&valueType=string&preventFallback=true&type=json&c=8f2ee11be8b5415f897700231f114250_1645103448553%3B25ff3eedbd63056b5fc1d260a1838bcf&data=%7B%22pageSize%22%3A20%2C%22itemIds%22%3A%22%22%2C%22dataSourceId%22%3A%226515%22%2C%22pageNumber%22%3A2%2C%22tppSceneKey%22%3A%22IdleWygChannelHomePage%22%2C%22pageUrl%22%3A%22%22%2C%22needFrontPage%22%3Afalse%2C%22needBrandName%22%3A%22true%22%7D https://h5api.m.goofish.com/h5/mtop.taobao.idle.mach.items/1.0/?jsv=2.6.1&appKey=12574478&t=1645101601010&sign=3cd2130fa1aaaca2b05716bb9e56e6b8&api=mtop.taobao.idle.mach.items&v=1.0&noErrorToast=true&ceFallbackConf=%5Bobject%20Object%5D&dataType=json&valueType=string&preventFallback=true&type=json&c=8f2ee11be8b5415f897700231f114250_1645103448553%3B25ff3eedbd63056b5fc1d260a1838bcf&data=%7B%22pageSize%22%3A20%2C%22itemIds%22%3A%22%22%2C%22dataSourceId%22%3A%223370%22%2C%22pageNumber%22%3A1%2C%22tppSceneKey%22%3A%22IdleWygChannelHomePage%22%2C%22pageUrl%22%3A%22%22%2C%22needFrontPage%22%3Afalse%2C%22needBrandName%22%3A%22true%22%7D
:method GET :authority h5api.m.goofish.com :scheme https :path /h5/mtop.taobao.idle.mach.items/1.0/?jsv=2.6.1&appKey=12574478&t=1645100109992&sign=2f5e4c05d4231d49ffc9d4993ac559ef&api=mtop.taobao.idle.mach.items&v=1.0&noErrorToast=true&ceFallbackConf=%5Bobject%20Object%5D&dataType=json&valueType=string&preventFallback=true&type=json&c=8f2ee11be8b5415f897700231f114250_1645103448553%3B25ff3eedbd63056b5fc1d260a1838bcf&data=%7B%22pageSize%22%3A20%2C%22itemIds%22%3A%22%22%2C%22dataSourceId%22%3A%226515%22%2C%22pageNumber%22%3A3%2C%22tppSceneKey%22%3A%22IdleWygChannelHomePage%22%2C%22pageUrl%22%3A%22%22%2C%22needFrontPage%22%3Afalse%2C%22needBrandName%22%3A%22true%22%7D sec-ch-ua " Not;A Brand";v="99", "Google Chrome";v="97", "Chromium";v="97" accept application/json content-type application/x-www-form-urlencoded sec-ch-ua-mobile ?0 user-agent Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36 sec-ch-ua-platform "Windows" origin https://market.m.taobao.com sec-fetch-site cross-site sec-fetch-mode cors sec-fetch-dest empty referer https://market.m.taobao.com/ accept-encoding gzip, deflate, br accept-language zh-CN,zh;q=0.9 cookie _m_h5_tk=8f2ee11be8b5415f897700231f114250_1645103448553 cookie _m_h5_tk_enc=25ff3eedbd63056b5fc1d260a1838bcf cookie _samesite_flag_=true cookie cookie2=186a0235332dce3f74e54187473d4c34 cookie t=5e0f6bf28fe657c786444c7f28b8c12c cookie _tb_token_=340ab303306e7 cookie cna=CYWSGnAYrU0CAXDya41MP6pf cookie xlly_s=1 cookie isg=BNnZ9mVP30YdqoPSUsyHVtTP6MWzZs0YG7zN7vuNyoB_Av6USLUc6mHTAMZ0umVQ jsv 2.6.1 appKey 12574478 t 1645099687060 sign ec3e7106ca98326e9358bb182de41fc0 api mtop.taobao.idle.mach.items v 1.0 noErrorToast true ceFallbackConf [object Object] dataType json valueType string preventFallback true type json c 8f2ee11be8b5415f897700231f114250_1645103448553;25ff3eedbd63056b5fc1d260a1838bcf data {"pageSize":5,"dataSourceId":"6317","pageNumber":1,"tppSceneKey":"IdleWygChannelHomePage","pageUrl":"","needFrontPage":false,"tppParam":{"entrance":true}}
https://market.m.taobao.com/app/idleFish-F2e/fish-yp-v2/home.html
i: 1645020905589 g: "12574478" d.token: "6782bb3754d77b7e25cfe0afe34e333d" c.data: "{\"batchParameters\":[{\"resourceId\":\"620\"}]}" g = c.appKey || ("waptest" === d.subDomain ? "4272" : "12574478") i = (new Date).getTime() j = h(d.token + "&" + i + "&" + g + "&" + c.data) , k = { jsv: z, appKey: g, t: i, sign: j
''' jsv: 2.6.1 appKey: 12574478 t: 1644927350769 sign: 1fb7dc4b922d59d62b4182478b5a08ca api: mtop.taobao.idle.mach.items v: 1.0 noErrorToast: true ceFallbackConf: [object Object] dataType: json valueType: string preventFallback: true type: json c: d54b616ce9f243cc1f559f0dbcaf316a_1644934649732;8f38d8f5900007e5c12a1dcc69619a7b data: {"pageSize":20,"itemIds":"","dataSourceId":"3134","pageNumber":2,"tppSceneKey":"IdleWygChannelHomePage","pageUrl":"","needFrontPage":false,"needBrandName":"true"}''' import itertools from hashlib import md5 from string import ascii_letters,digits from itertools import permutations import time from datetime import datetime import pymysql,sys ab=['2.6.1','12574478','1644927350769','mtop.taobao.idle.mach.items','1.0','true','[object Object]','json','string','true','json','d54b616ce9f243cc1f559f0dbcaf316a_1644934649732;8f38d8f5900007e5c12a1dcc69619a7b', 'data: {"pageSize":20,"itemIds":"","dataSourceId":"3134","pageNumber":2,"tppSceneKey":"IdleWygChannelHomePage","pageUrl":"","needFrontPage":false,"needBrandName":"true"}'] def decrypt_md5(md5_value): if len(md5_value)!=32: print('error') return md5_value=md5_value.lower() for k in range(5,6): for item in permutations(all_letters,k): item=''.join(item) #print('.',end='') result=[] key1=item key2=md5(item.encode()).hexdigest() result.append(([key1,key2,])) print(time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())) charu(result) if key2==md5_value: return item n=3 aa='a57644c96b731fa1e8881e66b8a87398&1645006765989&12574478&{\"batchParameters\":[{\"resourceId\":\"620\"}]}' print(md5(aa.encode()).hexdigest()) sys.exit(0) for n in range(4,14): my_list = list(itertools.permutations(ab, n)) for i in my_list: ab=i cc=i[0]+''+i[1]+''+i[2] #print(cc) key1=md5(cc.encode()).hexdigest() print(key1) if key1=='1fb7dc4b922d59d62b4182478b5a08ca': print("good")
https://g.alicdn.com/mtb/lib-mtop/2.6.1/mtop.js
''' jsv: 2.6.1 appKey: 12574478 t: 1644927350769 sign: 1fb7dc4b922d59d62b4182478b5a08ca api: mtop.taobao.idle.mach.items v: 1.0 noErrorToast: true ceFallbackConf: [object Object] dataType: json valueType: string preventFallback: true type: json c: d54b616ce9f243cc1f559f0dbcaf316a_1644934649732;8f38d8f5900007e5c12a1dcc69619a7b data: {"pageSize":20,"itemIds":"","dataSourceId":"3134","pageNumber":2,"tppSceneKey":"IdleWygChannelHomePage","pageUrl":"","needFrontPage":false,"needBrandName":"true"}''' import itertools from hashlib import md5 from string import ascii_letters,digits from itertools import permutations import time from datetime import datetime import pymysql,sys ab=['2.6.1','12574478','1644927350769','mtop.taobao.idle.mach.items','1.0','true','[object Object]','json','string','true','json','d54b616ce9f243cc1f559f0dbcaf316a_1644934649732;8f38d8f5900007e5c12a1dcc69619a7b', 'data: {"pageSize":20,"itemIds":"","dataSourceId":"3134","pageNumber":2,"tppSceneKey":"IdleWygChannelHomePage","pageUrl":"","needFrontPage":false,"needBrandName":"true"}'] def decrypt_md5(md5_value): if len(md5_value)!=32: print('error') return md5_value=md5_value.lower() for k in range(5,6): for item in permutations(all_letters,k): item=''.join(item) #print('.',end='') result=[] key1=item key2=md5(item.encode()).hexdigest() result.append(([key1,key2,])) print(time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())) charu(result) if key2==md5_value: return item n=3 my_list = list(itertools.permutations(ab, n)) for i in my_list: ab=i cc="" for ia in range(n+1): cc="".join(ab[ia]) print(cc)