Skip to main content

VirtuAlization GDb integrations in pwntools

Project description

PyPI docs

VAGD

VirtuAlization GDb integrations in pwntools

Installation

pip install vagd pwntools

or

pip install .
pip install -r requirements.txt

Usage

use python -m vagd to generate a template

# run as process in VM
./exploit.py
# run as gdb server in VM requires tmux
./exploit.py GDB
# run on remote IP:PORT
./exploit.py REMOTE

I recommend using pwndbg.

Files

All created files ares stored in the local ./.vagd/ directory. Additional large files (e.g. cloudimages) are stored in the home directory ~/.vagd/ or handled by tools themselfs (e.g. Vagrant, Docker).

Documentation

Boxes

the following boxes were tested and work, box constants are inside vagd.box.Box

currently only distributions that use apt are supported

Future plans

pre configured Vagrant boxes / QEMU Images / Docker Image

created pre configured Vagrant boxes with preinstalled lib debug symbols and gdbserver to lower init runtime.

Docker integration

created a Docker integration that allows loading existing Dockerfiles, also add a feature that additionally virtualizes (Vagrant/Qemu) them to change the used kernel.

SSH integration

Add a ssh integration to allows specifying a remote machine with hostname, port, user and keyfile. ssh config integration would be nice.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

vagd-0.3.2.tar.gz (32.0 kB view details)

Uploaded Source

Built Distribution

vagd-0.3.2-py3-none-any.whl (35.4 kB view details)

Uploaded Python 3

File details

Details for the file vagd-0.3.2.tar.gz.

File metadata

  • Download URL: vagd-0.3.2.tar.gz
  • Upload date:
  • Size: 32.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for vagd-0.3.2.tar.gz
Algorithm Hash digest
SHA256 5365a632e320841c55db3242c08e6e6edd7964c8a8255992f9884d7b50948936
MD5 fbd02bacc860ba73845ecd5fea12a5e9
BLAKE2b-256 37ae9707016d3aaf7942c13773fe42bc279ec697ce7010b46d1c8cd969e412ad

See more details on using hashes here.

File details

Details for the file vagd-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: vagd-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 35.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for vagd-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c2149a39c1f1d5770cb3c13c90710cab52812a784e491d6465e19fb896e75a01
MD5 dc5a2a39001a8ab7d3179372bb2cad26
BLAKE2b-256 5e4bb822a4c9e04fc0dfa9e7c45ac160f3647a22d93deaed4adc5ce8a77b2792

See more details on using hashes here.

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