B站登录入口密码加密JS逆向
1.先Search password 关键字
找到公钥KEY
"-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDjb4V7EidX/ym28t2ybo0U6t0n
6p4ej8VjqKHg100va6jkNbNTrLQqMCQCAYtXMXXp2Fwkk6WR+12N9zknLjf+C9sx
/+l48mjUU8RqahiFD1XT/u2e0m2EN029OhCgkHx3Fc/KlFSIbak93EH/XlYis0w+
Xl69GV6klzgxW6d2xQIDAQAB
-----END PUBLIC KEY-----
"
2.找到加密方法
n = ze {default_key_size: 1024, default_public_exponent: "010001", log: false, key: _e}
t = {hash: "4bb7026fe527fe6a", key: "-----BEGIN PUBLIC KEY-----↵MIGfMA0GCSqGSIb3DQEBAQU…l69GV6klzgxW6d2xQIDAQAB↵-----END PUBLIC KEY-----↵"}
var a = n.encrypt(t.hash + e); e #密码
var a = "4bb7026fe527fe6a"+"123456"
大功告成: