Git Product home page Git Product logo

fridabox's Introduction

脱离PC在Android上运行Frida脚本及发送HTTP请求

一、脱离PC在Android上运行Frida脚本

步骤1:frida-server

要使用Frida,首先需要将frida-server拷贝到Android设备的/data/local/tmp目录,可以在 frida-server 下载

步骤2:开机自动运行frida-server

正常情况下/data/local/tmp/frida-server就可以启动frida服务,如果想开机自动启动frida,需要下载 MagiskFrida 压缩包放到Magisk插件

步骤3:安装DroidFrida

DroidFrida已经集成好了frida-inject,可以在Android设备直接注入JS脚本 DroidFrida

步骤4:frida-inject

下载frida-inject 并改名为frida64,上传到Android设备的/data/local/tmp目录, 注意版本号要对应

二、Frida脚本主动发起Http请求

步骤1:AndroidAsync

下载 AndroidAsync,把jar包打包为dex文件,放到/data/local/tmp

步骤2:调用dex发起请求

在脚本中调用 androidAsync.dex 发起请求

Java.openClassFile("/data/local/tmp/androidAsync.dex").load();
var AsyncHttpClient = Java.use("com.koushikdutta.async.http.AsyncHttpClient");
var url = "http://xxx.com;
AsyncHttpClient.getDefaultInstance().execute(url,null);	

fridabox's People

Contributors

j785786058 avatar

Stargazers

Ben avatar

Watchers

 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.