VirtuAlization GDb integrations in pwntools
Project description
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
-
Vagrant
- UBUNTU_JAMMY64 = 'ubuntu/jammy64'
- UBUNTU_FOCAL64 = 'ubuntu/focal64'
- UBUNTU_BIONIC64 = 'ubuntu/bionic64'
- UBUNTU_XENIAL64 = 'ubuntu/xenial64'
-
QEMU (cached in
~/.vagd/qemu-imgs
)
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
Built Distribution
File details
Details for the file vagd-0.3.3.tar.gz
.
File metadata
- Download URL: vagd-0.3.3.tar.gz
- Upload date:
- Size: 31.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44af21815816722010b9be3adca8cecfc7d35f84beadc165f97f3ebe8d2a6f23 |
|
MD5 | 261a57ff43ba33f6209f6a22b9e9aaaf |
|
BLAKE2b-256 | c7057b33822b0e7dffb4a0681b0e0dba24a25d70150217a9f2099dabe1405958 |
File details
Details for the file vagd-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: vagd-0.3.3-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d687de00ec43e11fc727630412a30abf202596c68b0c757ec9566ce3b0832bd |
|
MD5 | 5a7b53b0883cdffd1857e5b0c5693f1b |
|
BLAKE2b-256 | b01cefd4cedb9d63a2d6e8e0f12a1d8494e535a5d5e4c3bea47a7d60722cd6f1 |