Skip to main content

use for jdb to debug android app

Project description

debugA

优化android 分析过程、lldb调试流程 , 需要提前配置好java和adb环境,提前通过adb 和 jdb 启动被调试的应用。

  • 签名用内置的jks签名
debugActivity -s apkPath 
  • 调试模式启动,jdb自动附加, 需要包名 和 mainActivity的名称
debugActivity -p packageName -a activityName
  • 推送调试服务端:lldb-server 和 frida-server(目标端重命名为 fda)
debugActivity --push-servers [--frida-server /path/to/frida-server]
  • 启动 lldb-server(不负责推送),绑定 9999 端口
debugActivity -l 

安装

pip install debugactivity

usage

usage: debugA [-h] [-p PACKAGE] [-a ACTIVITY]

start a debug activity

options:
-h, --help            show this help message and exit
-p PACKAGE, --package PACKAGE
-a ACTIVITY, --activity ACTIVITY
-s SIGN signApkPath
-P process diff 对比前后的进程变化
-f 运行/data/local/tmp/fda

记录下打包流程,

pip install wheel
pip install twine
python setup.py bdist_wheel --universal
twine upload dist/* --repository PROJECT_NAME
HTTPS_PROXY=socks5://192.168.50.47:7890 twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

debugactivity-1.1.11-py2.py3-none-any.whl (8.0 MB view details)

Uploaded Python 2Python 3

File details

Details for the file debugactivity-1.1.11-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for debugactivity-1.1.11-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c1bd0257579c135defd528b0173fff2003caa9813ea180eb432a4fe751cb56cf
MD5 10229b58a5e5f54714abbb8650365f20
BLAKE2b-256 68cf2dbc1fd23229f7782865a9da0157e2db869a521b2e37d886e500838e3ba8

See more details on using hashes here.

Provenance

The following attestation bundles were made for debugactivity-1.1.11-py2.py3-none-any.whl:

Publisher: workflow.yml on doom-man/debugA

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page