Skip to main content

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 .env file 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)

Source distribution for eatshell 1.0.2
File Size Uploaded
eatshell-1.0.2.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for eatshell 1.0.2
File Interpreter ABI Platform
eatshell-1.0.2-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page