semvec/pypi-packages huggingface dataset:
frida-dexdump 1.0.3
Fast dex dump in memory based on frida.
Keywords: frida android unpack dex dynamic

# FRIDA-DEXDump

![screenshot](screenshot.png)


## Features
1. support fuzzy search broken header dex.
2. fix struct data of dex-header.
3. compatible with all android version(frida supported).
4. support loading as objection plugin ~
5. pypi package has been released ~

## Requires

- [frida](https://www.github.com/frida/frida): `pip install frida`
- [optional] [click](https://pypi.org/project/click/) `pip install click`

## Installation

### From pypi

    pip3 install frida-dexdump
    frida-dexdump -h

### From source

    git clone https://github.com/hluwa/FRIDA-DEXDump
    cd FRIDA-DEXDump/frida-dexdump
    python3 main.py -h

## Usage

- Run `frida-dexdump` or `python3 main.py` to attach current frontmost application and dump dexs.

- Or, use command arguments:  
    ```
    -n: [Optional] Specify target process name, when spawn mode, it requires an application package name. If not specified, use frontmost application.
    -p: [Optional] Specify pid when multiprocess. If not specified, dump all.
    -f: [Optional] Use spawn mode, default is disable.
    -s: [Optional] When spawn mode, start dump work after sleep few seconds. default is 10s.
    -d: [Optional] Enable deep search maybe detected more dex, but speed will be slower.
    -h: show help.
    ```
    
- Or, loading as objection plugin

    1. clone this repo and move `frida_dexdump` into your plugins folder, eg:
        ```
        git clone https://github.com/hluwa/FRIDA-DEXDump ~/Downloads/FRIDA-DEXDump;
        mv ~/Downloads/FRIDA-DEXDump/frida_dexdump ~/.objection/plugins/dexdump
        ```
    2. start objection with `-P` or `--plugin-folder` your plugins folder, eg:
        ```
        objection -g com.app.name explore -P ~/.objection/plugins
        ```
    3. run command:
        1. ` plugin dexdump search ` to search and print all dex
        2. ` plugin dexdump dump ` to dump all found dex.
cospy 0.4.2
A simple CLI tool to do a lot of things..
Requires Python: >3.6
Keywords: cli,python,code,development

<head>
<link rel="shortcut icon" type="image/x-icon" href="https://adwaith-rajesh.github.io/cospy/favicon.ico">
</head>

# Cospy
A Simple CLI tool do a lot of things.

[![Pypi-Upload](https://github.com/Adwaith-Rajesh/cospy/actions/workflows/python-publish.yml/badge.svg)](https://github.com/Adwaith-Rajesh/cospy/actions/workflows/python-publish.yml)
___
## Table of contents
  - [Description](#DESCRIPTION)
  - [Installation](#INSTALLATION)
  - [API](#API)
  - [Usage](#USAGE)


## Description
A CLI to do a lot of stuff in a more easier(maybe) way. 
___

## Installation
```bash
pip install cospy
```
___
## API

Below is the list of currently supported API.

* [`cos init`](https://github.com/Adwaith-Rajesh/cospy/blob/master/docs/README.md#init)  - Start a programming project in any language.
* [`cos clean`](https://github.com/Adwaith-Rajesh/cospy/blob/master/docs/README.md#clean) - Sort directory.
* [`cos tasks`](https://github.com/Adwaith-Rajesh/cospy/blob/master/docs/README.md#tasks) - Manage tasks
* [`cos venv`](https://github.com/Adwaith-Rajesh/cospy/blob/master/docs/README.md#venv) - Manage virtual environments

## Usage
All the docs and usage are listed [here](https://adwaith-rajesh.github.io/cospy/docs/).
docker-patch 0.1.2
Patch docker images to fit your purposes and organization requirements


Docker-Patch
============

Patch docker images to fit your purposes and organization requirements

Installation
------------

.. code-block:: bash

   pip install docker-patch

Usage
-----

Add your own patch function like this:

.. code-block:: python

   import docker_patch

   @docker_patch.register_patcher
   def patcher_func(container):
       print(f'patch container "{container}"')

       container.exec_run('/bin/sh -c \'echo "hi from module 1" >> patched.txt\'')

You can register multiple patchers, and then use it in one of these options:

cli
^^^

.. code-block:: bash

   docker-patch <IMAGE_NAME> -m <module_name>

You can add additional ``-m <module>`` as you like and make a patchers chain that work on your image (in order of appearance).
If you would like to import a module that not in your current path or installed in the interpreter libraries, you can add ``--add-path`` like this:

.. code-block:: bash

   # assume my_patcher is in /path/to/my_patcher.py
   docker-patch <IMAGE_NAME> -m my_patcher --add-path /path/to

This will add ``/path/to`` to ``sys.path`` so the patcher can import the ``my_module``

In code
^^^^^^^

Use it directly from code

.. code-block:: python

   import docker
   import docker_patch

   # assume you registered patchers as shown above
   client = docker.DockerClient()
   image = client.images.get('some-image')

   result_image = docker_patch.patch_image(image)