티스토리 뷰

Pwnable/FTZ level

[hackerschool FTZ] level6

PAPICO 2016. 12. 27. 22:21

level6을 풀어보겠다.




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




시작하자 마자 이상한게 뜬다.


  #####################################

  ##                                                         ##

  ##         텔넷 접속 서비스                          ##

  ##                                                         ##

  ##                                                         ##

  ##     1. 하이텔     2. 나우누리                     ##

  ##     3. 천리안                                         ##

  ##                                                         ##

  #####################################


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

Trying 210.120.128.180...


뭐지...?


........?


이유도 없이 접속이 종료되었다. 인터넷을 뒤져보니 Ctrl-c를 누르면 명령어를 입력할 수 있는 구문이 나온다고 하였다.


login as: level6

level6@192.168.164.129's password:



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




[level6@ftz level6]$


성공. ls -al을 입력해 파일과 디렉토리를 보면 


[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


역시 hint 파일이 있다. 그런데 password 파일이...?


[level6@ftz level6]$ cat password

Level7 password is "come together".


!!!! level6을 풀었다.

'Pwnable > FTZ level' 카테고리의 다른 글

[hackerschool FTZ] level8  (0) 2017.01.04
[hackerschool FTZ] level7  (2) 2017.01.03
[hackerschool FTZ] level5  (0) 2016.12.27
[hackerschool FTZ] level4  (0) 2016.12.26
[hackerschool FTZ] level3  (0) 2016.11.13
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함