HITCON CTF 2019 Quals Writeup

この大会は2019/10/12 11:00(JST)~2019/10/14 11:00(JST)に開催されました。
今回もチームで参戦。結果は1440点で662チーム中47位でした。
Welcome問題しか解けていませんが、
自分で解けた問題をWriteupとして書いておきます。

Welcome (welcome)

sshで接続すると、viの画面になるので、抜けると、フラグが表示された。

$ ssh welcome@52.68.122.76
The authenticity of host '52.68.122.76 (52.68.122.76)' can't be established.
ECDSA key fingerprint is SHA256:tyMrlKbDsFPOJTzt4NyWXaFr8s6nJmOj9hWyAyDegLA.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '52.68.122.76' (ECDSA) to the list of known hosts.
welcome@52.68.122.76's password: 
Welcome to Ubuntu 18.04.3 LTS (GNU/Linux 4.15.0-1051-aws x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Sat Oct 12 02:02:16 UTC 2019

  System load:  0.59              Processes:           205
  Usage of /:   24.0% of 7.69GB   Users logged in:     2
  Memory usage: 6%                IP address for eth0: 172.31.23.249
  Swap usage:   0%

 * Kata Containers are now fully integrated in Charmed Kubernetes 1.16!
   Yes, charms take the Krazy out of K8s Kata Kluster Konstruction.

     https://ubuntu.com/kubernetes/docs/release-notes

3 packages can be updated.
0 updates are security updates.



The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.


The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

Last login: Sat Oct 12 02:02:13 2019 from 106.154.93.42


~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                              VIM - Vi IMproved                                
~                                                                               
~                               version 8.0.1453                                
~                           by Bram Moolenaar et al.                            
~           Modified by pkg-vim-maintainers@lists.alioth.debian.org             
~                 Vim is open source and freely distributable                   
~                                                                               
~                        Help poor children in Uganda!                          
~                type  :help iccf<Enter>       for information                  
~                                                                               
~                type  :q<Enter>               to exit                          
~                type  :help<Enter>  or  <F1>  for on-line help                 
~                type  :help version8<Enter>   for version info                 
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
hitcon{Exit Vim and enter HITCON CTF 2019!}
Connection to 52.68.122.76 closed.
hitcon{Exit Vim and enter HITCON CTF 2019!}