pylane
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
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
Metadata
Release files for pylane 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pylane-0.0.9.tar.gz | 12.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pylane-0.0.9-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 40.3 kB
Release files / pylane-0.0.9.tar.gz
| Download URL | pylane-0.0.9.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be64a20ee889057d5dc81ed26148954c1bab6592c669f6587063f531ed26f4c0
|
|
BLAKE2b-256 checksum How to use checksums |
f4368c357efb71b9b99fd5761ae7e7986c282dc598e90520c116ad016363c2ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pylane-0.0.9-py2.py3-none-any.whl
| Download URL | pylane-0.0.9-py2.py3-none-any.whl |
|---|---|
| Size | 27.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1edd1d7020ae7fd647d16dab417b76c4802bbbf41858be0f213964800d11b00d
|
|
BLAKE2b-256 checksum How to use checksums |
126f79f752aba3eda43a07c602619e0328479c27d6f5ef35e90bc6f2f5eab13a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|