import random import requests short = ["bgql", "wjbu", "vnfg", "bgql"] udid_lists = [ "f55df38afe5c1242b8bc478d0182bbd0d7d08929aeasadfsdf", "f55df38afe5c1242b8bc478d0182bbd0d7d08929", "f55df38afe5c1242b8bc478d0182bbd0d7d08922", "f55df38afe5c1242b8bc478d0182bbd0d7d01129", "f55df38afe5c1242b8bc478d0182bbd0d723929", "f55df38afe5c1242b8bc478d0182bbd0d7d118929", "f55df38afe5c1242b8bc478d0182bbd0d7d08929", "f55df38afe5c1242b8bc478d0182bbd0daed08929", "f55df38afe5c1242b8bc478d0182bbd0d7d08929", "f55df38afe5c1242b8bc478d0182bbdfsdfe7d08929", "f55df38afe5c1242b8bc478d0182bbdfsdfe7d08929", "f55df38afe5c1242b8bc478d0182bbdfsdfe7d08929", "f55df38afe5c1242b8bc478d0182dsfsdd7d08929", "f55df38afe5c1242b8bc478d0182dsfsdd7d08929", "f55df38afe5c1242b8bc478d0182dsfsdd7d08929", "f55df38afe5c1242b8bc478d0182bbdsdfsadf8929", "f55df38afe5c1242b8bc478d01sdsdfsdd0d7d08929", "f55df38afe5c1242b8bc478sdfsdffsdafd7d08929", "f55df38afe5c1242b8bc478sdfsdffsdafd7d08929", "f55df38afe5c1242b8bc478sdfsdffsdafd7d08929", "f55df38afe5c1242b8bc478d0182bbd0d7d08929", "f55df38afe5c1242b8bc478dsdfeasdfbbd0d7d08929", "f55df38afe5c1242b8bc478dfsdfseasbd0d7d08929", "f55df38afe5c1242b8bc478d0sdfseafsdbbd0d7d08929", "f55df38afe5c1242b8asdfae8ds2bbd0d7d118929", "f55df38afe5c1242b8bc47sfsdf2bbd0d7dd18929", "f55df38afe5c1242b8bc478d0182bbd0d7d0ae8929", "f55df38afe5c1242b8bc478d0182bbd0d7dsfe08929", ] def postaaa(shorts='bncz'): for udid in udid_lists: udid = udid + str(random.choice(short)) + str(random.choice(short)) + str(random.choice(short)) + shorts data = '\n\n\n\n\tPRODUCT\n\tiPhone9,1\n\tSERIAL\n\tF71YD58GHG74\n\tUDID\n\t%s\n\tVERSION\n\t17E262\n\n\n' % ( udid) # uri = "https://app.hehelucky.cn/udid/%s" % (random.choice(short)) uri = "https://app.hehelucky.cn/udid/%s" % (shorts) req = requests.post(uri, data=data) print(req.headers) print(req.status_code) print(req.text) exit(1) # a = '验证码%(code)s,您正在注册成为新用户,感谢您的支持!' # print(a % {'code': 111}) pa = 10 while pa > 0: postaaa() pa = pa - 1 postaaa()