Skip to main content

A package containing scripts for developing and generating shellcode

Project description

# Shellcrafter

Shellcrafter is a package containing scripts for developing and generating shellcode.

It provides a collection of utilities for working with shellcode in various ways, such as generating shellcode from assembly instructions, computing hashes from function names, converting ASCII text to hex stack push instructions, and finding ROP gadgets.

## Installation

To install Shellcrafter, use pip:

`bash pip3 install shellcrafter `

Or clone this repository and run:

`bash pip3 install . `

## Usage

Shellcrafter provides the following command-line utilities:

  • keyst-api: A shellcode generator using the Keystone Engine to assemble assembly instructions into shellcode.

  • compute-hashes-from-function-name: Computes the hash for a given function name using the ROR operation.

  • ascii-to-push: Converts an ASCII string to a series of x86 PUSH instructions that represent the given string as hexadecimal values.

  • find-gadgets: Searches for clean, categorized gadgets from a given list of files.

To get help on how to use each utility, run the corresponding command with the -h or –help flag:

`bash keyst-api --help compute-hashes-from-function-name --help ascii-to-push --help find-gadgets --help `

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

shellcrafter-1.0.2.tar.gz (8.8 kB view hashes)

Uploaded Source

Built Distribution

shellcrafter-1.0.2-py3-none-any.whl (9.6 kB view hashes)

Uploaded Python 3

Supported by

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