-
[HackerSchool] Level2오래된/HackerSchool 2011. 4. 26. 07:42
[level2@ftz level2]$ cat hint
텍스트 파일 편집 중 쉘의 명령을 실행시킬 수 있다는데...[ Level2 hint ]
Level1 문제를 해결할 때 처럼 find 명령을 이용해서 level3 이 소유자 이면서 setuid 가 설정된 파일을 찾아낸다.
해당 파일을 실행 시켜보면 문서 편집툴이 실행 된다.
1. VIM
리눅스 시스템의 대표적인 문서 편집툴이다.
http://www.google.com/cse?cx=partner-pub-6915143203050178%3A3221174078&ie=UTF-8&q=vim
vim 에는 크게 input mode 와 command mode 가 존재한다.
http://www.google.com/cse?cx=partner-pub-6915143203050178%3A3221174078&ie=UTF-8&q=vim+command+mode&sa=%EA%B2%80%EC%83%89
'오래된 > HackerSchool' 카테고리의 다른 글
[HackerSchool] Level6 (0) 2011.04.27 [HackerSchool] Level5 (0) 2011.04.27 [HackerSchool] Level4 (0) 2011.04.27 [HackerSchool] Level3 (0) 2011.04.26 [HackerSchool] Level1 (0) 2011.04.26