Closed sunnyeo closed 6 years ago
About exploit-bug2 (exploit-service branch)
[*] Starting service from 2018s-gitctf-team5 (branch '8a0b39b831e3bb1efdc845658089c0ae66a36fd7')
Sending build context to Docker daemon 2.193MB
Step 1/33 : FROM debian:latest
---> 8626492fecd3
Step 2/33 : MAINTAINER k1rh4 <k1rh4.lee@gmail.com>
---> Using cache
---> 8e9e3881ec66
Step 3/33 : RUN sed -i 's/deb.debian.org/ftp.daumkakao.com/g' /etc/apt/sources.list
---> Using cache
---> d58cb6fc7f0d
Step 4/33 : RUN apt-get update
---> Using cache
---> f74c65dc9bfe
Step 5/33 : RUN apt-get install -y xinetd
---> Using cache
---> 845d6f85baa1
Step 6/33 : RUN apt-get install -y libsqlite3-dev
---> Using cache
---> ff66c0e5a29c
Step 7/33 : RUN apt-get install netcat -y
---> Using cache
---> df491e9bff6a
Step 8/33 : RUN apt-get install net-tools -y
---> Using cache
---> 93debded14f4
Step 9/33 : RUN apt-get install -y procps
---> Using cache
---> c472a4cdaf3f
Step 10/33 : RUN useradd -d /home/load load -s /bin/bash
---> Using cache
---> 88d6cfc64fa7
Step 11/33 : RUN mkdir /home/load
---> Using cache
---> 82e3bcea59ce
Step 12/33 : RUN chown -R root:load /home/load
---> Using cache
---> 5aa04924d1ab
Step 13/33 : RUN chmod 750 /home/load
---> Using cache
---> f51da5c3a761
Step 14/33 : ADD ./BUILD/prob /home/load/
---> Using cache
---> 5fa7dbc08b05
Step 15/33 : ADD ./BUILD/modify_usr /home/load/modify_usr
---> Using cache
---> 80d1f6379516
Step 16/33 : ADD ./BUILD/run.sh /home/load/run.sh
---> Using cache
---> 906323f975f1
Step 17/33 : ADD ./BUILD/usr.db /home/load/usr.db
---> Using cache
---> ba9251f94caa
Step 18/33 : RUN chown root:root /home/load/*
---> Using cache
---> bb326fbfe03f
Step 19/33 : RUN chmod 755 /home/load/run.sh
---> Using cache
---> 693348cb1317
Step 20/33 : RUN chmod 755 /home/load/modify_usr
---> Using cache
---> e9b9fc8366c5
Step 21/33 : RUN chmod 755 /home/load/prob
---> Using cache
---> 2b467833030a
Step 22/33 : RUN chmod 766 /home/load/usr.db
---> Using cache
---> e09ce7454b7a
Step 23/33 : RUN mkdir -p /var/ctf/
---> Using cache
---> 836e043d7be7
Step 24/33 : COPY ./flag /var/ctf/flag
---> 22ada0fbefc3
Step 25/33 : RUN chown root:load /var/ctf/flag
---> Running in 7b199db915f0
Removing intermediate container 7b199db915f0
---> 96fa59bbafef
Step 26/33 : RUN chmod 440 /var/ctf/flag
---> Running in 5da000e6b98f
Removing intermediate container 5da000e6b98f
---> a810d3573f81
Step 27/33 : ADD ./SRC/load.xinetd /etc/xinetd.d/load
---> 0fadfa964a79
Step 28/33 : WORKDIR /home/load
Removing intermediate container 13990d7c6e08
---> 99588fae2cbf
Step 29/33 : ADD ./SRC/start.sh /start.sh
---> e8159223f2eb
Step 30/33 : RUN chmod +x /start.sh
---> Running in a0381fa1d9cc
Removing intermediate container a0381fa1d9cc
---> 8a9e5b51b467
Step 31/33 : RUN su load
---> Running in c0ff64b21b48
Removing intermediate container c0ff64b21b48
---> 72030fc400c8
Step 32/33 : RUN /start.sh &
---> Running in 575c5e0ca4e8
Removing intermediate container 575c5e0ca4e8
---> 05b4d7a5be95
Step 33/33 : ENTRYPOINT /start.sh
---> Running in 6f3eec987dec
Removing intermediate container 6f3eec987dec
---> c322d13ba0f7
Successfully built c322d13ba0f7
Successfully tagged 2018s-gitctf-team5-8a0b39b831e3bb1efdc845658089c0ae66a36fd7:latest
3b788fad07aba7837292ea07157933a386758bf453dd52ac3dd8616d9fd89a31
[*] Started service successfully
[*] Running exploit
Can not show your exploit log because it cannot decode the content of exploit
[*] Failed to run exploit
==========================
[*] Exploit returned : None
[*] Solution flag : cB580Iju0k
[*] Exploit returned a wrong flag string
[*] The exploit did not work.
-----BEGIN PGP MESSAGE----- Version: GnuPG v1
hQEMAy8nZUIPGP0nAQf9G5+SE2NFX1iV7nlDms9CAKtyV3fELSYY0ldd8GGz+jHr e+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