Skip to content

Commit

Permalink
pwn(hijack): fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
s3nn authored Apr 27, 2024
1 parent 7e9dbad commit a20e75d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pwn/hijack/setup/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ COPY hijack .
COPY ld-linux-x86-64.so.2 .
COPY flag.txt .
COPY libc.so.6 .
RUN chmod 755 hijack
RUN chmod 755 ld-linux-x86-64.so.2
RUN chmod 755 libc.so.6


EXPOSE 1337
CMD ["socat", "-v","TCP-LISTEN:1337,reuseaddr,fork,su=root", "EXEC:'/root/hijack'"]

0 comments on commit a20e75d

Please sign in to comment.