From 67eef78168f320ef791a70299c80be51052fa4d2 Mon Sep 17 00:00:00 2001 From: Teong Seng Tan Date: Tue, 12 Nov 2024 09:49:32 -0800 Subject: [PATCH] Added support for running i386 binaries locally in the container --- src/install-pwn.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/install-pwn.sh b/src/install-pwn.sh index 65c2c9b..5bf43b6 100644 --- a/src/install-pwn.sh +++ b/src/install-pwn.sh @@ -48,3 +48,7 @@ cat <<-'EOF' >/usr/local/share/pwninit-template.py EOF echo -e "\n# pwninit\nalias pwninit='pwninit --template-path /usr/local/share/pwninit-template.py'" >> /home/vscode/.bashrc + +# Configure to run x86 binaries (32-bit) +apt-get update +apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 \ No newline at end of file