freemodel.in autoreg: captcha solver, TG verify gate, key farm, new-api inject
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
import concurrent.futures as cf, re, sys, requests
|
||||
def t(p):
|
||||
px={"http":"http://"+p,"https":"http://"+p}
|
||||
try:
|
||||
r=requests.get("https://freemodel.in/register",proxies=px,timeout=15,
|
||||
headers={"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 Chrome/156.0 Safari/537.36"})
|
||||
if r.status_code!=200 or 'name="_token"' not in r.text or 'captcha.js' not in r.text:
|
||||
return None
|
||||
ip=requests.get("https://api.ipify.org",proxies=px,timeout=12).text.strip()
|
||||
return (p,ip)
|
||||
except Exception:
|
||||
return None
|
||||
if __name__=="__main__":
|
||||
src=sys.argv[1]
|
||||
ps=[x.strip() for x in open(src,encoding='utf-8') if x.strip()]
|
||||
ok=[]
|
||||
with cf.ThreadPoolExecutor(40) as ex:
|
||||
for r in ex.map(t,ps):
|
||||
if r: ok.append(r); print("OK",r[0],r[1],flush=True)
|
||||
open("px_ok2.txt","w").write("\n".join(x[0] for x in ok))
|
||||
print("good",len(ok),"of",len(ps))
|
||||
Reference in New Issue
Block a user