npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@dmemory/fridacontainer

v1.0.10

Published

fridaContainer written in TypeScript and JavaScript

Downloads

25

Readme

FridaContainer

FridaContainer 整合了网上流行的和自己编写的常用的 frida 脚本,为逆向工作提效之用。

npm build 后,用 Pycharm 打开编辑,可以看到 frida api 代码补全提示。

1. 编译和使用

1.1 源码直接使用【推荐】

需要根据自己的需求修改 index.ts,编写实际操作内容。 使用 index.ts 入口方式可以按照以下方式编译和调用。

$ git clone https://github.com/deathmemory/FridaContainer.git
$ cd FridaContainer/
$ npm install
## after edit index.ts
$ npm run build
$ frida -U -f com.example.android --no-pause -l _fcagent.js
  • 开发实时编译
$ npm run watch
  • Setup for android

为 Andriod 手机初始化环境以应用第三方库(gson)

$ python setupAndroid.py

1.2 作为 npm node 模块使用

支持作为 npm node 模拟直接嵌入 typescript 项目中。

详细引入方式请看这里

1.3 赘述几句我当前的使用习惯

  1. 使用 pycharm 做开发(其他 IDE 也一样)
  2. clone 仓库后,在项目根目录创建 agent 目录(已加入 gitignore)在这里开发业务脚本
  3. 修改 index.ts 引入 agent 目录下的类
  4. 单开一个 shell 跑 npm run watch 实时编译脚本
  5. 不断修改 index 或 agent 的脚本,注入、测试,达到目的。

2. 功能简介

本仓库会持续补充更新。

2.1 Android

  1. 一键去常规反调试
  2. 打印堆栈
  3. 通用的 Dump dex 方法
  4. 过 ssl pinning (新增 cronet bypass)
  5. Hook JNI
  6. Java methods trace
  7. JNI trace
  8. frida multi dex hook(java use)
  9. ......

2.2 iOS

  1. 便捷的获取函数地址
  2. 模糊查找函数地址
  3. 打印堆栈
  4. dump ui 结构
  5. 常见数据类型转换及打印
  6. ......

2.3 FCCommon 跨平台通用方法

| 方法 | 说明 | | ----- | ---------------------------- | | showStacksModInfo| 打印指定层数的 sp,并输出 module 信息 (如果有)| | getModuleByAddr | 根据地址获取模块信息 | | getLR | 获取 LR 寄存器值 | | dump_module | dump 指定模块并存储到指定目录 |

3. 感谢

[todo 引用参考]

由于引用较多,且时间比较久了,也很难都列出来,以后慢慢列举吧。 感谢无私的代码分享者们。