eatshell
Summary • Requirements • Installation • Usage • License
Summary
eatshell is a simple command line tool to automate the process of shellcode extraction, loading and assembling. eatshell contains three commands extract, load, and assemble.
[!NOTE] Note: eatshell is meant for small-scale application and primarily created for personal use only.
Requirements
- Python 3.xx
Installation
There are two ways to install eatshell:
Install the tool directly with pip
pip install eatshell
Or, you can build from source. Download the latest release.
Usage
Use the --help switch to read the COMMANDS and OPTIONS available.
$ eatshell --help
Usage: eatshell.py [OPTIONS] COMMAND [ARGS]...
Options:
--hush Suppress Usage and Warning info.
--help Show this message and exit.
Commands:
assemble
extract
load
There are three commands available for eatshell:
- assemble
- extract
- load
$ eatshell assemble --shellcode <hex string> --file <filename>
Use this command to assemble given shellcode
into an ELF file with +rwx permissions for
the owner.
$ eatshell extract --file <filename> --hex <boolean>
Use this command to extract shellcode
from an existing ELF file.
Turn --hex on for hex encoding.
$ eatshell load --shellcode <hex string>
Use this command to run the provided
shellcode interactively.
Use with caution, might not work everytime.
[!WARNING] Create an
.envfile with the following variables. Otherwise, the program might not work.
.env file structure example:
OS=linux
ARCH=amd64
LOG_LEVEL=error
License
Distributed under MIT License.
Metadata
Release files for eatshell 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| eatshell-1.0.2.tar.gz | 4.8 kB | With provenance | Details for eatshell-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eatshell-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for eatshell-1.0.2-py3-none-any.whl |
Total release size: 10.8 kB
Release files / eatshell-1.0.2.tar.gz
| Download URL | eatshell-1.0.2.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56ea13806d9b076b4bcdf5a2ebdbcc758664e37f4ccac05e32bc01cdf376c686
|
|
BLAKE2b-256 checksum How to use checksums |
686e0a097acbd7700fa37f15d1439120e0ab5762d00da1f78dc1ac90d47a3d9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2024.
Transparency logRelease files / eatshell-1.0.2-py3-none-any.whl
| Download URL | eatshell-1.0.2-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
42ca14967c603c51625867a0dbc6d0380202113bd2bdd97a9b55e82ca870674a
|
|
BLAKE2b-256 checksum How to use checksums |
498221197c819974e876a501e2f13f94fddc74218c3fa319a68b15f5e184d240
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2024.
Transparency logSecurity for eatshell 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for eatshell-1.0.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2024.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.