pylane

An python vm injector with debug tools, based on gdb.

  • Owner: NtesEyes/pylane
  • Platform:
  • License:: GNU General Public License v3.0
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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

Main metrics

Overview
Name With OwnerNtesEyes/pylane
Primary LanguagePython
Program languagePython (Language Count: 1)
Platform
License:GNU General Public License v3.0
所有者活动
Created At2018-03-29 05:06:14
Pushed At2022-11-06 03:13:56
Last Commit At2022-11-06 11:13:13
Release Count9
Last Release Namev0.0.8 (Posted on )
First Release Namev0.1 (Posted on )
用户参与
Stargazers Count361
Watchers Count11
Fork Count33
Commits Count45
Has Issues Enabled
Issues Count4
Issue Open Count2
Pull Requests Count4
Pull Requests Open Count0
Pull Requests Close Count1
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private