GithubHelp home page GithubHelp logo

tianyalu / neams Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 136 KB

本文实现了`Android5.0-9.0`版本的通过代理`ProxyActivity`绕过`AMS`检测实现跳转到未注册的`Activity`的功能

Java 100.00%

neams's Introduction

AMS实战

[TOC]

一、理论

1.1 AMS调起服务流程

AMS(ActivityManagerService)是Android的核心服务,它主要负责四大组件的启动、切换、调度以及应用进程的管理工作,AMS掌握了所有应用程序的创建、管理,所以它在frameworks层有着核心的作用。

微信截图_20211116205138

1.1.1 AMS源码低版本和高版本的差异

  1. 低版本中是可以找到IActivityManager类的(Google工程师全部自己手写了一套类似于AIDL的代码来完成Binder的通讯);
  2. 高版本中是找不到IActivityManager类的(直接通过AIDL生成的,来完成Binder的通讯)。

1.2 跳转到LoginActivity流程图

image-20211118205228667

从源码角度流程分析:

image-20211119210130990

二、实战

本文实现了Android5.0-9.0版本的通过代理ProxyActivity绕过AMS检测实现跳转到未注册的Activity的功能。

neams's People

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.