From ad3e2b5e0d4beac1d22653e25b6759431c122fea Mon Sep 17 00:00:00 2001 From: sog Date: Sat, 18 Apr 2020 09:55:50 -0400 Subject: [PATCH] add build, run, and shell scripts --- build.sh | 2 ++ run.sh | 3 +++ shell.sh | 2 ++ 3 files changed, 7 insertions(+) create mode 100755 build.sh create mode 100755 run.sh create mode 100755 shell.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..07c1c11 --- /dev/null +++ b/build.sh @@ -0,0 +1,2 @@ +#!/bin/sh +docker build -t docker-binaryexploitation:ubuntu19.10 . diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..2ea424d --- /dev/null +++ b/run.sh @@ -0,0 +1,3 @@ +#!/bin/sh +docker run --rm -v "$(pwd):/pwd" --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -d --name docker-binaryexploitation -i docker-binaryexploitation:ubuntu19.10 + diff --git a/shell.sh b/shell.sh new file mode 100755 index 0000000..3ec4109 --- /dev/null +++ b/shell.sh @@ -0,0 +1,2 @@ +#!/bin/sh +docker exec -it docker-binaryexploitation /bin/bash \ No newline at end of file