Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

登录接口对 password 添加了加密 #588

Open
hldh214 opened this issue Jul 22, 2017 · 12 comments
Open

登录接口对 password 添加了加密 #588

hldh214 opened this issue Jul 22, 2017 · 12 comments

Comments

@hldh214
Copy link
Contributor

hldh214 commented Jul 22, 2017

js 版算法
https://gist.github.com/hldh214/e5d5d8eda6cde9c1d800218cb805940a

@hldh214
Copy link
Contributor Author

hldh214 commented Aug 1, 2017

邮箱登录使用了 yidun + md5
多加了一个 clientToken 字段

http://nos.netease.com/yidun/res-wm-1.0.js?t=0

手机登录暂时只有对 password 字段的裸 md5

@hldh214
Copy link
Contributor Author

hldh214 commented Aug 2, 2017

@Binaryify
Copy link

@hldh214
你这个算法能解决邮箱登录问题吗

@hldh214
Copy link
Contributor Author

hldh214 commented Aug 2, 2017

@Binaryify
能, 但是可能会使用到 js 引擎

@Binaryify
Copy link

@hldh214
但是我试了不行

@hldh214
Copy link
Contributor Author

hldh214 commented Aug 2, 2017

@Binaryify
贴代码

@hldh214
Copy link
Contributor Author

hldh214 commented Aug 14, 2017

手机登录

import hashlib
import requests

phone = ''
password = ''

print(requests.post('http://music.163.com/api/login/cellphone', data={
    'phone': phone,
    'password': hashlib.md5(password.encode()).hexdigest()
}).text)

@Binaryify
Copy link

image
image

@hldh214
Copy link
Contributor Author

hldh214 commented Aug 14, 2017 via email

@Binaryify
Copy link

@hldh214
我试试

@shengchaojie
Copy link

有什么好的方式修复这个邮箱登陆么。。

@hldh214
Copy link
Contributor Author

hldh214 commented Aug 23, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants