Skip to main content

A tool with interactive shell for finding gadgets in executable files

Project description

GadgetFinder

A tool with interactive shell for finding gadgets in executable files. Support ELF and PE file format, multiple architectures and modes: x86, ARM, 32bit, 64 bit. Can also assemble and disassemble instructions.

Requirements

  • capstone
  • keystone
  • pyelftools
  • pefile

Getting started

create a virtualenv:

virtualenv env            
source env/bin/activate   # activate the Python virtualenv 

Install development dependencies:

pip install -r requirements.txt

Run the interactive shell:

cd src
python3 shell.py

Example:

Build your own package

You can edit configuration in setup.config.
To build:

python3 -m pip install --upgrade pip
python3 -m pip install --upgrade build
python3 -m build

Package usage

Installation

$ pip install gadgetfinder==0.0.1

Usage

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

gadgetfinder-0.0.2.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

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

gadgetfinder-0.0.2-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file gadgetfinder-0.0.2.tar.gz.

File metadata

  • Download URL: gadgetfinder-0.0.2.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.5

File hashes

Hashes for gadgetfinder-0.0.2.tar.gz
Algorithm Hash digest
SHA256 67cc89c153f2b77f7e3b74a0fc1ce9ebd833f028b756aded4302d14ca5f7dc38
MD5 09e1f2919a633fa63c52770a5047c092
BLAKE2b-256 cbcbca4f1ca200dd12880026b5bb426d10f7cbd43aaa88ec775ebafadea160b0

See more details on using hashes here.

File details

Details for the file gadgetfinder-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: gadgetfinder-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.5

File hashes

Hashes for gadgetfinder-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 195e98c7023c1f8adb158ffc80e7e66e2f86b2ee448d8f6acdb0ed813c63cedf
MD5 27d00ff58bde0230330e29b24c71f54e
BLAKE2b-256 f797b6b4ea59bcf23a319985cb7f19d74cdb09356d1ab860fbc70ee1b920a076

See more details on using hashes here.

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