去除美团强制更新
var UpdateDialog = Java.use('com.meituan.android.pt.homepage.activity.modules.UpdateDialog');
UpdateDialog.a.implementation = function(activity){
return false;
}
淘系抓包
Java.perform(function () {
var SwitchConfig = Java.use('mtopsdk.mtop.global.SwitchConfig');
SwitchConfig.isGlobalSpdySwitchOpen.overload().implementation = function(){
var ret = this.isGlobalSpdySwitchOpen.apply(this, arguments);
console.log("\nisGlobalSpdySwitchOpenl "+ret)
return false
}
});
美系抓包
Java.perform(function () {
var cls = Java.use("com.dianping.nvnetwork.tunnel2.a");
cls.isSocketConnected.overload().implementation = function () {
return false;
};
});
强制降级
iptables -A INPUT -s ***.**.***.181 -j DROP #屏蔽
iptables -D INPUT -s ***.**.***.181 -j DROP #解除屏蔽
service iptables save