mirror of
https://github.com/bitdefender/bddisasm.git
synced 2024-11-25 08:58:09 +00:00
16 lines
448 B
Bash
16 lines
448 B
Bash
|
#!/bin/bash
|
||
|
set -e
|
||
|
|
||
|
img="bddfuzz"
|
||
|
out="bddfuzz.tar"
|
||
|
|
||
|
rm -rf "${out}"
|
||
|
|
||
|
podman build -t ${img} -f Dockerfile.fuzzing .
|
||
|
podman save -o ${out} ${img}
|
||
|
|
||
|
echo "Done! Copy ${out} to the fuzzing machine and load it with 'podman load -i ${out}'"
|
||
|
echo "You probably want to run it like this: "
|
||
|
echo "'podman run --cap-add=SYS_PTRACE -it -v /host/share/:/bddfuzz/share ${img} /bin/bash'"
|
||
|
echo "All fuzzers are present in the image, you must start one of them"
|