Skip to main content

A comprehensive Python toolkit for CTF exploit development.

Project description

pwninit

A Python toolkit for CTF binary exploitation. Streamline setup, development, and execution of exploits with automated binary analysis, library management, and template generation.

📖 Full documentation: pwninit.0xb0tm4n.org

Installation

pipx install git+https://github.com/Super-Botman/pwninit.py.git

Basic Exploit Example

from pwninit import *

Config(
    binary="./chall",
    libc="./libc.so.6"
)

def exploit(ctx, io):
    exe = ctx.elf
    libc = ctx.libc

    payload = b"A" * 72 + p64(exe.symbols["win"])
    sl(payload)
    itrv()

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

pwninit_py-0.1.0.tar.gz (44.2 kB view details)

Uploaded Source

Built Distribution

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

pwninit_py-0.1.0-py3-none-any.whl (49.3 kB view details)

Uploaded Python 3

File details

Details for the file pwninit_py-0.1.0.tar.gz.

File metadata

  • Download URL: pwninit_py-0.1.0.tar.gz
  • Upload date:
  • Size: 44.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pwninit_py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 01e215512b93135a8c96ce319dcafa5757ab1e428a4353b651ae6d2e7759762a
MD5 2cb63eedbbe2c1b88721d83d3d7c580a
BLAKE2b-256 8611168022c7ee06e60503a1656c8cb0aca47c26a912cf369ec8400061c5f665

See more details on using hashes here.

Provenance

The following attestation bundles were made for pwninit_py-0.1.0.tar.gz:

Publisher: publish.yml on Super-Botman/pwninit.py

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

File details

Details for the file pwninit_py-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pwninit_py-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 49.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pwninit_py-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ac610cc98deb2a1f5235b8e35a1e773a58ceb7b627ad053b81ea3e2ae7c2f6b
MD5 b4540613bf55b49e375422ef5ebe118e
BLAKE2b-256 cb510a9141fa5ffc640a2fdee340c699f1d9ef5133f6364f092c74bd769ead8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pwninit_py-0.1.0-py3-none-any.whl:

Publisher: publish.yml on Super-Botman/pwninit.py

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