Skip to content

Commit

Permalink
remove all about windows
Browse files Browse the repository at this point in the history
  • Loading branch information
wumingzhilian committed May 29, 2024
1 parent f71041f commit d238233
Show file tree
Hide file tree
Showing 22 changed files with 5 additions and 2,236 deletions.
5 changes: 1 addition & 4 deletions challenge/Dockerfile_amd64
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,6 @@ COPY services.d /opt/pwn.college/services.d
COPY setuid_interpreter.c /opt/pwn.college/setuid_interpreter.c
COPY bash.bashrc /opt/pwn.college/bash.bashrc
COPY vm /opt/pwn.college/vm
COPY windows /opt/pwn.college/windows
COPY .tmux.conf /opt/pwn.college/.tmux.conf
COPY .gdbinit /opt/pwn.college/.gdbinit
COPY .radare2rc /opt/pwn.college/.radare2rc
Expand All @@ -602,7 +601,6 @@ COPY --link --from=builder-pwn.college /opt/pwn.college /opt/pwn.college
RUN <<EOF
ln -sf /bin/bash /opt/pwn.college/ssh-entrypoint
ln -sf /opt/pwn.college/vm/vm /usr/local/bin/vm
ln -sf /opt/pwn.college/windows/windows /usr/local/bin/windows

ln -sf /home/hacker/.tmux.conf /root/.tmux.conf
ln -sf /home/hacker/.gdbinit /root/.gdbinit
Expand Down Expand Up @@ -723,8 +721,7 @@ RUN <<EOF
chmod u+s /opt/pwn.college/python \
/opt/pwn.college/bash \
/opt/pwn.college/sh \
/opt/pwn.college/vm/vm \
/opt/pwn.college/windows/windows
/opt/pwn.college/vm/vm

date > /opt/pwn.college/build
EOF
Expand Down
5 changes: 1 addition & 4 deletions challenge/Dockerfile_arm64
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,6 @@ COPY docker-entrypoint.sh /opt/pwn.college/docker-entrypoint.sh
COPY setuid_interpreter.c /opt/pwn.college/setuid_interpreter.c
COPY bash.bashrc /opt/pwn.college/bash.bashrc
COPY vm /opt/pwn.college/vm
COPY windows /opt/pwn.college/windows
COPY .tmux.conf /opt/pwn.college/.tmux.conf
COPY .gdbinit /opt/pwn.college/.gdbinit
#COPY .radare2rc /opt/pwn.college/.radare2rc
Expand All @@ -539,7 +538,6 @@ COPY --link --from=builder-pwn.college /opt/pwn.college /opt/pwn.college
RUN <<EOF
ln -sf /bin/bash /opt/pwn.college/ssh-entrypoint
ln -sf /opt/pwn.college/vm/vm /usr/local/bin/vm
ln -sf /opt/pwn.college/windows/windows /usr/local/bin/windows

ln -sf /home/hacker/.tmux.conf /root/.tmux.conf
ln -sf /home/hacker/.gdbinit /root/.gdbinit
Expand Down Expand Up @@ -656,8 +654,7 @@ RUN <<EOF
chmod u+s /opt/pwn.college/python \
/opt/pwn.college/bash \
/opt/pwn.college/sh \
/opt/pwn.college/vm/vm \
/opt/pwn.college/windows/windows
/opt/pwn.college/vm/vm

date > /opt/pwn.college/build
EOF
Expand Down
5 changes: 0 additions & 5 deletions challenge/docker-entrypoint.d/10_start_vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,3 @@ if ! find /challenge -name '*.ko' -exec false {} +
then
vm start
fi

if ! find /challenge -name '*.exe' -exec false {} +
then
windows start
fi
20 changes: 0 additions & 20 deletions challenge/services.d/desktop-win

This file was deleted.

Loading

0 comments on commit d238233

Please sign in to comment.