import requests
import random
import time
url = 'https://cock.li/register'
headers = {
# cookie建议换成自己的
'Cookie': 'XSRF-TOKEN=eyJpdiI6Imlmb1FVMjJOMmwrSTVqeEd2eXZSN0E9PSIsInZhbHVlIjoiZWpqMFJ1d2ZzK0ZDbDZWRVJ3azdweGp3ZDFvaXFlVlQxUjFPQTFXMmVFb0lueWlIYkFaUFdMek9Uc2gzaUJ4ekozaktGcUw5bHoyM0dwSUJXVlZYTkpkZklrNllyYk4zT3hkaFpaeFh5OTlVS0pycHpoZ1IyQUdzcXU5UFJ2dC8iLCJtYWMiOiJjZjg0NjVhY2VjYzkwZjI0MWVlMTdjYzQyMWFiYWY2MTU5MzJkMzY4MWM5ZjhmZDg5NWJjMWVkOWIwODdjZTUxIiwidGFnIjoiIn0%3D; cockli_session=eyJpdiI6Imcrb2pWYjhmd2ZjVDVKb0dmUDZ3RHc9PSIsInZhbHVlIjoiaUVFczlKRnpGS0J1YzMySmQvQ2xYbGEzMytaR0VEa1hsTmRrY0tTTlN1UXBiR01jd1RuN2hSVFhSVGhwVXYydGpycXI0VEVYbVo5NlhIeDViVGVQbU1GWkJsZENuVEkwdDZDRkVsbytCeldHaWowSHY4a05kK3YwVWd0WXBPNU8iLCJtYWMiOiJkMjU4MmZmNGEyN2Y2YjZmOGY0OTBmMzk4NjJiNzdhYWZiNTkwMzQ5OGZmZGE3ZDMyZGExYzY3YzYyZTE5NjM5IiwidGFnIjoiIn0%3D',
'Content-Type': 'application/x-www-form-urlencoded',
}
data = {
# token建议换成自己的
'_token': 'hnrdqo9dfkfwLIMRWmUcrtbNI0FSkixfZ9s5ybfE',
'domain': 'cock.li',
'password': '',
'password_confirmation': '',
'captcha': '',
'news_subscription': 'on',
}
while True:
# letter 字母
letter1 = random.choice('abcdefghijklmnopqrstuvwxyz')
letter2 = random.choice('abcdefghijklmnopqrstuvwxyz')
letter3 = random.choice('abcdefghijklmnopqrstuvwxyz')
username = letter1+letter2+letter3
data['username'] = username
print(f'{username}@{data["domain"]}')
session = requests.Session()
response = session.post(url,headers=headers,data=data)
while True:
response = session.get(url)
print(f'{response.status_code}')
if(response.status_code==200):
break
if "Whoops" in response.text and "already taken retard" not in response.text:
print('\033[92m' + username+ "@"+data["domain"] + " 未被注册" + '\033[0m')
else:
print('\033[91m' + username+ "@"+data["domain"] + " 已注册" + '\033[0m')
time.sleep(3)
技术爱好者,写过很多脚本,以上只是冰山一角,也从未利用脚本盈利。以前没有,以后也更不会有
此脚本共注册了200多个双字母邮箱,比如:[email protected]、[email protected]、[email protected] ......
送出去了一部分,另外的暂时不送,因为本人时间有限,没有精力做这个事
没有账号的人,可以用上面的脚本去筛选优质的邮箱账号
脚本可以直接运行,但是还是建议大家把代码里的cookie
和token
换成自己的。每一个cookie服务器都会绑定一个session,邮箱账号有没有被注册过就是通过session告诉我们的。所以有能力的可以自己去浏览器开发者模式里找cookie和token,如果小白很多,我再出教程