-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
24 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,22 @@ | ||
from ubuntu:20.04 | ||
# Ubuntu 20.04 is used due to Issue #169 | ||
ARG image=mcr.microsoft.com/devcontainers/base:focal | ||
FROM $image | ||
|
||
# Build dependencies | ||
run apt-get update && apt-get install -y binutils git make vim gcc patchelf python-is-python3 python3-pip | ||
run pip3 install requests | ||
|
||
# Build how2heap | ||
run git clone --depth 1 https://github.com/shellphish/how2heap /root/how2heap | ||
run cd /root/how2heap && make clean all | ||
|
||
# pwndbg | ||
ENV LC_CTYPE=C.UTF-8 | ||
run git clone --depth 1 https://github.com/pwndbg/pwndbg /root/pwndbg | ||
run git config --global --add safe.directory "*" | ||
run cd /root/pwndbg && ./setup.sh | ||
|
||
# pwntools | ||
run pip3 install requests pwntools | ||
|
||
|
||
workdir /root/how2heap | ||
run bash | ||
workdir /root/how2heap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters