栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

某优鲜APP协议参数paramsMD5 逆向分析

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

某优鲜APP协议参数paramsMD5 逆向分析

rdev frida.get_remote_device() processes rdev.enumerate_processes() # 安卓手机中的所有进程 # print(processes) session rdev.attach( com.rt.market.fresh ) # print(session) script session.create_script(sta) script.on( message , on_message) script.load() sys.stdin.read() 五、请求测试
#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Time : 2021/2/23 14:15
# Author :
# Platform:
import time
import json
import hashlib
import base64,hmac
import requests
import warnings
warnings.filterwarnings( ignore )
T time.strftime( %Y%m%d%H%M%S , time.localtime())
print(T)
def login_info(phone):
 url https://membase-yxapp.feiniu.com/loginController/login/a132 
 headers {
 Content-Type : application/x-www-form-urlencoded ,
 Content-Length : 761 ,
 Host : membase-yxapp.feiniu.com ,
 Connection : Keep-Alive ,
 Accept-Encoding : gzip ,
 User-Agent : okhttp/3.12.0 
 data_json { addrId : , apiVersion : a1.32 , appVersion : 1.4.0 , body :{ cid : af7a589f425a387519c56b2224fa22a3 , isFromReg : 0 , password : 123456qerrt , storeCode : , username :phone}, channel : WanDouJia , deviceId : 2ce10d59284c091b-0d59-2ce1-091b-284c , httpsEnable :1, isSimulator :False, networkType : WIFI , osType :1, reRule : 4 , scopeType :0, source : yx , time :T, token : f062fb5d76032dd31df051216a3738a3 , viewSize : 1440x2392 }
 dataStr json.dumps(data_json, ensure_ascii False)
 isSimulator data_json[ isSimulator ]
 viewSize data_json[ viewSize ]
 networkType data_json[ networkType ]
 time data_json[ time ]
 # isSimulator 是否是模拟器 布尔值,Java中的值是小写,所以这里要转换为小写
 dataStr dataStr (str(isSimulator).lower() viewSize networkType time)
 print(dataStr)
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/267090.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号