Sponsor me on PayPal |
yudaotor / riot-accounts-autochangepassword Goto Github PK
View Code? Open in Web Editor NEWRiot account AutoChangePassword(拳头账号批量自动修改密码, 支持邮箱验证的账号)
License: Other
Riot account AutoChangePassword(拳头账号批量自动修改密码, 支持邮箱验证的账号)
License: Other
日志显示:
2023-04-02 13:27:53,436 INFO: -------------------------------------------------
2023-04-02 13:27:53,436 INFO: ----------- Program started ---------------
2023-04-02 13:27:53,436 INFO: ----------- 本项目开源于github ---------------
2023-04-02 13:27:53,436 INFO: --------- 地址:https://github.com/Yudaotor/Riot-Accounts-AutoChangePassword ------------
2023-04-02 13:27:53,437 INFO: ----------- 可以点一个小星星吗(^_^) ---------------
2023-04-02 13:27:53,437 INFO: -------------------------------------------------
2023-04-02 13:27:53,440 ERROR: Traceback (most recent call last):
File "main.py", line 28, in init
File "Config.py", line 23, in init
ValueError: invalid literal for int() with base 10: ''
在输入第二个账号验证码的时候经常会因为获取新验证码太慢而输入的是前账户的验证码导致登陆失败,有没有什么好的解决办法呢?
2023-04-22 06:57:33,419 INFO: ====== WebDriver manager ======
2023-04-22 06:57:34,200 INFO: Get LATEST chromedriver version for google-chrome 112.0.5615
2023-04-22 06:57:35,465 INFO: Driver [.\driver.wdm\drivers\chromedriver\win32\112.0.5615\chromedriver.exe] found in cache
2023-04-22 06:57:57,806 ERROR: IMAP获取验证码失败
我的格式
imapServer: "imap.163.com"
imapUsername: "***@163.com"
imapPassword: "RFFWGZE"
imapDelay: "10"
最近在使用脚本批量改密时,突然发现邮箱无法收到验证,大概一个月前还是正常的,并且问了好几个撸友都存在同样的情况。
具体现象是:
1.用脚本改密,页面可以正常走到已发送验证码,并停留在等待验证码输入(6个正方形框框)的页面;
2.但是邮箱并没有收到验证码邮件,即没有正常发送验证码;
3.邮箱授权码配置正常,且可以被脚本访问到,因为在过了delay时间后,脚本读取到了邮箱里以前的老验证码邮件并填到了当前的验证码框框中,最终导致验证码错误;
4.我自己手动登录拳头官方账号管理网站(https://account.riotgames.com/)改密并发送验证码,邮箱是可以正常收到验证码邮件的。
据我观察,可能是拳头最近更新了官方账号管理网站,脚本里用的还是老的账号管理网址(因为我发现脚本打开的页面和我自己打开的页面长得不一样),所以导致验证码邮件发送失败。
有时候会因为各种原因导致某些密码更改失败,能不能让更改失败的账号单独导出到一个txt文件中,在第一次更改完成后,再次更改失败的账号
大佬,请问如果想把密码改为随机密码应该怎么设置呢?
使用163邮箱,必须在select之前上传客户端身份信息,否则会报错失败,下面是解决方法:
在Handler.py加入以下代码:
def setid(conn, username): imaplib.Commands['ID'] = 'AUTH' args = ("name", username, "contact", username, "version", "1.0.0", "vendor", "myclient") typ, dat = conn._simple_command('ID', '("' + '" "'.join(args) + '")')
然后在M.login(username, password)
后面加上setid(M, username)
。如截图:
就是如题错误
RT
qq邮箱和163邮箱都试过,IMAP功能也开启了,最后都提示IMAP获取验证码失败
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.