37 lines
969 B
Markdown
37 lines
969 B
Markdown
# podman-binexp
|
|
Create a docker podman that is purpose-built for binary exploitation using Linux CLI tooling. It is a repeatable build process and I don't need to provision a virtual machine to have all this. It ticks off Docker purists too, which is an added bonus.
|
|
|
|
|
|
## Packages / Features
|
|
- bitnami/minideb
|
|
- neovim, jq, strace, ltrace
|
|
- rizin with a .rizinrc
|
|
- gdb + gef
|
|
- libc database
|
|
- ROPgadget
|
|
- pwntools
|
|
- ropper
|
|
- unicorn
|
|
|
|
## Usage
|
|
Build the docker container: `./build.sh`
|
|
To build and push to the registry: `PUSH=true ./build.sh`
|
|
|
|
Run the docker container: `./run.sh`
|
|
|
|
Get a shell in the container: `./shell.sh`
|
|
|
|
### Push to registry
|
|
Adapt the script `push.sh` to a registry you're logged into and can push to.
|
|
Then, to push to with tag "latest":
|
|
```base
|
|
./push.sh
|
|
```
|
|
or, you can add any tag you like
|
|
```bash
|
|
./push 2025-pwn-time
|
|
```
|
|
|
|
## Thanks
|
|
Thanks to https://github.com/deadbeefmonster/docker-binaryexploitation. Your docker repository helped a lot!
|