Skip to main content

Automate the process of extracting, loading and assembling shellcode.

Project description

eatshell

SummaryRequirementsInstallationUsageLicense

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eatshell-1.0.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eatshell-1.0.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

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

Hashes for eatshell-1.0.2.tar.gz
Algorithm Hash digest
SHA256 56ea13806d9b076b4bcdf5a2ebdbcc758664e37f4ccac05e32bc01cdf376c686
MD5 46249cd610bc2d509ba112f856c6f161
BLAKE2b-256 686e0a097acbd7700fa37f15d1439120e0ab5762d00da1f78dc1ac90d47a3d9e

See more details on using hashes here.

Provenance

The following attestation bundles were made for eatshell-1.0.2.tar.gz:

Publisher: python-publish.yml on sapphicart/eatshell

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for eatshell-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 42ca14967c603c51625867a0dbc6d0380202113bd2bdd97a9b55e82ca870674a
MD5 81ec4eca2b580ae21c07c4c1c222f858
BLAKE2b-256 498221197c819974e876a501e2f13f94fddc74218c3fa319a68b15f5e184d240

See more details on using hashes here.

Provenance

The following attestation bundles were made for eatshell-1.0.2-py3-none-any.whl:

Publisher: python-publish.yml on sapphicart/eatshell

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page