name="com.androidemu.gba.gba.LogOut"/>
finish();
}
while(true)
{
return;
Captain.PN.isGame=false;
klz();
}
}
//////////////////////////////////////////////////////////////////////////////////////////////////////
分析classLogOutextendsActivity
publicvoidonCreate(BundleparamBundle)
{
requestWindowFeature
(1);
getWindow().setFlags(1024,1024);
super.onCreate(paramBundle);
bujuset();//显示积分大于0即可永久免费无广告全屏运行……等的窗口
如果积分大于0开始真正的游戏,否则如果“获取积分被点击”联网显示应用列表
上传手机信息。
AppConnect.getInstance(this);
}
privatevoidbujuset()
{
LinearLayoutlocalLinearLayout=newLinearLayout(this);
localLinearLayout.setGravity(17);
localLinearLayout.setOrientation
(1);
TextViewlocalTextView1=newTextView(this);
TextViewlocalTextView2=newTextView(this);
localTextView2.setId
(1);
localTextView1.setWidth(-2);
localTextView2.setWidth(-2);
localTextView1.setGravity(17);
localTextView2.setGravity(17);
ButtonlocalButton1=newButton(this);
ButtonlocalButton2=newButton(this);
localButton1.setHeight(90);
localButton2.setHeight(90);
ImageViewlocalImageView=newImageView(this);
localImageView.setImageResource(2130837504);
localTextView1.setText("积分大于0即可永久免费无广告全屏运行");
localTextView2.setText("积分加载中...");
localButton1.setText("开始游戏");
localButton2.setText("免费获取积分");
localLinearLayout.addView(localImageView);
localLinearLayout.addView(localTextView1);
localLinearLayout.addView(localTextView2);
localLinearLayout.addView(localButton1);
localLinearLayout.addView(localButton2);
setContentView(localLinearLayout);
localButton1.setOnClickListener(newView.OnClickListener()//点击开始游戏
{
publicvoidonClick(ViewparamView)
{
if(LogOut.this.point>0)//如果几分大于0那么进入游戏
{
com.trendy.pokemontk.Captain.PN.isGame=true;
IntentlocalIntent=LogOut.this.getBaseContext().getPackageManager().getLaunchIntentForPackage(LogOut.this.getBaseContext().getPackageName());
localIntent.addFlags(67108864);
LogOut.this.startActivity(localIntent);//开启游戏的activitycom.trendy.pokemontk.Alarmreceiver
LogOut.this.finish();
}
while(true)
{
return;
com.trendy.pokemontk.Captain.PN.isGame=false;
Toast.makeText(LogOut.this.getApplicationContext(),"积分不足,请点击免费获取积分的按钮",1).show();
}
}
});
localButton2.setOnClickListener(newView.OnClickListener()//点击获取积分
{
publicvoidonClick(ViewparamView)
{
AppConnect.getInstance(paramView.getContext()).showOffers(paramView.getContext());
}
});
}
publicvoidshowOffers(ContextparamContext)
{
a(paramContext,b,y.e+this.H);
paramContext,
b,
http:
//app/action/account/offerlist?
}
privatevoida(ContextparamContext,StringparamString1,StringparamString2)
{
try
{
IntentlocalIntent=newIntent(paramContext,h(paramContext));
//参数二:
com.androidemu.gba.gba.Mym
//另:
publicclassMymextendsOffersWebView
localIntent.setFlags(268435456);
localIntent.putExtra("Offers_URL",paramString2);//http:
//app/action/account/offerlist?
广告应用列表地址
localIntent.putExtra("USER_ID",paramString1);
localIntent.putExtra("URL_PARAMS",c);
localIntent.putExtra("CLIENT_PACKAGE",this.J);
localIntent.putExtra("offers_webview_tag","OffersWebView");
paramContext.startActivity(localIntent);//启动activitycom.androidemu.gba.gba.Mym
显示广告发送手机型号系统版本IMSIicd等信息到219.234.85.220
return;
}
catch(ExceptionlocalException)
{
while(true)
localException.printStackTrace();
}
}
分析com.androidemu.gba.gba.Mym
com.androidemu.gba.gba.Mym的解析出现错误
但是根据开启activity的intent
localIntent.putExtra("USER_ID",paramString1);
localIntent.putExtra("URL_PARAMS",c);
localIntent.putExtra("CLIENT_PACKAGE",this.J);
localIntent.putExtra("offers_webview_tag","OffersWebView");
可以推断这个部分是显示应用列表上传手机的相关信息。
如下图waps/SDKUtils包含的api以及抓包的分析也可以可推断。
抓包
1510 249.394056000 27.18.59.151219.234.85.220 HTTP 607 GET/action/connect/active?
app_id=a5a4c7af109259db240c3a6917409553&udid=250824171159829&imsi=310260371538173&net=wifi&base=&app_version=1.3.8&sdk_version=1.7.1&device_name=GT-N7000&device_brand=samsung&y=5ab68cc24a4025769552c1aec9cc36d7&device_type=android&os_version=2.3.4&country_code=CN&language=zh&cid=5ist3abgr1f1jt30q0sff2pkd81j7gsc&act=com.trendy.pokemontk.MainActivity&channel=WAPS&device_width=1024&device_height=600&at=1355563304240HTTP/1.1
如上抓包的内容显示程序上传了手机型号系统版本imsi等等信息