Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mauricelambert/pickleexploit
This package implement a Pickle Exploit Builder.
https://github.com/mauricelambert/pickleexploit
exploit pickle pypi-package python python3
Last synced: 22 days ago
JSON representation
This package implement a Pickle Exploit Builder.
- Host: GitHub
- URL: https://github.com/mauricelambert/pickleexploit
- Owner: mauricelambert
- License: gpl-3.0
- Created: 2021-02-24T18:36:44.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-12T16:22:42.000Z (11 months ago)
- Last Synced: 2024-11-14T15:17:26.573Z (3 months ago)
- Topics: exploit, pickle, pypi-package, python, python3
- Language: Python
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# PickleExploit
## Description
This package implement a Pickle Exploit Builder.## Requirements
This package require :
- python3
- python3 Standard Library## Installation
```bash
pip install PickleExploit
```## Examples
1. Code for python paylaod:
```python
pyexploit = PyPickleExploit("print('je test', 'test2')")
pyexploit.build()
exploit_pickled = pyexploit.get_pickle_payload()
pyexploit.execute_payload()
```
2. Output:
```
je test test2
```1. Code for command paylaod:
```python
shellexploit = ShellPickleExploit('echo je test')
shellexploit.build()
exploit_pickled = shellexploit.get_pickle_payload()
shellexploit.execute_payload(exploit_pickled) # write "je test" and return the command error code (0)
```
2. Output:
```
je test
0
```## Links
[Github Page](https://github.com/mauricelambert/PickleExploit)
[Documentation](https://mauricelambert.github.io/info/python/security/PickleExploit.html)## Licence
Licensed under the [GPL, version 3](https://www.gnu.org/licenses/).