Skip to main content

No project description provided

Project description

pylane

PyPI version

简体中文

Pylane is a python vm injector with debug tools, based on gdb and ptrace. Pylane uses gdb to trace python process, inject and run some code in its python vm.

Usage

pylane_show

use inject command to inject a python script in an process:

pylane inject <PID> <YOUR_PYTHON_FILE>

use shell command to inject an interactive shell:

pylane shell <PID>

Pylane shell features:

  • use IPython as its interactive interface, support magic functions like ? and %
  • support remote automatic completion
  • provide debug toolkit functions, such as:
    • lookup class or instance by name
    • get source code of an object
    • print all threads' stack and locals

Install

pip install pylane

pylane should be installed in virtualenv the target process uses or in os python lib.

Compatibility

Support Linux and BSD

Project details


Download files

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

Source Distribution

pylane-0.0.9.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

pylane-0.0.9-py2.py3-none-any.whl (27.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pylane-0.0.9.tar.gz.

File metadata

  • Download URL: pylane-0.0.9.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.1

File hashes

Hashes for pylane-0.0.9.tar.gz
Algorithm Hash digest
SHA256 be64a20ee889057d5dc81ed26148954c1bab6592c669f6587063f531ed26f4c0
MD5 7612bc2b9407092dedc549dd6451c11f
BLAKE2b-256 f4368c357efb71b9b99fd5761ae7e7986c282dc598e90520c116ad016363c2ce

See more details on using hashes here.

File details

Details for the file pylane-0.0.9-py2.py3-none-any.whl.

File metadata

  • Download URL: pylane-0.0.9-py2.py3-none-any.whl
  • Upload date:
  • Size: 27.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.1

File hashes

Hashes for pylane-0.0.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1edd1d7020ae7fd647d16dab417b76c4802bbbf41858be0f213964800d11b00d
MD5 cc38e25633bb91435a2fed98ca4e02f5
BLAKE2b-256 126f79f752aba3eda43a07c602619e0328479c27d6f5ef35e90bc6f2f5eab13a

See more details on using hashes here.

Supported by

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