Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/NtesEyes/pylane
An python vm injector with debug tools, based on gdb.
https://github.com/NtesEyes/pylane
debug gdb python
Last synced: 10 days ago
JSON representation
An python vm injector with debug tools, based on gdb.
- Host: GitHub
- URL: https://github.com/NtesEyes/pylane
- Owner: NtesEyes
- License: gpl-3.0
- Created: 2018-03-29T05:06:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-06T03:13:56.000Z (almost 2 years ago)
- Last Synced: 2024-09-30T19:28:46.564Z (about 1 month ago)
- Topics: debug, gdb, python
- Language: Python
- Size: 1.48 MB
- Stars: 358
- Watchers: 12
- Forks: 34
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - NtesEyes/pylane - An python vm injector with debug tools, based on gdb. (Python)
README
# pylane
[![PyPI version](https://badge.fury.io/py/pylane.svg)](https://badge.fury.io/py/pylane)
[简体中文](README.zh-cn.md)
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](misc/pylane_show.gif)
use inject command to inject a python script in an process:
```
pylane inject
```use shell command to inject an interactive shell:
```
pylane shell
```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