Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Debuggers

    pyrasite 2.0

    Download button

    No screenshots available
    Downloads: 135  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Luke Macken | More programs
    GPL v3 / FREE
    May 11th, 2012, 19:03 GMT
    ROOT / Programming / Debuggers

     Read user reviews (0)  Refer to a friend  Subscribe

    pyrasite description

    Inject code into a running Python process

    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



    Product's homepage

    Requirements:

    · Python
    · GDB

      


    TAGS:

    Python process | code injector | Python | process | injector



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM