Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/safebreach-labs/pyekaboo
Proof-of-concept program that is able to to hijack/hook/proxy Python module(s) thanks to $PYTHONPATH variable
https://github.com/safebreach-labs/pyekaboo
Last synced: about 15 hours ago
JSON representation
Proof-of-concept program that is able to to hijack/hook/proxy Python module(s) thanks to $PYTHONPATH variable
- Host: GitHub
- URL: https://github.com/safebreach-labs/pyekaboo
- Owner: SafeBreach-Labs
- License: bsd-3-clause
- Created: 2017-05-04T23:45:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-04T23:47:49.000Z (over 7 years ago)
- Last Synced: 2024-10-26T11:33:41.222Z (14 days ago)
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 151
- Watchers: 10
- Forks: 29
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-network-stuff - **131**星 - of-concept program that is able to to hijack/hook/proxy Python module(s) thanks to $PYTHONPATH variable (<a id="d03d494700077f6a65092985c06bf8e8"></a>工具 / <a id="0ff94312f3ab4898f5996725133ea9d1"></a>未分类)
README
# Pyekaboo
Pyekaboo is a proof-of-concept program that is able to to hijack/hook/proxy Python module(s) thanks to $PYTHONPATH variable. It's like "DLL Search Order Hijacking" for Python.
It was released as part of the [Backdooring Your Python Programs](http://thotcon.org/schedule.html) talk given at THOTCON 0x8 conference by Itzik Kotler from [SafeBreach Labs](http://www.safebreach.com).
Slides are availble [here](http://www.ikotler.org/InYourPythonPath.pdf)
### Version
0.1.0### Installation
Pyekaboo requires [Python](https://python.org/) and was tested with Python 2.7.10.
```sh
$ git clone https://github.com/SafeBreach-Labs/pyekaboo.git
$ cd pyekaboo
$ cd pyekaboo
$ python mkpyekaboo.py -h
```### Example: Debugging Python's sockets Module
```sh
# assume pyekaboo root directory
$ cd scripts
$ python ../pyekaboo/mkpyekaboo.py -l 6 socket
$ ./enable_pyekaboo.sh -i
$ python ../test_apps/django_test/blog/manage.py runserver
```License
----BSD 3-Clause
###