Gallopsled / Gallopsled/pwntools

add dockerized tube for better pwning

Open
#1,628 10 comments 4 reactions 0 assignees View on GitHub
feature
Dominant language
Python
Stars
13.7k
Forks
1.9k
Avg merge
6d 23h
Merged PRs (30d)
3

Description

When pwning(especially heap challenges), I sometimes want to make docker environment, put all challenge files, execute and debug with pwntools enabled.

Maybe this process can be automated by adding process-like tube (I called it `dockerized`)

```python
from pwn import *

context.log_level = 'debug'

if __name__ == "__main__":
p = dockerized('./realloc', baseimage='ubuntu:18.04', prefer_dockerfile=False)
gdb.attach(p)
p.interactive()
```

I made similar feature in https://github.com/ohk990102/pwntools-addon-dockerized, and hope this can be added in pwntools too.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.