Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
deploy github action
Browse files Browse the repository at this point in the history
  • Loading branch information
hluwa committed Sep 12, 2020
1 parent 5291405 commit 4c8e0eb
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 15 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

name: Upload Python Package

on:
release:
types: [created]

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
25 changes: 14 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@


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

## Requires

Expand All @@ -22,18 +21,18 @@

### From pypi

pip install frida-dexdump
pip3 install frida-dexdump
frida-dexdump -h

### From source

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

## Usage

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

- Or, use command arguments:
```
Expand All @@ -48,10 +47,14 @@
- 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
```
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
```
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.
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

setuptools.setup(
name="frida-dexdump",
version="1.0",
description="Fast dex dump base-on frida.",
version="1.0.1",
description="Fast dex dump in memory based on frida.",
long_description=long_description,
long_description_content_type="text/markdown",
author="hluwa",
Expand All @@ -27,8 +27,6 @@
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
Expand Down

0 comments on commit 4c8e0eb

Please sign in to comment.