声明
本文章中所有内容仅供学习交流使用,不用于其他任何目的,抓包内容、敏感网址、数据接口等均已做脱敏处理,严禁用于商业用途和非法用途,否则由此产生的一切后果均与作者无关!
逆向过程
部分python代码
def encrypt_password(password: str) -> str:
key = RSA.import_key(RSA_PUBLIC_KEY)
cipher = PKCS1_v1_5.new(key)
encrypted = cipher.encrypt(password.encode('utf-8'))
return base64.b64encode(encrypted).decode('utf-8')
if __name__ == '__main__':
# 示例:使用已知的加密密码
# 注意:password需要是RSA加密后的值
password_rsa =encrypt_password('')
uid = ""
response = login(password_rsa, uid, APP_KEY)
print(f"\n[+] 响应状态: {response.status_code}")
print(f"[+] 响应内容: {response.text}")
结果
