Automate the process of extracting, loading and assembling shellcode.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file eatshell-1.0.2.tar.gz.
File metadata
- Download URL: eatshell-1.0.2.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56ea13806d9b076b4bcdf5a2ebdbcc758664e37f4ccac05e32bc01cdf376c686
|
|
| MD5 |
46249cd610bc2d509ba112f856c6f161
|
|
| BLAKE2b-256 |
686e0a097acbd7700fa37f15d1439120e0ab5762d00da1f78dc1ac90d47a3d9e
|
Provenance
The following attestation bundles were made for eatshell-1.0.2.tar.gz:
Publisher:
python-publish.yml on sapphicart/eatshell
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eatshell-1.0.2.tar.gz -
Subject digest:
56ea13806d9b076b4bcdf5a2ebdbcc758664e37f4ccac05e32bc01cdf376c686 - Sigstore transparency entry: 147359021
- Sigstore integration time:
-
Permalink:
sapphicart/eatshell@53a5ea1d8f1c822a55ece7b36d6bc55d564857a4 -
Branch / Tag:
refs/tags/eatshell-1.0.2 - Owner: https://github.com/sapphicart
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@53a5ea1d8f1c822a55ece7b36d6bc55d564857a4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file eatshell-1.0.2-py3-none-any.whl.
File metadata
- Download URL: eatshell-1.0.2-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42ca14967c603c51625867a0dbc6d0380202113bd2bdd97a9b55e82ca870674a
|
|
| MD5 |
81ec4eca2b580ae21c07c4c1c222f858
|
|
| BLAKE2b-256 |
498221197c819974e876a501e2f13f94fddc74218c3fa319a68b15f5e184d240
|
Provenance
The following attestation bundles were made for eatshell-1.0.2-py3-none-any.whl:
Publisher:
python-publish.yml on sapphicart/eatshell
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eatshell-1.0.2-py3-none-any.whl -
Subject digest:
42ca14967c603c51625867a0dbc6d0380202113bd2bdd97a9b55e82ca870674a - Sigstore transparency entry: 147359022
- Sigstore integration time:
-
Permalink:
sapphicart/eatshell@53a5ea1d8f1c822a55ece7b36d6bc55d564857a4 -
Branch / Tag:
refs/tags/eatshell-1.0.2 - Owner: https://github.com/sapphicart
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@53a5ea1d8f1c822a55ece7b36d6bc55d564857a4 -
Trigger Event:
push
-
Statement type: