Pwnable

[HackerSchool] FTZ Level6 풀이

e_yejun 2019. 12. 2. 18:45

ID : level6

PW : what the hell

 

 

Level6 접속!

 

WARNING! The remote SSH server rejected X11 forwarding request.


hint - 인포샵 bbs의 텔넷 접속 메뉴에서 많이 사용되던 해킹 방법이다.

 

 

커서가 깜빡 거리는데 엔터를 눌러봅시다.

 

 

  #####################################
  ##                                                         ##
  ##                    텔넷 접속 서비스               ##
  ##                                                         ##
  ##                                                         ##
  ##          1. 하이텔        2. 나우누리             ##
  ##          3. 천리안                                   ##
  ##                                                         ##
  #####################################

접속하고 싶은 bbs를 선택하세요 : 

 

 

 

무엇을 선택하던지 연결이 끊기는 것을 알 수 있습니다.

 

그래서 접속하자마자 프로그램을 종료해봤다 -> Ctrl + C

 

 

 

[level6@ftz level6]$ 

 

 

응?

 

 

[level6@ftz level6]$ ls -al
total 104
drwxr-xr-x    4 root     level6       4096 Mar  5  2003 .
drwxr-xr-x   34 root     root         4096 Sep 10  2011 ..
-rw-------    1 root     root            1 Jan 15  2010 .bash_history
-rw-r--r--    1 root     root           12 Nov 24  2000 .bash_login
-rw-r--r--    1 root     root           24 Feb 24  2002 .bash_logout
-rw-r--r--    1 root     root          224 Feb 24  2002 .bash_profile
-rw-r--r--    1 root     root          163 Mar  5  2003 .bashrc
-rw-r--r--    1 root     root          400 Sep 24  2000 .cshrc
-rw-r--r--    1 root     root         4742 Sep 24  2000 .emacs
-r--r--r--    1 root     root          319 Sep 24  2000 .gtkrc
-rw-r--r--    1 root     root          100 Sep 24  2000 .gvimrc
-rw-r--r--    1 root     root           72 Nov 23  2000 hint
-rw-r--r--    1 root     root          226 Sep 24  2000 .muttrc
-rw-r-----    1 root     level6         36 Mar 24  2000 password
-rw-r--r--    1 root     root          367 Sep 24  2000 .profile
drwxr-xr-x    2 root     level6       4096 May 16  2005 public_html
drwxrwxr-x    2 root     level6       4096 Jan 14  2009 tmp
-rwxr-x---    1 root     level6      14910 Mar  5  2003 tn
-rw-r--r--    1 root     root            1 May  7  2002 .viminfo
-rw-r--r--    1 root     root         4145 Sep 24  2000 .vimrc
-rw-r--r--    1 root     root          245 Sep 24  2000 .Xdefaults

 

 

패스워드 파일을 읽어봅시다.

 

 

[level6@ftz level6]$ cat password 
Level7 password is

 

 

풀려버렸다.

다음 단계로 넘어갑시다.