pyrasite

Software Screenshot:
pyrasite
Software Details:
Version: 2.0
Upload Date: 14 Apr 15
Developer: Luke Macken
Distribution Type: Freeware
Downloads: 87

Rating: 2.0/5 (Total Votes: 1)

pyrasite is a Python tool that injects code into a running Python process.

Example Payloads

Hello World

pyrasite < PID > payloads/helloworld.py

This payload is used by the test suite, which can be run by doing:

python setup.py test

Reverse Python Shell

$ python
>>> x = 'foo'

$ pyrasite payloads/reverse_python_shell.py
$ nc -l localhost 9001
Python 2.7.1 (r271:86832, Apr 12 2011, 16:15:16)
[GCC 4.6.0 20110331 (Red Hat 4.6.0-2)]
Type 'quit' to exit.
>>> print x
foo

>>> globals()['x'] = 'bar'

Reverse Shell

$ pyrasite < PID > payloads/reverse_shell.py
$ nc -l localhost 9001
Linux tomservo 2.6.40.3-0.fc15.x86_64 #1 SMP Tue Aug 16 04:10:59 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Type 'quit' to exit.
% ls


Dumping memory, modules, stacks

payloads/dump_memory.py
payloads/dump_modules.py
payloads/dump_stacks.py

Requirements:

  • Python
  • GDB

Similar Software

strace
strace

23 Nov 17

Valgrind
Valgrind

17 Feb 15

Accerciser
Accerciser

31 Oct 16

Other Software of Developer Luke Macken

Comments to pyrasite

Comments not found
Add Comment
Turn on images!