本帖最后由 闷骚小贱男 于 2021-3-30 21:04 编辑
装个反射大师3.5 一键脱壳不香吗
DEX下载地址https://wwa.lanzouj.com/iSMEpnhgd1a
[可以直接用MT等工具查看]
反射大师3.5+XP框架脱壳 下载:https://wwa.lanzouj.com/b03zi4n0j 密码:52pj
以下代码出自com.ssxg.cheers.utils.Utils
[Java] 纯文本查看 复制代码 public static final com.cheers.okhttplibrary.c.e.c getPostMethodRequest(Class cls, String str, Map<String, String> map) {
String LongtoSecondScale = DataUtils.LongtoSecondScale(String.valueOf(System.currentTimeMillis()), 0);
String randomString = getRandomString(16);
long length = (long) (LongtoSecondScale.length() << 3);
c.a("time_stamp", "" + length);
String upperCase = md5(randomString + length).toUpperCase();
c.c("secret--->" + upperCase);
if (map == null) {
try {
map = new HashMap<>();
} catch (Exception e) {
e.printStackTrace();
return null;
}
}
map.put("nonce_str", randomString);
map.put("timestamp", LongtoSecondScale);
map.put("isfast", "0");
map.put("channel", getChannelName(com.cheers.okhttplibrary.b.c.getContext()));
map.put("system", "android");
map.put("imei", getImei());
map.put("alyimei", getAlyImei());
map.put("oaid", getOaidImei());
map.put("udid", getUdid());
map.put("device", Build.BRAND + "-" + Build.MODEL);
map.put("version", "6.2.7");
map.put("osversion", "android " + getSystemVersion());
map.put("simulator", getEmulator());
map.put("resolution", DisplayUtils.getHeightPixels() + "*" + DisplayUtils.getWidthPixels());
map.put("nettype", NetUtils.getNetworkType());
map.put("operator", getSubscriptionOperatorType());
map.put("location", a.a().a("latitude", "0") + "," + a.a().a("longitude", "0"));
map.put("pushid", JPushInterface.getRegistrationID(AppAplication.getInstance()));
List<Map.Entry<String, String>> formatSortParam = formatSortParam(map);
JSONObject jSONObject = new JSONObject(true);
for (Map.Entry next : formatSortParam) {
if (!TextUtils.isEmpty((CharSequence) next.getKey())) {
jSONObject.put((String) next.getKey(), next.getValue());
}
}
String json = jSONObject.toString();
c.c("json--->" + json);
String md5 = md5(json + upperCase);
c.c("stringSign--->" + md5);
String upperCase2 = HMACSHA256(md5, upperCase).toUpperCase();
c.c("signature--->" + upperCase2);
com.cheers.okhttplibrary.c.e.b bVar = new com.cheers.okhttplibrary.c.e.b(cls, "https://api.yuexiangvideo.com/api/v1/" + str);
bVar.a("biz_content", Base64Utils.encode(json.getBytes()));
bVar.a("signature", upperCase2);
return bVar;
} |