pyrasite is 'n Python instrument wat spuit kode in 'n loop Python proses.
Voorbeeld loonvragte
Hello World
pyrasite
Dit loonvrag wat gebruik word deur die toets suite, wat kan uitgevoer word deur dit te doen:
python setup.py toets
Reverse Python Shell
$ Luislang
>>> X = 'cat'
$ Pyrasite loonvragte / reverse_python_shell.py
$ Nc l localhost 9001
Python 2.7.1 (R271: 86.832, 12 April 2011, 16:15:16)
[GCC 4.6.0 20.110.331 (Red Hat 4.6.0-2)]
Tik 'ophou' te verlaat.
>>> Druk x
cat
>>> Globals () ['x'] = 'bar'
Reverse Shell
$ Pyrasite
$ Nc l localhost 9001
Linux tomservo 2.6.40.3-0.fc15.x86_64 # 1 SMP Tue 16 Augustus 04:10:59 UTC 2011 x86_64 x86_64 x86_64 GNU / Linux
Tik 'ophou' te verlaat.
% Ls
Storting geheue, modules, stapels
loonvragte / dump_memory.py
loonvragte / dump_modules.py
loonvragte / dump_stacks.py
Vereistes :
- Python
- GDB
Kommentaar nie gevind