Skip to content

add dockerized tube for better pwningΒ #1628

@ohk990102

Description

@ohk990102

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)

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions