-
Notifications
You must be signed in to change notification settings - Fork 27
fix bugs in order to use easily #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
shizhongpwn
wants to merge
17
commits into
Escapingbug:master
Choose a base branch
from
shizhongpwn:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
b2f9ee3
docker update
shizhongpwn 88f8b6e
ancypwn-terminal update
shizhongpwn f20286e
src update to py3
shizhongpwn 469a382
macos
shizhongpwn e73e461
README
shizhongpwn 8459c4b
ancypwn-terminal2 update
shizhongpwn 4a5db27
docker 20.04
shizhongpwn 8f83700
README
shizhongpwn 67b9d78
ancypwn-docker update
shizhongpwn 9954b74
ancypwn-terminal update
shizhongpwn f6f69e2
src update
shizhongpwn 44a2ba6
ancypwn-docker update
shizhongpwn a67ed26
ancypwn-terminal update
shizhongpwn 1b99c04
src update
shizhongpwn 653b0a4
README
shizhongpwn c18ac4c
README
shizhongpwn 716146e
delete the whitespace in server.py
shizhongpwn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Submodule ancypwn-backend-unix
added at
f0a7ad
This file contains hidden or 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,49 +1,67 @@ | ||
FROM ubuntu:16.04 | ||
|
||
MAINTAINER Anciety <[email protected]> | ||
|
||
# Apt packages | ||
RUN dpkg --add-architecture i386 && apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -qy \ | ||
git nasm python \ | ||
build-essential \ | ||
python-dev python-pip python-setuptools \ | ||
libc6-dbg \ | ||
libc6-dbg:i386 \ | ||
gcc-multilib \ | ||
gdb-multiarch \ | ||
gcc \ | ||
wget \ | ||
curl \ | ||
glibc-source \ | ||
cmake \ | ||
python-capstone \ | ||
socat \ | ||
netcat \ | ||
ruby \ | ||
ruby-dev \ | ||
lxterminal && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \ | ||
cd ~ && tar -xvf /usr/src/glibc/glibc-2.23.tar.xz | ||
|
||
# python/ruby packages & gdb-plugin | ||
RUN pip install --no-cache-dir pwntools ropper ancypatch && \ | ||
gem install one_gadget seccomp-tools && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
# git installaing package | ||
RUN cd ~/ && \ | ||
git clone https://github.com/pwndbg/pwndbg.git && \ | ||
cd ~/pwndbg/ && ./setup.sh && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
ENV LANG C.UTF-8 | ||
|
||
COPY ./ancyterm.py /usr/local/bin/ancyterm | ||
RUN chmod +x /usr/local/bin/ancyterm | ||
|
||
VOLUME ["/pwn"] | ||
WORKDIR /pwn | ||
|
||
CMD ["/bin/bash"] | ||
FROM ubuntu:16.04 | ||
|
||
MAINTAINER Anciety <[email protected]> | ||
|
||
# Apt packages | ||
RUN dpkg --add-architecture i386 && \ | ||
apt-get update && \ | ||
apt-get -y install python-software-properties \ | ||
software-properties-common && \ | ||
add-apt-repository ppa:brightbox/ruby-ng && \ | ||
apt-get update && \ | ||
apt-get purge --auto-remove ruby && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -qy \ | ||
git nasm python3 \ | ||
build-essential \ | ||
python3-dev python3-pip python3-setuptools\ | ||
libc6-dbg \ | ||
libc6-dbg:i386 \ | ||
gcc-multilib \ | ||
gdb-multiarch \ | ||
gcc \ | ||
sudo \ | ||
wget \ | ||
curl \ | ||
glibc-source \ | ||
cmake \ | ||
socat \ | ||
netcat \ | ||
ruby2.6 \ | ||
ruby2.6-dev \ | ||
lxterminal && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \ | ||
cd ~ && tar -xvf /usr/src/glibc/glibc-2.23.tar.xz | ||
|
||
# python/ruby packages & gdb-plugin | ||
#RUN wget https://files.pythonhosted.org/packages/cd/82/04e9aaf603fdbaecb4323b9e723f13c92c245f6ab2902195c53987848c78/pip-21.1.2-py3-none-any.whl && \ | ||
#RUN pip3 install pip-21.1.2-py3-none-any.whl && \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If those comments are not needed, please remove them to keep the codebase clean. |
||
RUN wget https://bootstrap.pypa.io/pip/3.5/get-pip.py && \ | ||
python3 get-pip.py && \ | ||
# pip3 install --upgrade pip && \ | ||
pip3 install --no-cache-dir pwntools ropper ancypatch LibcSearcher&& \ | ||
gem install one_gadget seccomp-tools && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
# git installaing package | ||
RUN cd ~/ && \ | ||
git clone https://github.com/pwndbg/pwndbg.git && \ | ||
cd ~/pwndbg/ && ./setup.sh && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
RUN cd ~/ && \ | ||
git clone https://github.com/scwuaptx/Pwngdb.git && \ | ||
cp ~/Pwngdb/.gdbinit ~/ && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \ | ||
sed -i '1d' ~/.gdbinit && \ | ||
sed -i '1c source ~/pwndbg/gdbinit.py' ~/.gdbinit | ||
|
||
ENV LANG C.UTF-8 | ||
|
||
COPY ./ancyterm.py /usr/local/bin/ancyterm | ||
RUN chmod +x /usr/local/bin/ancyterm | ||
|
||
VOLUME ["/pwn"] | ||
WORKDIR /pwn | ||
|
||
CMD ["/bin/bash"] |
This file contains hidden or 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,50 +1,61 @@ | ||
FROM ubuntu:18.04 | ||
|
||
MAINTAINER Anciety <[email protected]> | ||
|
||
|
||
# Apt packages | ||
RUN dpkg --add-architecture i386 && apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -qy \ | ||
git nasm python \ | ||
build-essential \ | ||
python-dev python-pip python-setuptools \ | ||
libc6-dbg \ | ||
libc6-dbg:i386 \ | ||
gcc-multilib \ | ||
gdb-multiarch \ | ||
gcc \ | ||
wget \ | ||
curl \ | ||
glibc-source \ | ||
cmake \ | ||
python-capstone \ | ||
socat \ | ||
netcat \ | ||
ruby \ | ||
ruby-dev \ | ||
lxterminal && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \ | ||
cd ~ && tar -xvf /usr/src/glibc/glib*.tar.xz | ||
|
||
# python/ruby packages & gdb-plugin | ||
RUN pip install --no-cache-dir pwntools ropper ancypatch && \ | ||
gem install one_gadget seccomp-tools && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
# git installaing package | ||
RUN cd ~/ && \ | ||
git clone https://github.com/pwndbg/pwndbg.git && \ | ||
cd ~/pwndbg/ && ./setup.sh && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
ENV LANG C.UTF-8 | ||
|
||
COPY ./ancyterm.py /usr/local/bin/ancyterm | ||
RUN chmod +x /usr/local/bin/ancyterm | ||
|
||
VOLUME ["/pwn"] | ||
WORKDIR /pwn | ||
|
||
CMD ["/bin/bash"] | ||
FROM ubuntu:18.04 | ||
|
||
MAINTAINER Anciety <[email protected]> | ||
|
||
|
||
# Apt packages | ||
RUN dpkg --add-architecture i386 && \ | ||
apt-get update && \ | ||
apt-get -y install sudo wget cmake curl gcc socat\ | ||
software-properties-common && \ | ||
wget http://archive.ubuntu.com/ubuntu/pool/main/k/keyutils/libkeyutils1_1.5.9-9.2ubuntu2_amd64.deb && \ | ||
dpkg -i libkeyutils1_1.5.9-9.2ubuntu2_amd64.deb && \ | ||
add-apt-repository ppa:brightbox/ruby-ng && \ | ||
apt-get update && \ | ||
apt-get purge --auto-remove ruby && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -qy \ | ||
git nasm python3 \ | ||
build-essential \ | ||
python3-dev python3-pip python3-setuptools \ | ||
libc6-dbg \ | ||
libc6-dbg:i386 \ | ||
gcc-multilib \ | ||
gdb-multiarch \ | ||
glibc-source \ | ||
netcat \ | ||
ruby2.6 \ | ||
ruby2.6-dev \ | ||
lxterminal && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \ | ||
cd ~ && tar -xvf /usr/src/glibc/glib*.tar.xz | ||
|
||
# python/ruby packages & gdb-plugin | ||
RUN wget https://bootstrap.pypa.io/pip/3.5/get-pip.py && \ | ||
python3 get-pip.py && \ | ||
pip install --no-cache-dir LibcSearcher pwntools ropper ancypatch && \ | ||
gem install one_gadget seccomp-tools && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
# git installaing package | ||
RUN cd ~/ && \ | ||
git clone https://github.com/pwndbg/pwndbg.git && \ | ||
cd ~/pwndbg/ && ./setup.sh && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
RUN cd ~/ && \ | ||
git clone https://github.com/scwuaptx/Pwngdb.git && \ | ||
cp ~/Pwngdb/.gdbinit ~/ && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \ | ||
sed -i '1d' ~/.gdbinit && \ | ||
sed -i '1c source ~/pwndbg/gdbinit.py' ~/.gdbinit* | ||
|
||
ENV LANG C.UTF-8 | ||
|
||
COPY ./ancyterm.py /usr/local/bin/ancyterm | ||
RUN chmod +x /usr/local/bin/ancyterm | ||
|
||
VOLUME ["/pwn"] | ||
WORKDIR /pwn | ||
|
||
CMD ["/bin/bash"] |
This file contains hidden or 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,49 +1,49 @@ | ||
FROM ubuntu:18.10 | ||
|
||
MAINTAINER Anciety <[email protected]> | ||
|
||
# Apt packages | ||
RUN dpkg --add-architecture i386 && apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -qy \ | ||
git nasm python \ | ||
build-essential \ | ||
python-dev python-pip python-setuptools \ | ||
libc6-dbg \ | ||
libc6-dbg:i386 \ | ||
gcc-multilib \ | ||
gdb-multiarch \ | ||
gcc \ | ||
wget \ | ||
curl \ | ||
glibc-source \ | ||
cmake \ | ||
python-capstone \ | ||
socat \ | ||
netcat \ | ||
ruby \ | ||
ruby-dev \ | ||
lxterminal && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \ | ||
cd ~ && tar -xvf /usr/src/glibc/glibc-*.tar.xz | ||
|
||
# python/ruby packages & gdb-plugin | ||
RUN pip install --no-cache-dir pwntools ropper ancypatch && \ | ||
gem install one_gadget seccomp-tools && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
# git installaing package | ||
RUN cd ~/ && \ | ||
git clone https://github.com/pwndbg/pwndbg.git && \ | ||
cd ~/pwndbg/ && ./setup.sh && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
ENV LANG C.UTF-8 | ||
|
||
COPY ./ancyterm.py /usr/local/bin/ancyterm | ||
RUN chmod +x /usr/local/bin/ancyterm | ||
|
||
VOLUME ["/pwn"] | ||
WORKDIR /pwn | ||
|
||
CMD ["/bin/bash"] | ||
FROM ubuntu:18.10 | ||
MAINTAINER Anciety <[email protected]> | ||
# Apt packages | ||
RUN dpkg --add-architecture i386 && apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -qy \ | ||
git nasm python \ | ||
build-essential \ | ||
python-dev python-pip python-setuptools \ | ||
libc6-dbg \ | ||
libc6-dbg:i386 \ | ||
gcc-multilib \ | ||
gdb-multiarch \ | ||
gcc \ | ||
wget \ | ||
curl \ | ||
glibc-source \ | ||
cmake \ | ||
python-capstone \ | ||
socat \ | ||
netcat \ | ||
ruby \ | ||
ruby-dev \ | ||
lxterminal && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \ | ||
cd ~ && tar -xvf /usr/src/glibc/glibc-*.tar.xz | ||
# python/ruby packages & gdb-plugin | ||
RUN pip install --no-cache-dir pwntools ropper ancypatch && \ | ||
gem install one_gadget seccomp-tools && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
# git installaing package | ||
RUN cd ~/ && \ | ||
git clone https://github.com/pwndbg/pwndbg.git && \ | ||
cd ~/pwndbg/ && ./setup.sh && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
ENV LANG C.UTF-8 | ||
COPY ./ancyterm.py /usr/local/bin/ancyterm | ||
RUN chmod +x /usr/local/bin/ancyterm | ||
VOLUME ["/pwn"] | ||
WORKDIR /pwn | ||
CMD ["/bin/bash"] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this line of comment useful or we can just remove it away?